task-pattern
Guidance for writing or refactoring agents and skills using structured task patterns. Use when creating new agents or skills, or refactoring existing ones.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidance for writing or refactoring agents and skills using structured task patterns. Use when creating new agents or skills, or refactoring existing ones.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Start autonomous story implementation
Releases a new version of SAGA (plugin + dashboard). Bumps version numbers, updates CHANGELOG.md, publishes dashboard to npm, and creates GitHub release. Use when the user says 'release', 'publish', 'new version', or 'version bump'.
Collaboratively plan a goal, then create stories (standalone or epic-based)
Create a new epic definition with vision and architecture
Generate stories from an epic
Initialize .saga/ directory structure for SAGA epic/story workflow
| name | task-pattern |
| description | Guidance for writing or refactoring agents and skills using structured task patterns. Use when creating new agents or skills, or refactoring existing ones. |
| allowed-tools | Read, Edit, Write, Glob, Grep |
Patterns and best practices for writing or refactoring agents and skills using structured task tracking.
When an agent or skill has multiple steps, define them in a structured table using TaskCreate fields:
| Column | Description | Required |
|---|---|---|
| Subject | Brief task title (imperative form) | Yes |
| Description | Complete instructions to execute the task | Yes |
| Active Form | Present continuous form for spinner display | Yes |
| Blocked By | Tasks that must complete first | No |
| Blocks | Tasks waiting on this one | No |
| Subject | Description | Active Form | Blocked By | Blocks |
|---------|-------------|-------------|------------|--------|
| Read config | Read `config.json` from project root using the Read tool. Expected structure: `{ "name": string, "version": string, "targets": string[] }`. If file doesn't exist, report error and stop. | Reading config | - | Validate config |
| Validate config | Check that all required fields exist: (1) `name` must be non-empty string, (2) `version` must match semver format `X.Y.Z`, (3) `targets` must be non-empty array. Report all validation errors before stopping. | Validating config | Read config | Apply changes |
| Apply changes | For each path in `targets` array: read the file, replace `{{NAME}}` with config name and `{{VERSION}}` with config version, write the file back. Log each file updated. | Applying changes | Validate config | - |
The description column must be self-contained with ALL information needed to execute the task:
Never reduce or summarize existing content when converting to task table format. If the original documentation had examples, include them. If it had explanations, keep them.
References to external files (other documents in the repo) are acceptable, but never reference sections within the same file.
Design dependencies to maximize parallel execution where possible:
┌─────────┐ ┌─────────┐ ┌─────────┐
│ Task A │ │ Task B │ │ Task C │ ← Wave 1 (parallel)
└────┬────┘ └────┬────┘ └────┬────┘
│ └─────┬──────┘
│ │
▼ ▼
┌─────────┐ ┌─────────┐
│ Task D │ │ Task E │ ← Wave 2 (parallel)
└────┬────┘ └────┬────┘
└────────┬────────┘
│
▼
┌─────────┐
│ Task F │ ← Wave 3
└─────────┘
[see X](#section) within same file)