// Creates structured implementation plans with phase prompts for Claude Code execution. Use when building complex projects, creating implementation roadmaps, breaking work into phases, or generating Claude Code prompts for multi-step development. Triggers include "create implementation plan", "phase this project", "create phases for", "plan the build", "phased implementation", "break this into phases".
| name | phased-planning |
| description | Creates structured implementation plans with phase prompts for Claude Code execution. Use when building complex projects, creating implementation roadmaps, breaking work into phases, or generating Claude Code prompts for multi-step development. Triggers include "create implementation plan", "phase this project", "create phases for", "plan the build", "phased implementation", "break this into phases". |
Creates comprehensive phased implementation plans that generate copy-paste ready prompts for Claude Code execution, with success criteria and completion templates for each phase.
Before creating phases, gather information:
1. Identify all components to build
2. Map dependencies between components
3. Determine optimal build order
4. Estimate phase complexity (3-12 tasks each)
Generate PLANNING/IMPLEMENTATION-MASTER-PLAN.md:
# [PROJECT NAME] - Implementation Master Plan
**Created:** [DATE]
**Project Path:** [PATH]
**Runtime:** [TECHNOLOGY]
---
## Pre-Implementation Checklist
### ✅ Documentation (Complete)
| Component | Location | Status |
|-----------|----------|--------|
| [Doc 1] | [path] | ✅ |
### ⏳ Code Implementation (To Build)
| Component | Location | Status |
|-----------|----------|--------|
| [Component 1] | [path] | ⏳ |
---
## Implementation Phases Overview
| Phase | Name | Files | Dependencies |
|-------|------|-------|--------------|
| 0 | Project Setup | package.json, tsconfig | None |
| 1 | Core Infrastructure | src/lib/* | Phase 0 |
| ... | ... | ... | ... |
For each phase, create PLANNING/implementation-phases/PHASE-X-PROMPT.md:
# Phase [X]: [NAME]
## Objective
[One sentence describing what this phase accomplishes]
---
## Prerequisites
- Phase [X-1] complete
- [Other requirements]
---
## Context Files to Read
[file1.md] [file2.md]
---
## Tasks
### 1. [Task Name]
[Description]
```[language]
// Complete code specification
...
Create PHASE-[X]-COMPLETE.md and commit:
git add -A
git commit -m "Phase [X]: [NAME] - [summary]"
### Phase 4: Create Quick-Start Prompt
Generate `CLAUDE-CODE-PHASE-0.md` at project root for easy copy-paste into Claude Code.
---
## Standard Phase Types
| Phase | Name | Purpose |
|-------|------|---------|
| 0 | Project Setup | package.json, tsconfig, dependencies, structure |
| 1 | Core Infrastructure | Config, logging, utilities, base clients |
| 2 | Framework | Base classes, types, patterns |
| 3 | Core Logic | Main business logic implementation |
| 4-N | Feature Phases | Individual features/components |
| Final | Integration | CLI, tests, end-to-end verification |
---
## File Organization
PROJECT/ ├── PLANNING/ │ ├── IMPLEMENTATION-MASTER-PLAN.md │ ├── PHASE-0-COMPLETE.md (created after phase 0) │ ├── PHASE-1-COMPLETE.md (created after phase 1) │ └── implementation-phases/ │ ├── PHASE-0-PROMPT.md │ └── PHASE-1-PROMPT.md ├── CLAUDE-CODE-PHASE-0.md (quick-start prompt) └── CLAUDE.md (updated with phase tracking)
**Note:** All `PHASE-X-COMPLETE.md` files go in `PLANNING/` directory, NOT in `implementation-phases/`.
---
## Phase Sizing Guidelines
| Complexity | Tasks | Approx. Time |
|------------|-------|--------------|
| Simple | 3-5 tasks | 10-20 min |
| Medium | 5-8 tasks | 20-40 min |
| Complex | 8-12 tasks | 40-60 min |
**Rule:** If >12 tasks, split into sub-phases.
---
## Completion Template
```markdown
# Phase [X]: [NAME] - COMPLETE
**Completed:** [DATE]
## Deliverables
- [x] [File/feature 1]
- [x] [File/feature 2]
## Verification
- `[command 1]`: ✅
- `[command 2]`: ✅
## Notes
[Any issues or deviations]
## Next Phase
Proceed to Phase [X+1]: [NAME]
ALWAYS run with --dangerously-skip-permissions for uninterrupted builds.
Before executing ANY phase task, verify autonomous mode:
# Check if running in dangerously-skip-permissions mode
# If user approval prompts appear, STOP and remind user to restart with:
claude --dangerously-skip-permissions
cd [project]
claude --dangerously-skip-permissions
# In Claude Code - AUTONOMOUS BUILD PROMPT:
"Read PLANNING/implementation-phases/PHASE-0-PROMPT.md and execute all tasks.
After completing each phase, automatically proceed to the next phase prompt
until all phases are complete. Create PLANNING/PHASE-X-COMPLETE.md after each
phase and git commit your changes. Do not wait for user approval between phases."
After completing a phase:
PLANNING/PHASE-X-COMPLETE.mdIf NOT in --dangerously-skip-permissions mode:
⚠️ NOT IN AUTONOMOUS MODE
Please restart Claude Code with:
claude --dangerously-skip-permissions
Then paste the build prompt again.
PLANNING/PHASE-X-COMPLETE.md from templateWorks with: