Skip to content

About

Community task preset packages for HagiTask, with localized resources and validation tooling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

hagitask-community-packages

last commit website

The public collection of HagiTask community task definitions: ready-made task packages (manifest, panel, prompts, localized text and store page) that appear in the HagiTask catalog at https://tasks.hagicode.com once published. It is for people who want to contribute a task definition to the HagiTask community, and for anyone who wants to know what a community package contains.

The full contribution walkthrough is maintained in the HagiTask community guide.

Package layout

data/<taskId>/
  manifest.json
  frontend/
    panel.json
    commands.json                # optional
  backend/
    task-preset.json
    prompts.json
    templates/<locale>/
      system.md
      user.hbs
  locales/
    en-US.json
    zh-CN.json
  store-page/
    index.en-US.md
    index.zh-CN.md

The directory name is the canonical taskId and must match manifest.json's taskPresetId. The full ID rules, required resources, locale/store-page behavior, versioning, and Pull Request process are documented in the community guide.

Schema reference

The published @hagicode/hagitask CLI is the authoritative schema source. Package $schema values use the public distribution root:

https://tasks.hagicode.com/schemas/task-preset-plugin/<schema>.schema.json
Package file Schema URL suffix
manifest.json manifest.schema.json
frontend/panel.json panel.schema.json
frontend/commands.json commands.schema.json
backend/task-preset.json task-preset.schema.json
backend/prompts.json prompt-package.schema.json
locales/<locale>.json locales.schema.json

Validate locally

pnpm install
pnpm run validate

Run the validator tests when changing validation tooling:

pnpm test

Fix validation errors in data/<taskId>/. Do not remove $schema references, relax the contract locally.

Enabled task target selections may use owner-project-repositories, vault-registry, or project-registry. Unknown scope sources fail validation with a selection-specific diagnostic before publication.

Rules

  • Do not copy or edit local schema files; schema changes belong in HagiTask and its published CLI.
  • Bump manifest.json's semantic version for every published package change.
  • Submit package Pull Requests to this repository, not HagiTask Site or HagiTask.

For the complete creation, validation, publishing, and troubleshooting flow, follow the HagiTask community guide.

About

Community task preset packages for HagiTask, with localized resources and validation tooling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages