| name | 07-tasks |
| description | Use this skill when creating, updating, or continuing tasks under the repository's tasks/ directory. Covers task structure, document set, lifecycle phases, status tracking, and task templates. |
Task management
Use this skill when work needs to be recorded under tasks/.
Quick entry points
Directory rules
The tasks/ layout has two independent axes:
Lifecycle axis — tracks active work:
tasks/todo/ — ideas / not yet started
tasks/pending/ — work in progress or pending start
- Acceptance happens via a GitHub PR. There is no separate
done/ directory; completed work is archived by git history once the branch is merged.
Review-batch axis — global review passes:
tasks/review-N-<slug>/ (e.g., review-2/, review-dead-code/) — one file per finding from a global review pass; consumed by 04-review/fix-review-issue.skill; finding files are deleted as each issue is closed.
Task granularity is flexible: a single file <task-name>.md or a separate directory works. Use kebab-case for names (e.g., log-tracing-optimization); for complex tasks (multi-document set), use a directory.
Task profiles
Real tasks come in four shapes. Pick the closest profile when creating a new task folder; the prescribed-document set below applies only to feature tasks.
| Profile | Required files | Optional files | When to use | Example |
|---|
feature | <name>.md (Meta + scope) | Full 7-doc set: 00-context.md ... 07-changelog.md | Multi-module changes, new features, design needed | tasks/todo/doc-standards-alignment/ |
investigation | README.md | 01-...07- numbered reports; optional issues/ pool | Pure research, competitor analysis, scoping work | tasks/todo/dsl-vm-rhai-research/ |
review-batch | INDEX.md | One file per finding: <area>-NN-<slug>.md | Output of a global review pass; consumed by 04-review/fix-review-issue.skill | tasks/review-2/, tasks/review-dead-code/ |
docs / single-file | <name>.md | none | Small docs alignment, single-feature TODO, hotfix tracking | tasks/pending/cel-validation-rules.md |
The phase pruning table below applies primarily to feature profile. For investigation, skip phases 4 (Test) and 5 (Review) — the deliverable is the report, not code. For review-batch, the entire batch is itself a workflow output; no per-finding phases.
Task document set
The document set below describes the feature profile's recommended files. Other profiles use fewer documents — see Task profiles above.
Each task directory contains the following documents, created on demand (only the main task file is required):
tasks/pending/<task-name>/
├── <task-name>.md # [required] Main task file: meta, requirements, scope, AI guide summary
├── 00-context.md # [recommended] Related Skills index: list of skill paths used by this task
├── 01-design.md # [recommended] Design doc: architecture, interfaces, data flow
├── 02-implementation.md # [recommended] Implementation and tests: code plan, test strategy, coverage assessment
├── 03-subtasks.md # [as needed] Subtask breakdown and progress tracking
├── 04-todo.md # [as needed] To-do items: scattered open items
├── 05-issues.md # [as needed] Key issues: blockers, critical issues that can't be solved immediately
├── 06-decisions.md # [as needed] Decision log: important decisions and reasons
└── 07-changelog.md # [as needed] Changelog: key milestones and change records
| File | Purpose | When to create | Notes |
|---|
<task-name>.md | Task entry, meta + AI guide summary | Required when task starts | AI reads this file first when picking up the task |
00-context.md | List skill paths used by the task so AI can locate quickly during coding | Before entering the implementation phase | Recommended; ensures AI has paths to follow |
01-design.md | Architecture, interface design, data flow, config changes | Design phase | Technical blueprint for large tasks |
02-implementation.md | Code plan + test strategy + coverage assessment (merged because they are tightly coupled) | Implementation phase | Recommended |
03-subtasks.md | Subtask breakdown + per-subtask status | When changes exceed 3 modules or 5 files | Includes status, branch, output fields |
04-todo.md | Scattered open items that don't form a separate subtask | As needed | Difference from 03-subtasks.md: no clear deliverable |
05-issues.md | Blockers / critical issues that can't be solved right now | Create as soon as a blocker is found | As needed; includes severity, workaround, and required fields |
06-decisions.md | Important technical decisions and trade-offs | When the main file overflows with decisions | As needed |
07-changelog.md | Key milestones | Long-running tasks | Not needed for short tasks |
Main task file template
# <Task title>
## Meta
| Key | Value |
|-----|-------|
| Created | YYYY-MM-DD |
| Status | pending / in-progress / completed / blocked |
| Type | feature / bugfix / refactor / docs / config |
| Priority | P0 / P1 / P2 / P3 |
| Issue | #xxx or N/A |
## AI guide summary
> One paragraph stating: what this task does, why, and the core difficulty.
> AI reads this paragraph first to understand the whole task.
## Requirements
(Original requirements, verbatim or summarized)
## Scope
### In scope
- ...
### Out of scope
- ...
## Document index
| Document | Status | Notes |
|------|------|------|
| 00-context.md | done | Related skills index |
| 01-design.md | done | Overall design |
| 02-implementation.md | in-progress | Implementation and tests |
| 03-subtasks.md | in-progress | Subtask progress |
| 04-todo.md | — | Not created |
| 05-issues.md | warning | 1 unresolved |
| 06-decisions.md | — | Not created |
| 07-changelog.md | — | Not created |
## Affected modules
| Module | Impact |
|--------|--------|
## Decision log
| Date | Decision | Reason |
|------|----------|--------|
Lifecycle phases
| Phase | Purpose | Skills to load | Documents produced |
|---|
| 1 Analysis | Understand requirements, identify affected modules | 01-architecture/SKILL.md | 00-context.md |
| 2 Design | Define interfaces, data flow, config changes | 01-architecture/, 02-features/SKILL.md | 01-design.md |
| 3 Implementation | Code per the design | 01-architecture/ (dev guide), 02-features/ (config schema), 03-coding/SKILL.md | 02-implementation.md, 03-subtasks.md |
| 4 Test | Verify correctness | 05-testing/SKILL.md | Update test coverage in 02-implementation.md |
| 5 Review | Code review | 04-review/SKILL.md | 06-decisions.md |
Phase pruning
| Task type | Required phases | May skip |
|---|
| New feature | All | — |
| Bug fix | 1, 3, 4 | 2 (if the fix is obvious), 5 |
| Refactor | 1, 2, 3, 5 | 4 (if no external change) |
| Docs only | 3 | 1, 2, 4, 5 |
| Config change | 1, 3, 4 | 2, 5 |
| Investigation-only | 1, 2 | 3 (Implementation), 4 (Test) ✗, 5 (Review) ✗ — deliverable is the report |
| Hotfix | 1, 3, 4, 5 | 2 may collapse into 1 if the fix is self-contained |
Document creation rules
- Create on demand: only create documents for the current phase; do not pre-create empty files
- Main file first: every task has at least the main task file
<task-name>.md
- Context first: before entering the implementation phase,
00-context.md should be ready so AI has paths to follow
- Subtask threshold: when changes are estimated to exceed 3 modules or 5 files, create
03-subtasks.md to break them down
- Record issues immediately: write blockers into
05-issues.md as soon as they appear; don't defer
Status values
pending — not started
in-progress — in progress
completed — completed
blocked — waiting for a dependency
skipped — skipped (must state the reason)
Implementation-step checkpoints
Task-completion checklist
| Output | Target location | When |
|---|
| Reusable patterns | skills/ | Solution is generally applicable |
| Review findings | skills/04-review/ | Project-specific reusable findings |
| User docs | docs/en/, docs/zh-CN/ | User-visible behavior change |
| Architecture decision | skills/01-architecture/ | System-design change |
| New resource/plugin docs | docs/*/dev-guide/ | New resource or plugin added |
Default workflow
- Check whether the task already exists under
tasks/pending/ or tasks/todo/
- Create the task directory or single file and write the main task file
- Create
00-context.md listing related skill paths
- For new-feature tasks, prefer new_feature_work_flow.skill as the execution template
- Advance through the lifecycle phases, creating documents on demand
- Write blockers into
05-issues.md as soon as they appear
- Update the document index and status in the main task file as work progresses
- Open a GitHub PR for acceptance when the implementation is ready; the branch is archived in git history once merged