diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-21 16:14:03 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-21 16:14:03 +0200 |
| commit | e91df0ffec673ed2e2c93424c51cb3ebabc5fe05 (patch) | |
| tree | 8c25850fa2bd01f4a2db5d6caa667d5d2ec48f16 /prompts/skills/project-taskwarrior/3-complete-task.md | |
| parent | d7eaade8a45bec55c274f4683ad209e94c0f3308 (diff) | |
add project taskwarrior
Diffstat (limited to 'prompts/skills/project-taskwarrior/3-complete-task.md')
| -rw-r--r-- | prompts/skills/project-taskwarrior/3-complete-task.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/prompts/skills/project-taskwarrior/3-complete-task.md b/prompts/skills/project-taskwarrior/3-complete-task.md new file mode 100644 index 0000000..e1dd337 --- /dev/null +++ b/prompts/skills/project-taskwarrior/3-complete-task.md @@ -0,0 +1,33 @@ +# Complete task + +Use with `00-context.md`. Project name and global rules apply. + +## Completion criteria (required before “done”) + +A task is **not** considered done until all of the following are true: + +- **Best practices** — the codebase (or changed parts) follows the project’s best practices. +- **Compilable** — all code compiles successfully (e.g. full build succeeds). +- **Tests pass** — all tests pass (e.g. full test suite green). + +If any of these fail, fix the issues and recheck. Do not mark the task complete until they are all met. + +## Before marking complete (after criteria are met) + +**Once the completion criteria above are met:** + +1. Spawn a **sub-agent** with **fresh context** (no prior conversation). +2. Sub-agent reviews the diff, code, or deliverables for the task and **reports back** to the main agent (review comments, suggestions, issues). +3. Main agent **addresses all review comments** from the sub-agent — no exceptions. Fix or respond to every point. +4. If changes were made, repeat the sub-agent review until the main agent has addressed all comments. +5. Only then: + +```bash +task <id> done +``` + +## Conventions + +- A task is not done until: best practices met, code compiles, all tests pass, **and** all sub-agent review comments have been addressed. +- Complete with `task <id> done` only after completion criteria and the sub-agent review (and all follow-up fixes) are satisfied. +- When completing a task, note which tasks were unblocked (dependents that became ready), if any. |
