--- name: taskwarrior-task-management description: "Manage Taskwarrior tasks scoped to the current git project. Use when asked to list, add, start, complete, annotate, or organize tasks for the project. Prefer compaction over starting a new context when beginning a new task. May start work in parallel (e.g. multiple sub-agents on different tasks) as long as agents do not conflict with each other. Triggers on: tasks, todo, task list, pick next task, what's next." --- # Taskwarrior Task Management Taskwarrior tasks are scoped to the current git repository. **Load only the files you need** for the current action so the whole skill does not need to be in context. Taskwarrior numeric IDs are **ephemeral working-set indices** and may be renumbered; this skill treats **UUIDs as the stable identifiers** for tasks. Use numeric IDs only within a single “report → immediate command” flow, and use UUIDs for anything that must survive across sessions, agents, or reports. ## Context and compaction When beginning a new task, **prefer running a compaction** over starting a completely new context. If starting a new context for a new task is not possible, run a compaction instead. ## When to Use - User asks to **list**, **add**, **start**, **complete**, **annotate**, or **organize** tasks for the project. - Triggers: *tasks*, *todo*, *task list*, *pick next task*, *what's next*. - You may start work **in parallel** (e.g. multiple sub-agents on different tasks) as long as agents do not conflict with each other. ## When to load what | Action | Load | |--------|------| | **Create task** | `references/00-context.md` + `references/1-create-task.md` (include refs to all context required) | | **Start task** | `references/00-context.md` + `references/2-start-task.md` (start with fresh context; use task refs) | | **Complete task** | `references/00-context.md` + `references/3-complete-task.md` | | **Annotate / update task** | `references/00-context.md` + `references/4-annotate-update-task.md` | | **Review / overview tasks** | `references/00-context.md` + `references/5-review-overview-tasks.md` | Always load `references/00-context.md` first (project name resolution and global rules); then load the one action file that matches what you are doing. ## Task lifecycle (overview) 1. Create task → 2. Start task → 3. Annotate as you go → 4. **Completion criteria** (best practices, compilable, all tests pass, negative tests where plausible) → 5. Sub-agent review (fresh context) → 6. Main agent addresses all review comments → 7. **Repeat sub-agent review + fixes until no issues are found** → 8. **Commit all changes to git** → 9. Complete task → 10. **Automatically progress to the next task in the list** (when all tests and required sub-agent review(s) pass). A task is not done until criteria are met, all review comments are addressed, **and the sub-agent review cycle has completed with no remaining issues**, and all changes are committed to git. After completing a task, start the next task in the list (if any). Details are in `references/3-complete-task.md`.