3.5 KiB
3.5 KiB
Workflow: Create Roadmap
<required_reading> Read these files NOW:
- templates/roadmap.md
- Read
.planning/BRIEF.mdif it exists </required_reading>
If no brief exists: Ask: "No brief found. Want to create one first, or proceed with roadmap?"
If proceeding without brief, gather quick context:
- What are we building?
- What's the rough scope?
Good phases are:
- Coherent: Each delivers something complete
- Sequential: Later phases build on earlier
- Sized right: 1-3 days of work each (for solo + Claude)
Common phase patterns:
- Foundation → Core Feature → Enhancement → Polish
- Setup → MVP → Iteration → Launch
- Infrastructure → Backend → Frontend → Integration
"Here's how I'd break this down:
- [Phase name] - [goal]
- [Phase name] - [goal]
- [Phase name] - [goal] ...
Does this feel right? (yes / adjust)"
If "adjust": Ask what to change, revise, present again.
After phases confirmed:Use AskUserQuestion:
- header: "Ready"
- question: "Ready to create the roadmap, or would you like me to ask more questions?"
- options:
- "Create roadmap" - I have enough context
- "Ask more questions" - There are details to clarify
- "Let me add context" - I want to provide more information
Loop until "Create roadmap" selected.
```bash mkdir -p .planning/phases ``` Use template from `templates/roadmap.md`.Write to .planning/ROADMAP.md with:
- Phase list with names and one-line descriptions
- Dependencies (what must complete before what)
- Status tracking (all start as "not started")
Create phase directories:
mkdir -p .planning/phases/01-{phase-name}
mkdir -p .planning/phases/02-{phase-name}
# etc.
git add .planning/
git commit -m "$(cat <<'EOF'
docs: initialize [project-name] ([N] phases)
[One-liner from BRIEF.md]
Phases:
1. [phase-name]: [goal]
2. [phase-name]: [goal]
3. [phase-name]: [goal]
EOF
)"
Confirm: "Committed: docs: initialize [project] ([N] phases)"
``` Project initialized: - Brief: .planning/BRIEF.md - Roadmap: .planning/ROADMAP.md - Committed as: docs: initialize [project] ([N] phases)What's next?
- Plan Phase 1 in detail
- Review/adjust phases
- Done for now
</step>
</process>
<phase_naming>
Use `XX-kebab-case-name` format:
- `01-foundation`
- `02-authentication`
- `03-core-features`
- `04-polish`
Numbers ensure ordering. Names describe content.
</phase_naming>
<anti_patterns>
- Don't add time estimates
- Don't create Gantt charts
- Don't add resource allocation
- Don't include risk matrices
- Don't plan more than 6 phases (scope creep)
Phases are buckets of work, not project management artifacts.
</anti_patterns>
<success_criteria>
Roadmap is complete when:
- [ ] `.planning/ROADMAP.md` exists
- [ ] 3-6 phases defined with clear names
- [ ] Phase directories created
- [ ] Dependencies noted if any
- [ ] Status tracking in place
</success_criteria>