[!IMPORTANT] Implement an approved feature plan with fresh-context slices, TDD, evidence, and PR-ready output.
Instructions
When the user asks to perform this workflow, execute the following steps:
Implement Feature WorkflowGoal: Build an approved feature through TDD slices and route completed work to verification.
Steps
-
Load plan:
- PRD or ticket
- Technical design if present
- Implementation plan
- Matched framework and common skills
-
Prepare workspace:
- Confirm clean or intentionally dirty git state.
- Create branch or worktree only when project workflow expects it.
- Initialize or update
task.mdwith small vertical slices.
-
Implement slices:
- For each slice, write or update the failing test first.
- Implement the smallest passing code.
- Refactor without expanding scope.
- Keep slice evidence near the task item.
- Use sub-agents only when the runtime supports them and ownership is disjoint.
-
Maintain context hygiene:
- Start fresh context for large independent slices when possible.
- Preserve decisions in
task.mdorimplementation-plan-[slug].md. - Avoid carrying raw logs; summarize failures and fixes.
-
Prepare handoff:
- Run local automated checks.
- Draft
walkthrough.mdwith evidence placeholders or captured proof. - Route next step to
verify-work.
Output Template
# Implementation Handoff: [Name]
## Completed Slices
## Tests Run
## Changed Contracts
## Evidence
## Known Risks
## Next Workflow
verify-work