| name | planning |
| description | Use when you have a spec or requirements for a multi-step task. Covers both writing implementation plans and executing them task-by-task with review checkpoints. |
Planning & Execution
Part 1: Writing the Plan
Write comprehensive implementation plans assuming the engineer has zero codebase context and questionable taste. Document everything: which files to touch, complete code, testing, verification commands.
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md
Plan Document Header
# [Feature Name] Implementation Plan
**Goal:** [One sentence]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies]
---
Bite-Sized Task Granularity
Each step is one action (2-5 minutes):
- "Write the failing test" — step
- "Run it to confirm it fails" — step
- "Implement minimal code to pass" — step
- "Run tests to confirm pass" — step
- "Commit" — step
Task Structure
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py`
- Test: `tests/exact/path/to/test.py`
**Step 1: Write the failing test**
[Complete code]
**Step 2: Run test to verify it fails**
Run: `exact command`
Expected: FAIL with "specific message"
[Complete code]
Run:
Expected: PASS