Roadmap Builder
Create execution-ready roadmap through one-question-at-a-time dialogue.
Process
Ask questions one at a time. Use AskUserQuestion tool with clear options.
Questions Sequence
1. Project name?
- Free text input
- Example: "Calculator CLI"
2. Programming language?
- Options: Python, Go, Rust, TypeScript, Java, Other
- If Other: ask for specific language
3. Test command?
- Show common options for selected language:
- Python:
pytest tests/ -v
- Go:
go test ./... -race -cover
- Rust:
cargo test
- TypeScript:
npm test or jest
- Java:
mvn test or gradle test
- Allow custom command
4. Lint command?
- Show common options for selected language:
- Python:
ruff check . or pylint
- Go:
golangci-lint run ./...
- Rust:
cargo clippy --all-targets
- TypeScript:
eslint .
- Java:
mvn checkstyle:check
- Allow custom command
5. One-sentence project goal?
- Free text input
- Example: "Build a command-line calculator with expression parsing"
6. How many phases?
- Options: 2, 3, 4, 5, 6, More than 6
- Recommend: 3-6 phases for most projects
7-N. For each phase, ask:
- Phase name? (e.g., "Foundation", "Core Feature", "Integration")
- Phase goal? (one sentence, what this phase accomplishes)
- Success criteria? (2-4 measurable outcomes)
- Ask: "What are 2-4 things that must work when this phase is done?"
- Examples: "Calculator.add() works", "Tests pass", "CLI parses input"
Build Roadmap YAML
After gathering all info, create roadmap at:
docs/roadmaps/[YYYY-MM-DD]-[project-name-slug]-roadmap.yml
Format:
proj:
name: "[Project Name]"
lang: "[Language]"
test: "[Test Command]"
lint: "[Lint Command]"
goal: "[One-sentence goal]"
phases:
- id: 0
name: "[Phase Name]"
goal: "[Phase goal]"
success:
- "[Success criterion 1]"
- "[Success criterion 2]"
- "[Success criterion 3]"
- id: 1
name: "[Phase Name]"
goal: "[Phase goal]"
success:
- "[Success criterion 1]"
- "[Success criterion 2]"
Validate Roadmap
Check:
- All required fields present
- Phase IDs sequential (0, 1, 2, ...)
- Each phase has 2-4 success criteria
- Valid YAML syntax
Output
Display:
✅ Roadmap created: docs/roadmaps/[filename]
Project: [name]
Language: [lang]
Phases: [count]
To execute:
/autonomous-dev docs/roadmaps/[filename]
To review first:
cat docs/roadmaps/[filename]
Tips for Good Roadmaps
Phase granularity:
- Each phase: 2-8 hours of work
- Too small: overhead of phase management
- Too large: hard to review, risky
Success criteria:
- Specific and measurable
- Testable (can verify with command)
- Clear definition of done
Phase sequencing:
- Foundation first (structure, utilities)
- Core features next (main functionality)
- Integration/polish last (CLI, API, docs)
Examples:
Good success criteria:
- "Calculator.add() returns correct sum"
- "Parser handles nested parentheses"
- "CLI prints result to stdout"
Bad success criteria:
- "Code is good" (not measurable)
- "Everything works" (not specific)
- "Ready for production" (ambiguous)
1---2name: roadmap-builder3description: Interactive roadmap creation through structured questioning, optimized for ephemeral execution4---56# Roadmap Builder78Create execution-ready roadmap through one-question-at-a-time dialogue.910## Process1112Ask questions one at a time. Use AskUserQuestion tool with clear options.1314### Questions Sequence1516**1. Project name?**1718- Free text input19- Example: "Calculator CLI"2021**2. Programming language?**2223- Options: Python, Go, Rust, TypeScript, Java, Other24- If Other: ask for specific language2526**3. Test command?**2728- Show common options for selected language:29 - Python: `pytest tests/ -v`30 - Go: `go test ./... -race -cover`31 - Rust: `cargo test`32 - TypeScript: `npm test` or `jest`33 - Java: `mvn test` or `gradle test`34- Allow custom command3536**4. Lint command?**3738- Show common options for selected language:39 - Python: `ruff check .` or `pylint`40 - Go: `golangci-lint run ./...`41 - Rust: `cargo clippy --all-targets`42 - TypeScript: `eslint .`43 - Java: `mvn checkstyle:check`44- Allow custom command4546**5. One-sentence project goal?**4748- Free text input49- Example: "Build a command-line calculator with expression parsing"5051**6. How many phases?**5253- Options: 2, 3, 4, 5, 6, More than 654- Recommend: 3-6 phases for most projects5556**7-N. For each phase, ask:**5758- **Phase name?** (e.g., "Foundation", "Core Feature", "Integration")59- **Phase goal?** (one sentence, what this phase accomplishes)60- **Success criteria?** (2-4 measurable outcomes)61 - Ask: "What are 2-4 things that must work when this phase is done?"62 - Examples: "Calculator.add() works", "Tests pass", "CLI parses input"6364### Build Roadmap YAML6566After gathering all info, create roadmap at:67`docs/roadmaps/[YYYY-MM-DD]-[project-name-slug]-roadmap.yml`6869Format:7071```yaml72proj:73 name: "[Project Name]"74 lang: "[Language]"75 test: "[Test Command]"76 lint: "[Lint Command]"77 goal: "[One-sentence goal]"7879phases:80 - id: 081 name: "[Phase Name]"82 goal: "[Phase goal]"83 success:84 - "[Success criterion 1]"85 - "[Success criterion 2]"86 - "[Success criterion 3]"8788 - id: 189 name: "[Phase Name]"90 goal: "[Phase goal]"91 success:92 - "[Success criterion 1]"93 - "[Success criterion 2]"94```9596### Validate Roadmap9798Check:99100- All required fields present101- Phase IDs sequential (0, 1, 2, ...)102- Each phase has 2-4 success criteria103- Valid YAML syntax104105### Output106107Display:108109```110✅ Roadmap created: docs/roadmaps/[filename]111112Project: [name]113Language: [lang]114Phases: [count]115116To execute:117/autonomous-dev docs/roadmaps/[filename]118119To review first:120cat docs/roadmaps/[filename]121```122123## Tips for Good Roadmaps124125**Phase granularity:**126127- Each phase: 2-8 hours of work128- Too small: overhead of phase management129- Too large: hard to review, risky130131**Success criteria:**132133- Specific and measurable134- Testable (can verify with command)135- Clear definition of done136137**Phase sequencing:**138139- Foundation first (structure, utilities)140- Core features next (main functionality)141- Integration/polish last (CLI, API, docs)142143**Examples:**144145Good success criteria:146147- "Calculator.add() returns correct sum"148- "Parser handles nested parentheses"149- "CLI prints result to stdout"150151Bad success criteria:152153- "Code is good" (not measurable)154- "Everything works" (not specific)155- "Ready for production" (ambiguous)