A file-backed, spec-driven workflow for building real software with AI while staying in control.
Official site | Documentation | Video demo | npm | Releases | Changelog
AI Blueprint gives coding agents a shared process for planning, building, verifying, and documenting one feature at a time. Plans, specs, findings, review evidence, and completed history stay as readable files in your project instead of disappearing with the chat that created them.
It works with any application stack and supports Codex, Claude Code, GitHub Copilot, OpenCode, and other file-aware coding agents.
Start with the scaffold-first Quick Start below.
AI coding gets unreliable when product intent lives only in chat, several features blur together, and claims such as "working" or "tested" are not backed by observable evidence.
Blueprint adds a controlled loop:
- Spec before code. The agent writes a feature or fix spec and stops for review before implementation.
- One work item at a time. The current feature, fix, or rollback has one explicit scope and one set of acceptance criteria.
- Proof before completion. Check runs the real app against the spec instead of treating a green build as behavioral proof.
- Findings with teeth. Audit records durable findings, and unresolved P0 or P1 findings block completion.
- Independent review when it matters. A fresh reviewer session can inspect an exact checkpoint and leave a staleness-checked receipt.
- Human approval at external boundaries. Commit, merge, push, deployment, publication, and destructive actions keep their approval gates.
The point is not to remove judgment. It is to preserve it while AI helps write the code.
AI Blueprint is a workflow overlay, not an application starter. Scaffold the app first and initialize Git before installing it.
Requirements: Node.js 22 or newer, an existing application, and a Git repository.
First create the application manually or with the scaffolding CLI for your framework or language of choice. This example uses Next.js, but Blueprint works with any stack. From the root of the new application, initialize Git if the scaffolder did not, then install Blueprint:
npx create-next-app@latest my-app
cd my-app
git init
npx create-ai-blueprint@latestNext:
- Run
onboardso Blueprint learns the real stack, commands, conventions, adapter setup, and workflow visibility you want. - Write
blueprint/project-plan.mdandblueprint/build-plan.mddirectly, or use the optional discovery skill to develop them through conversation. - Run
overviewto turn those plans into durable project context. On the first run, it offers a reviewed local commit for the Blueprint setup and plans. - Run
featurefor the next planned item, review the generated spec, and then begin implementation.
Use the invocation style for your tool:
| Tool | Example |
|---|---|
| Codex | $onboard, $overview, $feature |
| Claude Code | /onboard, /overview, /feature |
| GitHub Copilot | Ask Copilot to run the matching skill |
| OpenCode | Ask OpenCode to run the matching skill |
The interactive installer lets you select one or more adapters. It adds the
workflow files needed by those tools and leaves your application's README.md
alone.
See Getting Started for the complete installation and onboarding walkthrough. For a project that already has shipped features, start with Adopting an Existing Codebase.
The normal feature loop is:
feature -> review spec -> implement -> check -> audit current -> complete
Each step has a narrow job:
- Feature selects one build-plan item and writes its buildable spec.
- Implement builds the approved spec in small, visible steps.
- Check proves the acceptance criteria against the running application.
- Audit reviews the complete branch delta and records actionable findings.
- Complete runs the final gates, archives the work, and asks before merge.
Other work enters the same control loop:
- Use
fixfor a small unplanned change or confirmed bug. - Use
debugfirst when the cause is unclear. - Use
rollbackto reverse a completed feature without erasing its history. - Use
trywhen you want a human manual-review guide.
Read Core Workflow for the full lifecycle and command-specific behavior.
| Skill | Purpose |
|---|---|
| /adopt | Bring Blueprint into an existing codebase with shipped behavior. |
| /audit | Review a branch or project, record findings, or run independent review. |
| /autopilot | Run one bounded spec and build pass through configured gates. |
| /brief | Preview an upcoming feature without changing project state. |
| /browser-tests | Add or normalize an optional repeatable browser harness. |
| /check | Prove the current spec against the real application. |
| /ci | Align one project Verify command with GitHub checks. |
| /complete | Run final gates, archive the work, and request merge approval. |
| /continuous | Complete reviewed build-plan items serially with local Git work. |
| /debug | Reproduce and isolate a failure without editing code. |
| /discovery | Develop detailed plans through a reviewed conversation. |
| /doctor | Check Blueprint setup and drift without changing files. |
| /feature | Turn one build-plan item into the active spec. |
| /fix | Write the active spec for a small change or confirmed bug. |
| /implement | Build the approved spec in small, reviewed steps. |
| /onboard | Tune a fresh Blueprint installation to the real project. |
| /overview | Generate durable project context from both planning docs. |
| /prototype | Create throwaway static mockups before implementation. |
| /release | Prepare local Render or Vercel release configuration and checks. |
| /rollback | Plan a history-preserving reversal of completed work. |
| /status | Show progress, drift, blockers, and the suggested next action. |
| /tests | Add or normalize stack-native unit testing. |
| /try | Generate a human manual-review walkthrough. |
Codex uses the matching $skill form. Other adapters use the invocation style
shown during installation. Each command has a dedicated page in the
documentation.
Two files remain the planning inputs you own:
| File | Purpose |
|---|---|
blueprint/project-plan.md |
Product direction, users, features, data, stack, business model, and UX decisions |
blueprint/build-plan.md |
Ordered, high-level feature list with stable item numbers |
Blueprint turns those inputs into project state that any installed adapter can read:
| File | Purpose |
|---|---|
blueprint/context/project-overview.md |
Durable project context generated from both plans |
blueprint/context/current-feature.md |
The active feature, fix, or rollback spec |
blueprint/context/findings.md |
Audit findings with durable IDs, severities, and statuses |
blueprint/context/review.md |
Independent-review handoff and latest reviewer receipt |
blueprint/history/ |
Archived feature, fix, and rollback records |
blueprint/config.json |
User-owned workflow policy shared by every adapter |
This state stays tool-independent. A project can move between supported agents without moving its plan and history back into chat.
Read Writing Your Plans and the File Reference for the detailed contracts.
Blueprint separates several kinds of proof that are easy to blur together:
- Verify command: project-owned type checks, tests, builds, or other repeatable checks.
- Check: observable proof that the current work satisfies its spec.
- Audit: branch-aware review across quality, security, performance, and tests, with focused lenses when needed.
- Independent Audit: a fresh reviewer session inspects an approved checkpoint using the selected installed adapter and model.
- Try guide: a read-only manual walkthrough for human review.
Independent review records the target, permitted base, spec hash, requested and actual reviewer metadata, Check result, commands, evidence, findings, and remaining risk. Relevant later changes make the receipt stale. Adapter, model, and fresh-session identity remain declared metadata, not cryptographic proof.
All quality gates default to manual. Projects can make them conditional or
required through blueprint/config.json without granting permission to merge,
push, deploy, publish, or waive findings.
Read Code Quality, Audit, and Project Configuration for the complete rules.
Blueprint keeps durable project context available without loading every workflow rule into every Claude Code turn. New installations auto-import only the core project instructions, compact overview, and active spec. Workflow skills load coding standards and interaction rules when they are needed, and implementation uses one feature-level review packet by default.
/overview keeps generated project context below 20,000 bytes, while /doctor
flags oversized legacy overviews. A controlled Opus 5 test measured 55% less
startup context and about 36% less Feature context after compacting the overview.
Existing projects keep their own CLAUDE.md and configuration during updates.
Run /doctor afterward, then follow the updating guide
for any recommended cleanup. Read the benchmark
for the full method, charts, results, and limits.
Automatic checks are an explicit setup step, not part of installation or
onboarding. Run ci when you want Blueprint to define one project-specific
Verify command from checks the repository already has and create or align a
matching GitHub workflow.
Verify is the recipe. CI runs that same recipe automatically on pull requests and default-branch pushes. Blueprint does not invent a test runner, coverage target, browser suite, security scan, or version matrix just to fill the workflow.
Read CI Setup for the full contract.
The conservative workflow remains the default. Two explicit modes can automate bounded local work while preserving the same gates:
- Autopilot runs one feature or fix through its configured regular gates, then stops before completion.
- Continuous Mode processes reviewed build-plan items serially with one local branch and one local main commit per completed feature.
Neither mode pushes, deploys, publishes, sends messages, performs destructive actions, waives findings, or makes uncovered product decisions.
Read Autopilot and Continuous Mode before using them.
| Tool | Installed adapter | Invocation |
|---|---|---|
| Codex | .agents/skills/ |
$feature, $implement, or plain language |
| Claude Code | .claude/skills/ |
/feature, /implement, and other slash commands |
| GitHub Copilot | AGENTS.md and .agents/skills/ |
Ask Copilot to run the matching skill |
| OpenCode | AGENTS.md and compatible shared skills |
Ask OpenCode to run the matching skill |
| Other tools | AGENTS.md plus readable skill files |
Ask the agent to follow the matching SKILL.md |
Codex, GitHub Copilot, and OpenCode can share .agents/skills/. Claude Code
uses .claude/skills/, which OpenCode can also reuse. The installer avoids
duplicating the same skills under .opencode/skills/.
Read Tool Adapters for selection, invocation, and project-layout details.
Use only what the project needs:
discoverydevelops detailed plans through a reviewed conversation.doctorchecks Blueprint health without changing files.statusreports progress, drift, blockers, and the suggested next action.testsadds or normalizes stack-native unit testing.browser-testsadds an explicit repeatable browser harness.cialigns one project Verify command with GitHub checks.prototypecreates throwaway static mockups before the build loop.releaseprepares local Render or Vercel configuration and readiness checks.
The documentation has one page for every command, plus guides for testing, configuration, manual review, updating, and troubleshooting.
Check a Blueprint project without changing it:
npx create-ai-blueprint@latest statusPreview and apply managed workflow updates:
npx create-ai-blueprint@latest update --dry-run
npx create-ai-blueprint@latest updateAn optional global installation exposes the shorter read-only status and local dashboard commands:
npm install --global create-ai-blueprint@latest
blueprint status
blueprint dashboardThe dashboard binds to 127.0.0.1, reads the same project files and Git state,
and stops when you press Ctrl+C. It does not run workflow commands or expose the
project outside the local machine.
Read Updating Blueprint, CLI Status, and Local Dashboard for details.
- Getting Started
- Core Workflow
- Command Reference
- Project Configuration
- Testing
- Manual Review
- Local-Only Mode
- Troubleshooting
- Follow SUPPORT.md for usage questions and reproducible bugs.
- Follow SECURITY.md to report vulnerabilities privately.
- Read CONTRIBUTING.md before opening a pull request.
- Review CHANGELOG.md for published package history.
AI Blueprint is available under the MIT License.
