From hatch3r
Generates dependency-ordered phased roadmap with business and technical milestones from specs or codebase map, outputting todo.md schedule.
npx claudepluginhub hatch3r/hatch3r# Roadmap — Generate Phased Roadmap from Specs & Vision Generate a dependency-aware, priority-ordered roadmap with **two parallel dimensions**: business milestones and technical milestones. Spawns parallel researcher sub-agents (business priority, technical readiness) to inform prioritization with market timing, competitive pressure, revenue impact, and production readiness gaps. Outputs to `todo.md` in the exact format that `hatch3r-board-fill` expects, with items tagged as `[BIZ]`, `[TECH]`, or `[BOTH]`. Optionally generates a root-level `AGENTS.md`. Works for both greenfield projects (f...
/roadmapGenerates a phased roadmap of epics from a project vision via deep questioning, parallel research, and generation. Supports --resume ROADMAP-NNN.
/create-tasksGenerates actionable implementation tasks from product specs, architecture, and design documents in Groundwork projects.
/create_planCreates detailed implementation plans interactively by researching tickets, task descriptions, and codebase using specialized analysis agents.
/planGenerates project plan with GDS phases, timeline, gates, Mermaid diagrams, and resources for specified project ID or initiative.
/planGenerates project spec and requirements backlog (no args) or feature FRD grounded in project spec (with feature arg). Tracks progress in tasks/todo.md.
Share bugs, ideas, or general feedback.
Generate a dependency-aware, priority-ordered roadmap with two parallel dimensions: business milestones and technical milestones. Spawns parallel researcher sub-agents (business priority, technical readiness) to inform prioritization with market timing, competitive pressure, revenue impact, and production readiness gaps. Outputs to todo.md in the exact format that hatch3r-board-fill expects, with items tagged as [BIZ], [TECH], or [BOTH]. Optionally generates a root-level AGENTS.md. Works for both greenfield projects (from hatch3r-project-spec output) and brownfield projects (from hatch3r-codebase-map output).
| Stage | Agent(s) | Parallel | Required |
|---|---|---|---|
| 1. Research | hatch3r-researcher (2 parallel: Business Priority, Technical Readiness) | Yes | Yes |
| 2. Document Generation | hatch3r-docs-writer (todo.md generation) | No | Yes |
| 3. AGENTS.md | hatch3r-docs-writer (AGENTS.md generation/rework) | No | Yes |
Read the hatch3r-board-shared command at the start of the run. It contains Board Configuration, GitHub Context, Project Reference, Projects v2 sync procedure, and tooling directives. Cache all values for the duration of this run.
Follow the Token-Saving Directives in hatch3r-board-shared.
Execute these steps in order. Do not skip any step. Ask the user at every checkpoint marked with ASK. When in doubt, ASK — it is better to ask one question too many than to make one wrong assumption. Discovery questions are never wasted.
Classify the roadmap request before delegating:
If Tier 1, run the reduced researcher set and skip Step 7 (AGENTS.md) unless requested. If Tier 2, run the standard pipeline below. If Tier 3, run the full pipeline with deep research, surface market-timing intelligence, and confirm phased plan with the user before file writes.
docs/specs/technical/ — technical specificationsdocs/specs/business/ — business specificationsdocs/specs/ (flat) — legacy spec layout (pre-dual-lens)docs/adr/ — architectural decision recordsdocs/codebase-health.md — health report (from codebase-map)todo.md — current backlogREADME.md — project overviewAGENTS.md — existing agent instructionsgh issue list --state open --limit 100 to understand existing tracked work. Paginate if more than 100 issues.Check for .hatch3r-session.json (written by hatch3r-codebase-map or hatch3r-project-spec). If found, pre-fill company stage and business context. Confirm with the user rather than re-asking.
ASK: "Should I generate a roadmap for the full product, or only specific parts? If specific, list the domains, modules, or feature areas to focus on."
If not loaded from .hatch3r-session.json:
ASK: "To calibrate the roadmap to your situation, tell me about your company/project stage:
Cache the stage assessment. It drives stage-adaptive prioritization:
ASK: "To build a business-aware roadmap, I need additional context:
Any other priorities or constraints I should factor into the roadmap?"
Context Loaded:
Technical Specs: {N} files in docs/specs/technical/
Business Specs: {N} files in docs/specs/business/
ADRs: {N} files in docs/adr/
Health report: {found / not found}
Existing todo.md: {found with N items / not found}
AGENTS.md: {found / not found}
Open GitHub issues: {N}
Session context: {loaded from .hatch3r-session.json / gathered fresh}
Company Stage: {stage}
Team Capacity: {N} devs, {hours}/week
Next Milestone: {milestone} by {date}
Key KPIs: {list}
Market Pressures: {list or none}
Gaps: {list any missing context}
ASK: "Here is the context I loaded. Provide additional goals, constraints, or priorities? (or confirm to proceed)"
| Dimension | Values |
|---|---|
| Scope | [BIZ] business-driven, [TECH] technically-driven, [BOTH] cross-cutting |
| Domain/area | Which module, subsystem, or business domain does this touch? |
| Type | feature, bug fix, refactor, infrastructure, documentation, QA, GTM, compliance |
| Effort | S (< 1 day), M (1-3 days), L (3-5 days), XL (> 5 days, should be an epic) |
| Impact | critical path, quality of life, nice-to-have, revenue-blocking, scale-blocking |
| Dependencies | What must come first? (both technical and business dependencies) |
Launch one sub-agent per research domain below concurrently using the Task tool with subagent_type: "generalPurpose". Each receives the full context from Steps 1-2.
Both sub-agent prompts must include:
Prompt context: Full project context, business specs, company stage, market pressures, KPIs.
Task: Research and recommend business-driven prioritization using web search for market intelligence.
Output structure:
## Business Priority Intelligence
### Market Timing
| Window | Deadline | Items Affected | Priority Impact |
|--------|----------|---------------|----------------|
| {window} | {date} | {items} | {how it changes priority} |
### Competitive Urgency
| Feature/Area | Competitor Activity | Urgency | Recommendation |
|-------------|-------------------|---------|----------------|
| {area} | {what competitors are doing} | high/med/low | {action} |
### Revenue Impact Ordering
| Rank | Feature/Area | Revenue Mechanism | Impact Estimate | Evidence |
|------|-------------|-------------------|-----------------|----------|
| 1 | {feature} | {conversion/retention/expansion/new segment} | {high/med/low} | {benchmark or reasoning} |
### Regulatory Timeline
| Requirement | Deadline | Effort | Blocking |
|------------|----------|--------|----------|
| {requirement} | {date} | {S/M/L/XL} | {what it blocks} |
### Channel Requirements
| Channel | Required Capabilities | Priority | Expected ROI |
|---------|---------------------|----------|-------------|
| {channel} | {what needs to be built} | {P0-P3} | {high/med/low} |
### Recommended Business Milestones
1. {milestone}: {date target} — {what it unlocks}
2. ...
Prompt context: Full project context, technical specs, health report, company stage.
Task: Evaluate technical readiness and recommend infrastructure prioritization. Use web search for industry benchmarks and best practices.
Output structure:
## Technical Readiness Intelligence
### Debt Velocity Impact
| Debt Item | Affected Areas | Velocity Impact | Fix Effort | ROI |
|-----------|---------------|----------------|-----------|-----|
| {item} | {modules} | {estimated slowdown} | {S/M/L/XL} | {high/med/low} |
### Infrastructure Milestones
| User Milestone | Prerequisites | Current State | Gap | Lead Time |
|---------------|--------------|--------------|-----|-----------|
| 1K users | {list} | {status} | {missing} | {days} |
| 10K users | {list} | {status} | {missing} | {days} |
| 100K users | {list} | {status} | {missing} | {days} |
### Production Readiness Blockers
| Blocker | Business Impact | Fix Effort | Deadline |
|---------|----------------|-----------|----------|
| {blocker} | {what it blocks} | {S/M/L/XL} | {when needed} |
### Technical → Business Dependency Map
| Business Priority | Technical Prerequisites | Status |
|------------------|----------------------|--------|
| {business item} | {technical items that must come first} | {ready/blocked} |
### Performance Benchmarks
| Metric | Industry P50 | Industry P90 | Current | Gap |
|--------|-------------|-------------|---------|-----|
| {metric} | {value} | {value} | {value or unknown} | {gap} |
### Recommended Technical Milestones
1. {milestone}: {deadline} — {what it enables}
2. ...
Wait for all sub-agents to complete before proceeding.
Merge the categorized work items from Step 2 with the research intelligence from Step 3 to build a roadmap with two parallel dimensions.
Map business-driven milestones across the timeline:
| Milestone Type | Examples |
|---|---|
| Revenue milestones | Launch, first paying customer, MRR targets, break-even |
| User acquisition milestones | Beta launch, public launch, growth targets, market expansion |
| Market timing milestones | Competitive windows, seasonal peaks, conference launches |
| Compliance milestones | Certifications, audits, regulatory deadlines |
| Fundraising milestones | Metrics needed for next round, demo-ready state |
Map technically-driven milestones across the timeline:
| Milestone Type | Examples |
|---|---|
| Infrastructure readiness | MVP infra, scaling infra, multi-region, enterprise-grade |
| Production hardening | Monitoring, alerting, incident response, SLA readiness |
| Technical debt paydown | Prioritized by business impact (velocity improvement) |
| Platform capabilities | APIs, integrations, extensibility, developer experience |
| Security & compliance | Auth hardening, vulnerability scanning, audit trails |
| Phase | Label | Business Criteria | Technical Criteria |
|---|---|---|---|
| P0 | Critical / Launch Blockers | Revenue-blocking features, regulatory deadlines, market timing windows | Security fixes, data integrity, core infrastructure dependencies |
| P1 | Core Features | Primary value-delivering features, conversion-critical flows, first GTM channel enablement | Essential integrations, performance baselines, CI/CD, compound system integrity checks |
| P2 | Important | Secondary features, retention improvements, additional GTM channels | Quality improvements, significant refactors, testing gaps, monitoring |
| P3 | Nice to Have | Polish, upsell features, market expansion preparation | Optimizations, non-critical enhancements, developer experience |
| P4+ | Future Ideas | Long-term market plays, new segments, platform strategy | Long-term architecture evolution, experimental technology |
Roadmap Overview:
P0: N items (N BIZ, N TECH, N BOTH) — estimated effort: X days
P1: N items (N BIZ, N TECH, N BOTH) — estimated effort: X days
P2: N items (N BIZ, N TECH, N BOTH) — estimated effort: X days
P3: N items (N BIZ, N TECH, N BOTH) — estimated effort: X days
Future: N items
Business Milestones:
{date/phase}: {milestone} — requires: {items}
{date/phase}: {milestone} — requires: {items}
Technical Milestones:
{date/phase}: {milestone} — enables: {business items}
{date/phase}: {milestone} — enables: {business items}
Parallel Lanes:
Lane A (Business): {theme} — P0 items 1-3, P1 items 4-5
Lane B (Technical): {theme} — P0 items 6-7, P1 items 8-10
Lane C (Cross-cutting): {theme} — P0 items 11-12
Critical Path: item 1 → item 3 → item 5 → item 8
Business-Critical Path: {biz milestone 1} → {biz milestone 2} → {launch}
ASK: "Here is the proposed dual-lens roadmap with business and technical milestones. Review:
Write todo.md in the exact format that hatch3r-board-fill expects, with [BIZ]/[TECH]/[BOTH] tags.
Format specification:
## P0 — Critical / Launch Blockers
- [ ] **[TECH] {Infrastructure item}**: {Description. Scope: {what's in}. Enables: {business milestone}.} Ref: docs/specs/technical/{spec}.md.
- [ ] **[BIZ] {Market-driven item}**: {Description. Revenue impact: {impact}. Deadline: {if time-sensitive}.} Ref: docs/specs/business/{spec}.md.
- [ ] **[BOTH] {Cross-cutting item}**: {Description}. Ref: docs/specs/{spec}.md.
## P1 — Core Features
- [ ] **[TECH] {Feature title}**: {Description}. Ref: docs/specs/technical/{spec}.md.
- [ ] **[BIZ] {Business feature}**: {Description. Conversion/retention impact: {impact}.} Ref: docs/specs/business/{spec}.md.
## P2 — Important
- [ ] **[TECH] {Refactor/improvement title}**: {Description. Velocity impact: {improvement}.} Ref: docs/adr/{adr}.md.
- [ ] **[BIZ] {Business requirement}**: {Description}. Ref: docs/specs/business/{spec}.md.
## P3 — Nice to Have
- [ ] **[TECH] {Enhancement title}**: {Description}.
- [ ] **[BIZ] {Business enhancement}**: {Description}.
## Future Ideas
- [ ] **[TECH] {Long-term technical item}**: {Description}.
- [ ] **[BIZ] {Long-term business item}**: {Description}.
Format requirements:
- [ ] **[BIZ/TECH/BOTH] {bold title}**: {description}.Ref: with source spec/ADR path when the item was derived from a specific document. Use docs/specs/business/ or docs/specs/technical/ paths matching the item's category.## P{N} — {Label} headers.If todo.md already exists:
ASK: "todo.md already exists with {N} items. (a) Replace entirely, (b) Append new items, (c) Merge (deduplicate and reorganize)"
[BIZ]/[TECH]/[BOTH] tags if present.hatch3r-docs-writer sub-agent via the Task tool (subagent_type: "generalPurpose") to write todo.md to the project root. The docs-writer receives the confirmed roadmap output from Step 4 and the format specification from Step 5, and follows the hatch3r-docs-writer agent protocol..hatch3r-session.json with roadmap context (if company stage and business context were gathered fresh in this run):{
"timestamp": "{ISO timestamp}",
"command": "hatch3r-roadmap",
"companyStage": { ... },
"businessContext": { ... },
"scope": "{full / specific parts}",
"roadmapGoals": { ... }
}
Roadmap Written: todo.md
Total items: N (X epics, Y standalone)
By scope: BIZ: N, TECH: N, BOTH: N
By priority: P0: N, P1: N, P2: N, P3: N, Future: N
Estimated total effort: ~X days
Recommended parallel lanes: N
Team capacity: {N} devs × {hours}/week = ~{available days}
Estimated duration: ~{weeks} weeks at current capacity
Business Milestones:
{milestone 1}: {target date/phase}
{milestone 2}: {target date/phase}
Technical Milestones:
{milestone 1}: {target date/phase}
{milestone 2}: {target date/phase}
ASK: "Generate or update the root-level AGENTS.md with a project summary derived from the roadmap and specs? This file serves as the 'README for agents' — consumed by OpenCode, Windsurf, and other AI coding tools so they understand your project's business context, architecture, and conventions from the first interaction.
(a) Yes — generate it, (b) No — skip, (c) Let me review the content first."
If yes or review-first: spawn a hatch3r-docs-writer sub-agent via the Task tool (subagent_type: "generalPurpose") to generate AGENTS.md at the project root following the hatch3r-docs-writer agent protocol. The docs-writer receives the roadmap context and spec references. The generated AGENTS.md should follow this structure:
# {Project Name} — Agent Instructions
> Auto-generated by hatch3r-roadmap on {today's date}. Review and adjust before use.
## Project Purpose
{One-paragraph vision/purpose from business overview}
## Business Context
- **Business model**: {type}
- **Revenue model**: {model}
- **Company stage**: {stage}
- **Target market**: {segments}
- **Key metrics**: {KPIs}
## Technology Stack
{Concise stack summary — languages, frameworks, databases, infrastructure}
## Architecture Overview
{Architecture style, key components, deployment topology — 3-5 sentences}
## Module Map
| Module | Purpose |
| ------ | ------- |
| {module} | {one-line description} |
## Key Business Rules & Domain Constraints
{Top 5-10 business rules that agents must respect when making changes}
- {rule}: {constraint}
## Conventions
{Key coding conventions agents should follow — naming, patterns, testing}
## Current Roadmap Focus
{What the team is currently working on — P0/P1 items from the roadmap}
- **Current phase**: {description}
- **Key milestones**: {next 2-3 milestones}
## Documentation Reference
- Business specs: `docs/specs/business/`
- Technical specs: `docs/specs/technical/`
- Architecture decisions: `docs/adr/`
- Roadmap: `todo.md`
If the user chose "review first," present the content and ASK for confirmation before writing.
If AGENTS.md already exists, ASK before overwriting: "Root AGENTS.md already exists. (a) Replace entirely, (b) Append hatch3r section, (c) Skip."
ASK: "Roadmap complete. Recommended next steps:
hatch3r-board-fill to create GitHub issues from the todo.mdhatch3r-board-pickup to start working on the highest-priority itemsWhich would you like to run next? (or none)"
Future command: hatch3r-test-plan — generates a test plan from the current task context (issue, spec references, acceptance criteria) covering unit, integration, and E2E test scenarios. Not yet implemented; tracked for a future release.
hatch3r-project-spec or hatch3r-codebase-map first.hatch3r-project-spec or hatch3r-codebase-map to create business specs.Hatch3r's breadth across 13+ adapters (Claude, Cursor, Windsurf, Cline, Copilot, Codex, Gemini, Amp, Aider, Goose, Kiro, OpenCode, Zed) is a core differentiation strategy. To maintain this moat, recommend periodic adapter parity audits as part of any roadmap that includes hatch3r-internal work. The audit should verify that no adapter has fallen behind in feature support (e.g., missing MCP, hooks, or skills support that other adapters already handle). Adapter parity gaps should be tracked as [TECH] items at P2 priority or higher.
## P{N} — {Label}, items tagged with [BIZ]/[TECH]/[BOTH].docs/specs/business/ or docs/specs/technical/ paths matching the item's category.AGENTS.md without explicit user confirmation.