.claude/skills/workflow/complete-task/SKILL.md
Steps to mark a task completed with required comments, then check parent story advancement. Enforces completion gate: implementation + testing comments required.
npx skillsauth add brdohman/agile-maestro complete-taskInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Canonical reference: Protocols 3 and 4 in
.claude/rules/global/task-state-updates.md. This skill is a quick-reference summary.
Before setting status: "completed", verify metadata.comments contains BOTH:
| Comment | type field | Required |
|---------|-------------|----------|
| What was built, files changed, local_checks verified | "implementation" | Always |
| Test file, test cases, coverage | "testing" | Unless testable: false |
If either is missing — HARD STOP. Do not set status to completed.
In a single TaskUpdate call, set status: "completed" and include both comments.
Tasks do NOT get review_stage or review_result — only Stories and Epics use those fields.
After completing a task:
TaskGet on the parent storystatus: "completed"review_stage: "code-review", review_result: "awaiting", add a "handoff" comment.claude/rules/global/task-state-updates.md.claude/rules/global/task-state-updates.mdagent-shared-contexttesting
XCTest patterns for macOS Swift apps. Unit tests, async tests, Core Data tests, mock patterns, and assertion reference. Use when writing or reviewing tests.
tools
How to transition workflow state between review stages. Rules for setting review_stage and review_result fields on Stories and Epics.
documentation
Comment structure and rules for task workflow updates. Use when adding any comment to a task during implementation, review, or fix cycles.
testing
Validate task/story/epic/bug/techdebt metadata against schema v2.0. Run after TaskCreate or TaskUpdate to verify compliance. Returns pass/fail with actionable details.