Blueprint is a Gemini CLI extension for running a structured, artifact-backed product workflow inside your repository. It helps you turn an idea into a roadmap, shape each phase, execute the work, validate the result, review it, and ship it without losing the thread between sessions.
The workflow is inspired by GSD, but Blueprint's skills, workflows, commands, and runtime are custom-built for Blueprint.
This README documents the shipped user-facing surface and the active implementation only. If a command is not listed here, you should treat it as not public yet.
Wave 0 shipped commands cover the stable routing, bootstrap, lifecycle, and maintenance surface that Blueprint exposes today.
Phase 3 discovery commands are shipped. Phase 3 discovery shipped the same day and remains in parity closeout while later waves land.
The shipped lifecycle slice also includes /blu-plan-phase, /blu-execute-phase, /blu-validate-phase, /blu-verify-work, and the read-only next-step router /blu-next.
I want to...
- Start fresh → /blu-new-project
- Understand an existing repo → /blu-map-codebase
- Decide next safe action → /blu-next
- Plan implementation → /blu-plan-phase
- Execute safely → /blu-execute-phase
- Prepare isolated plan run → /blu-run-plan
- Review/fix code → /blu-code-review , /blu-code-review-fix
- Ship → /blu-ship
This chooser is generated from generated/command-catalog.json. 55 direct commands are runnable now; 1 retained command is kept out of runnable help until the live catalog marks it implemented.
The active command map is generated from src/mcp/command-runtime-metadata.ts into generated/command-catalog.json. Runtime availability still comes from the live blueprint_command_catalog check, so missing manifests, skills, MCP tools, or required runtime inputs downgrade commands before they can be recommended.
- Root router manifest:
commands/blu.toml - Runnable direct command manifests: 55
- Non-runnable retained command: 1
Runnable command manifests:
commands/blu-add-backlog.tomlcommands/blu-add-phase.tomlcommands/blu-add-tests.tomlcommands/blu-add-todo.tomlcommands/blu-audit-fix.tomlcommands/blu-audit-milestone.tomlcommands/blu-check-todos.tomlcommands/blu-cleanup.tomlcommands/blu-code-review-fix.tomlcommands/blu-code-review.tomlcommands/blu-complete-milestone.tomlcommands/blu-debug.tomlcommands/blu-discuss-phase.tomlcommands/blu-docs-update.tomlcommands/blu-execute-phase.tomlcommands/blu-explore.tomlcommands/blu-fast.tomlcommands/blu-health.tomlcommands/blu-help.tomlcommands/blu-impact.tomlcommands/blu-insert-phase.tomlcommands/blu-list-phase-assumptions.tomlcommands/blu-map-codebase.tomlcommands/blu-milestone-summary.tomlcommands/blu-new-milestone.tomlcommands/blu-new-project.tomlcommands/blu-new-workspace.tomlcommands/blu-next.tomlcommands/blu-note.tomlcommands/blu-pause-work.tomlcommands/blu-plan-milestone-gaps.tomlcommands/blu-plan-phase.tomlcommands/blu-pr-branch.tomlcommands/blu-progress.tomlcommands/blu-quick.tomlcommands/blu-reapply-patches.tomlcommands/blu-remove-phase.tomlcommands/blu-remove-workspace.tomlcommands/blu-research-phase.tomlcommands/blu-resume-work.tomlcommands/blu-review-backlog.tomlcommands/blu-review.tomlcommands/blu-run-plan.tomlcommands/blu-secure-phase.tomlcommands/blu-set-profile.tomlcommands/blu-settings.tomlcommands/blu-ship.tomlcommands/blu-spec-phase.tomlcommands/blu-ui-phase.tomlcommands/blu-ui-review.tomlcommands/blu-undo.tomlcommands/blu-update.tomlcommands/blu-validate-phase.tomlcommands/blu-verify-work.tomlcommands/blu-workstreams.toml
Runtime skill bundles used by runnable commands:
skills/blueprint-bootstrap/SKILL.mdskills/blueprint-capture/SKILL.mdskills/blueprint-debug/SKILL.mdskills/blueprint-docs/SKILL.mdskills/blueprint-governance/SKILL.mdskills/blueprint-impact/SKILL.mdskills/blueprint-maintenance/SKILL.mdskills/blueprint-map/SKILL.mdskills/blueprint-phase-discovery/SKILL.mdskills/blueprint-phase-execution/SKILL.mdskills/blueprint-phase-planning/SKILL.mdskills/blueprint-phase-validation/SKILL.mdskills/blueprint-plan-run/SKILL.mdskills/blueprint-review/SKILL.mdskills/blueprint-roadmap-admin/SKILL.mdskills/blueprint-router/SKILL.md
- A root router,
/blu, that helps you find the safest next command. - Direct commands,
/blu-<command>, when you want precise control. - Durable project state in
.blueprint/so planning and execution survive chat resets. - A full repo workflow for bootstrap, planning, execution, validation, reviews, milestone management, and shipping.
- Implemented-only routing:
/blu,/blu-help, and/blu-progresssurface only commands that are actually shipped.
Blueprint is designed for Gemini CLI.
Prerequisites:
- Gemini CLI
- Node.js 20 or newer
Install from GitHub:
gemini extensions install https://github.com/rakole/blueprintAfter install:
- Restart Gemini CLI.
- Run
/blu-helpto confirm Blueprint loaded.
If you are testing from a local checkout instead of GitHub:
npm ci
npm run build
gemini extensions link .Then restart Gemini CLI and run /blu-help.
Blueprint gives you two ways to work:
- Use
/bluwhen you want routing or next-step guidance. - Use
/blu-<command>when you already know the exact action you want.
Examples:
/blu
/blu what should I do next
/blu-new-project
/blu-plan-phase 3
/blu-add-todo "Add keyboard shortcuts to the editor"
- Run
/blu-new-project. - Review the generated
.blueprint/PROJECT.md,.blueprint/REQUIREMENTS.md, and.blueprint/ROADMAP.md. - Run
/blu-progressor/blu-nextto see the recommended next move. - Start the first phase with
/blu-discuss-phase 1.
- Run
/blu-map-codebasefirst. - Run
/blu-new-projectto create the project plan on top of that repo context. - Use
/blu-progressto continue from the recommended next step.
/blu-discuss-phase <phase>/blu-research-phase <phase>when the phase needs technical research/blu-ui-phase <phase>when the phase has meaningful UI scope/blu-plan-phase <phase>/blu-execute-phase <phase>/blu-validate-phase <phase>/blu-verify-work <phase>
Optional quality passes after execution:
/blu-code-review <phase>/blu-code-review-fix <phase>/blu-audit-fix <phase>/blu-secure-phase <phase>/blu-ui-review <phase>/blu-add-tests <phase>/blu-review <phase>
Blueprint keeps project state in .blueprint/ inside your repo:
.blueprint/
PROJECT.md
REQUIREMENTS.md
ROADMAP.md
STATE.md
config.json
phases/
impact/
reports/
codebase/
notes/
todos/
backlog/
What those files do:
PROJECT.md: your product vision, audience, constraints, and milestone framingREQUIREMENTS.md: the requirements Blueprint is planning and verifying againstROADMAP.md: your ordered phases and milestone structureSTATE.md: the current workflow position and safest next actionconfig.json: repo-level Blueprint settingsphases/: per-phase context, research, plans, summaries, validation, UAT, review, and UI artifactsimpact/: blast-radius report bundles from/blu-impactreports/: command reports such as debug, ship, cleanup, milestone audit, and add-tests outputscodebase/: brownfield repo mapping documentsnotes/,todos/,backlog/: lightweight project capture
Blueprint is designed to keep those artifacts in version control by default so the workflow stays visible and resumable.
The runnable command groups below are generated from the same registry as generated/command-catalog.json and stay aligned with /blu-help.
/blu: root router for safe command selection and next-step guidance/blu-health:healthchecks Blueprint project health and can run explicit repair-mode normalization through MCP-owned tools./blu-help:helpshows safe Blueprint router guidance from project readiness and the implemented command catalog./blu-map-codebase:map-codebaseanalyzes a brownfield codebase with mapper-style passes and produces the stable seven-document Blueprint codebase bundle./blu-new-project: new-project initializes a Blueprint project with deep context gathering and PROJECT.md./blu-progress:progresssummarizes Blueprint repo status, blockers, warnings, and next safe implemented guidance from MCP-owned state./blu-set-profile:set-profilechanges the current project model_profile through the governance MCP config substrate./blu-settings:settingsinspects and updates Blueprint repo or default configuration through governance MCP tools.
/blu-discuss-phase:discuss-phasegathers durable phase context through adaptive discovery, capability-gated gray-area research sidecars, checkpointed resumability, validation repair, and MCP-owned phase artifact writes./blu-execute-phase:execute-phaseexecutes saved phase plans in deterministic target order, records plan-linked execution summaries, and syncs Blueprint state without claiming phase completion./blu-next:nextreturns the next safe direct Blueprint command for the current repo state without widening beyond implemented commands./blu-pause-work:pause-workrecords a canonical handoff from current Blueprint state and artifact inventory./blu-plan-phase:plan-phasecreates or extends execution-ready phase plans through MCP-owned structured phase.plan model validation and plan writes./blu-research-phase:research-phasegathers phase-scoped implementation guidance from saved Blueprint artifacts, optional spec evidence, repo evidence, and approved external references, then persists validated research through MCP-owned state paths./blu-resume-work:resume-workrestores working context from the canonical pause handoff and records the next safe action./blu-spec-phase:spec-phaseclarifies what a Blueprint phase should deliver and writes the optional phase-scoped spec artifact before later discovery and planning flows./blu-ui-phase:ui-phasecreates or reuses the single phase-scoped UI artifact, writing either a UI design contract or an explicit skip rationale through MCP-owned phase artifact persistence./blu-validate-phase:validate-phaseaudits saved execution summaries and persists phase verification evidence through the validation MCP substrate./blu-verify-work:verify-workruns summary-backed UAT and persists resumable phase UAT evidence through the validation MCP substrate.
/blu-add-phase: Append a new whole-number phase to an initialized Blueprint roadmap through MCP-owned roadmap and scaffold writes./blu-audit-milestone:audit-milestonecompares original milestone intent against saved phase evidence and writes a durable milestone audit report with grouped gaps and traceability notes./blu-complete-milestone:complete-milestoneperforms a report-driven closeout gated by saved milestone audit readiness, writes a durable completion report, and routes to milestone summary./blu-insert-phase:insert-phaseinserts urgent work as a decimal phase between existing phases, scaffolds the matching phase context starter, records roadmap evolution state, and routes back to discovery without renumbering later phases./blu-list-phase-assumptions:list-phase-assumptionssurfaces read-only pre-planning assumptions about a phase so users can correct misunderstandings before discovery or planning./blu-milestone-summary:milestone-summarybuilds a durable consolidated milestone spec from saved roadmap, audit, and completion evidence and routes toward the next milestone-start action./blu-new-milestone:new-milestonestarts a new milestone cycle by deriving carry-forward context from the saved consolidated milestone spec, scaffolding starter docs and the first phase context, and preserving historical phase artifacts./blu-plan-milestone-gaps:plan-milestone-gapscreates grouped roadmap phases to close actionable gaps identified by the saved milestone audit, keeping persistence on roadmap and state MCP tools./blu-remove-phase:remove-phaseremoves a future roadmap phase, deletes its phase directory, renumbers subsequent roadmap and phase artifacts, and re-anchors state on the safest implemented follow-up.
/blu-add-backlog:add-backlogappends explicit parking-lot ideas and can reserve a confirmed 999.x phase stub through MCP-owned capture and scaffold writes./blu-add-todo:add-todoappends explicit project-local todo items through the capture index MCP tool./blu-check-todos:check-todosinspects pending project-local todos and can mark one active or completed through bounded MCP updates./blu-debug:debuginvestigates a concrete issue, persists a durable debug-latest report, and stops at an explicit follow-up gate before todo capture or fix attempts./blu-explore:explorebriefly classifies an idea into note, todo, backlog, roadmap, or no-write and persists only the explicitly confirmed target through MCP tools./blu-fast:fasthandles genuinely trivial inline execution without subagents, durable reports, or phase artifacts./blu-note:noteappends explicit project-local notes through the capture index MCP tool while keeping unsupported list, promote, and global-note asks in safe suggestion mode./blu-quick:quickruns bounded quick delivery with optional depth gates, persists durable quick-run evidence, and routes follow-up through implemented Blueprint commands./blu-review-backlog:review-backlogpreviews canonical backlog entries, promotes or archives confirmed items, and records the next safe state through MCP-owned transitions.
/blu-add-tests:add-testsgenerates focused repo tests from saved phase evidence and persists validation plus report artifacts through MCP tools./blu-audit-fix:audit-fixclassifies saved review, security, verification, and UAT evidence, applies bounded remediation when not dry-running, persists a durable audit-fix report, and updates state through MCP tools./blu-code-review:code-reviewreviews source files changed during a Blueprint phase, resolves deterministic scope from executed plan metadata or explicit file paths, honors review settings, audits saved phase evidence, and persists the result through review MCP tools instead of prompt-only file writes./blu-code-review-fix:code-review-fixapplies bounded fixes from saved code-review findings and persists review-fix evidence plus state through MCP tools./blu-docs-update:docs-updaterefreshes or verifies selected repo documentation against saved Blueprint and repo evidence, optionally checks current external truth, and persists the durable docs-update report through MCP./blu-impact:impactperforms advisory blast-radius analysis for a resolved change scope, persists an impact report bundle when writing is enabled, and renders the requested output format through the impact MCP substrate./blu-pr-branch:pr-branchprepares a clean review branch by filtering Blueprint bookkeeping scope and persists a durable report./blu-review:revieworchestrates bounded peer review from saved phase plans and evidence, preserves reviewer availability and disagreement honestly, and persists the peer-review artifact through review MCP tools./blu-secure-phase:secure-phaseverifies declared saved-plan threats against completed execution evidence and persists phase security evidence through review MCP tools./blu-ship:shipprepares a confirmation-gated shipping run from saved Blueprint evidence and records actual push or PR outcomes./blu-ui-review:ui-reviewaudits shipped UI work against saved execution and UI-spec evidence, optionally delegates bounded six-pillar analysis, and persists the UI-review artifact through review MCP tools./blu-undo:undopreviews a bounded revert, persists a durable undo report, and runs only confirmed safe revert-style git steps.
/blu-run-plan:run-planpreviews and prepares one saved phase plan for isolated implementation, then later captures authorized implementation diffs as deterministic PlanRun patch records before summary or PR handoff.
/blu-cleanup:cleanuparchives completed Blueprint phase directories through a protected-scope confirmation flow and persists a durable cleanup report./blu-new-workspace:new-workspacecreates a confirmed multi-repo workspace and records it in host-global Blueprint workspace state./blu-reapply-patches:reapply-patchespreviews, confirms, replays, and records host-global Blueprint patch reapplication./blu-remove-workspace:remove-workspacetears down an exact confirmed workspace and updates the host-global workspace registry./blu-update:updateinspects the installed Blueprint extension and prepares an advisory out-of-band update checklist./blu-workstreams:workstreamslists, creates, switches, resumes, or completes project-local Blueprint workstreams through MCP-owned state.
Start with:
/blu/blu-help/blu-progress/blu-next
Use the direct command:
/blu-add-phase "Admin audit trail"/blu-plan-phase 4/blu-quick "Rename the API env var and update the affected tests"
Use:
/blu-notefor raw project notes/blu-add-todofor concrete next tasks/blu-add-backlogfor later ideas/blu-explorewhen you want Blueprint to help classify the idea first
Use:
/blu-audit-milestone/blu-plan-milestone-gapsif the audit found missing work/blu-complete-milestone/blu-milestone-summary/blu-new-milestone
Blueprint is opinionated about safety:
- It prefers durable artifacts over relying on temporary chat context.
- It keeps
/blu,/blu-help, and/blu-progresslimited to implemented commands. - High-risk actions such as roadmap mutation, workspace creation or removal, branch preparation, shipping, undo, cleanup, and patch replay are confirmation-gated.
- It keeps project state in
.blueprint/instead of scattering workflow state across ad-hoc files.
The retained entries below are not public runnable commands in the current runtime. /blu, /blu-help, /blu-progress, and /blu-next must not advertise them until the live catalog marks them implemented.
do: runtime statusrepairing, declaredplanned. Blocked by: Missing command manifest: commands/blu-do.toml.
- Restart Gemini CLI after install or update.
- If you installed from a local checkout, make sure you ran
npm run buildfirst. - Re-run
gemini extensions install https://github.com/rakole/blueprintif needed.
Run /blu-new-project.
Run /blu-map-codebase, then continue with /blu-new-project or /blu-progress.
Run /blu-health.
Run /blu-progress or /blu-next.
Only implemented commands are surfaced. If it is not shown by /blu-help, treat it as not public yet.
