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.
The active implementation lives in the repo runtime surfaces below:
commands/blu-help.tomlcommands/blu-progress.tomlcommands/blu-health.tomlcommands/blu-map-codebase.tomlcommands/blu-debug.tomlcommands/blu-docs-update.tomlcommands/blu-review.tomlcommands/blu-code-review.tomlcommands/blu-code-review-fix.tomlcommands/blu-audit-fix.tomlcommands/blu-ui-review.tomlcommands/blu-ship.tomlskills/blueprint-router.mdskills/blueprint-maintenance/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/
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 artifactsreports/: 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.
Use these to initialize Blueprint, inspect status, and route safely:
/blu: root router for safe command selection and next-step guidance/blu-help: show the currently shipped Blueprint commands/blu-progress: summarize current Blueprint state, blockers, and next action/blu-next: move to the next safe step using actual project state/blu-new-project: bootstrap a repo with project, requirements, roadmap, state, config, and phase scaffolding/blu-map-codebase: map an existing repo into.blueprint/codebase//blu-health: diagnose and repair partial or unhealthy Blueprint state/blu-settings: inspect and update repo Blueprint settings/blu-set-profile: switch the active Blueprint model profile
Use these to define, build, and verify a phase:
/blu-discuss-phase: capture phase context and design intent/blu-list-phase-assumptions: inspect Blueprint's current assumptions before planning/blu-research-phase: create bounded phase research/blu-ui-phase: write a UI spec or an explicit UI-skip rationale/blu-plan-phase: create the executable phase plan/blu-execute-phase: implement the plan and persist execution summaries/blu-validate-phase: audit the completed execution and write verification evidence/blu-verify-work: run conversational UAT and record the result/blu-pause-work: write a resumable handoff when you need to stop mid-stream/blu-resume-work: restore that handoff and continue from live state
Use these when your roadmap needs to evolve:
/blu-add-phase: append a new integer phase to the current milestone/blu-insert-phase: insert a decimal phase after an existing integer phase/blu-remove-phase: remove a future phase and renumber later roadmap references/blu-audit-milestone: compare milestone intent against completed evidence/blu-plan-milestone-gaps: turn milestone audit gaps into follow-up phases/blu-complete-milestone: close an audited milestone/blu-milestone-summary: generate a durable milestone summary/blu-new-milestone: start the next milestone from carry-forward context
Use these when you need lower-ceremony project management or small delivery work:
/blu-note: save a project note/blu-add-todo: add a todo item/blu-check-todos: list, activate, or complete todos/blu-add-backlog: save a parking-lot idea, optionally with a999.xstub/blu-review-backlog: promote backlog items into the roadmap/blu-explore: think through an idea before choosing note, todo, backlog, or roadmap/blu-fast: do a truly trivial task inline/blu-quick: do a bounded repo task with less ceremony than a full phase/blu-debug: run a structured debugging pass and persist a debug report
Use these after implementation when you want stronger evidence and release hygiene:
The review-branch command /blu-pr-branch is now shipped.
/blu-code-review: review the files changed by a completed phase/blu-code-review-fix: apply bounded fixes from a saved review/blu-audit-fix: run a tighter audit-to-fix remediation loop/blu-secure-phase: audit a completed phase for security posture/blu-ui-review: review the UX and visual quality of a completed phase/blu-review: run cross-CLI peer review over saved plans/blu-docs-update: update repo documentation based on real project evidence/blu-add-tests: add or update focused tests for a completed phase/blu-pr-branch: prepare a clean review branch/blu-ship: prepare a confirmation-gated shipping run with PR guidance/blu-undo: preview and run a safe revert flow with an explicit report first/blu-new-workspace: create an isolated workspace under the configured workspace root after confirmation/blu-remove-workspace: preview and remove a recorded workspace after confirmation/blu-cleanup: archive completed phase directories after confirmation/blu-reapply-patches: preview and replay a recorded host-global patch set after confirmation
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.
These retained commands are still not public in the current runtime and should not be treated as available today:
/blu-do(planned next; its routing contract is documented, but the manifest is not shipped yet)/blu-workstreams/blu-update
If you ask /blu or /blu-help for available commands, they will not advertise those until they are actually shipped.
- 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.