blueprint
affaan-m/everything-claude-code
Turn a one-line objective into a step-by-step construction plan for multi-session engineering projects.
What is blueprint?
Blueprint breaks down large features, refactors, or migrations into one-PR-sized steps with self-contained context so any agent can execute them independently. Use it when planning work that spans multiple sessions, PRs, or parallel workstreams; skip it for single-PR tasks or when the user says "just do it".
- Generates step-by-step Markdown plans with dependency graphs and parallel step detection
- Writes self-contained context briefs for each step so fresh agents can execute cold
- Runs adversarial review against a checklist and anti-pattern catalog before finalizing
- Detects git/GitHub CLI availability and auto-switches between branch/PR/CI workflow and direct mode
- Includes rollback strategy, verification commands, and exit criteria per step
How to install blueprint
npx skills add https://github.com/affaan-m/everything-claude-code --skill blueprint- Claude Code (for /blueprint slash command)
- Git and GitHub CLI optional but recommended for full branch/PR/CI workflow support
How to use blueprint
- 1.Invoke the skill with /blueprint <project-name> "<one-line objective>"
- 2.Review the generated Markdown plan file in plans/
- 3.Each step includes context brief, task list, verification commands, and exit criteria
- 4.Execute steps in dependency order; parallel steps can run concurrently
- 5.Use the plan mutation protocol if you need to split, insert, skip, or reorder steps
Use cases
- Breaking a large feature into multiple PRs with clear dependency order
- Planning a database migration or refactor spanning multiple sessions
- Coordinating parallel workstreams (e.g., implementing multiple LLM provider plugins in parallel)
- Documenting a multi-step architecture extraction or plugin system design
- Migrating from one technology stack to another with staged rollout
- Engineering teams planning multi-session projects
- Developers coordinating work across multiple PRs or agents
- Architects designing phased migrations or refactors
- Anyone breaking down complex objectives into manageable, parallelizable steps
blueprint FAQ
Blueprint detects their absence and auto-switches to direct mode, generating edit-in-place plans instead of branch/PR/CI workflows.
Only if they have no shared dependencies. The dependency graph shows which steps can run in parallel and which must be sequential.
Blueprint includes a plan mutation protocol for splitting, inserting, skipping, reordering, or abandoning steps with formal audit trail.
No. Blueprint is pure Markdown with no hooks, shell scripts, executable code, package.json, or build steps.
Skip it for tasks completable in a single PR, fewer than 3 tool calls, or when the user explicitly says "just do it".
Full instructions (SKILL.md)
Source of truth, from affaan-m/everything-claude-code.
name: blueprint description: >- Turn a one-line objective into a step-by-step construction plan for multi-session, multi-agent engineering projects. Each step has a self-contained context brief so a fresh agent can execute it cold. Includes adversarial review gate, dependency graph, parallel step detection, anti-pattern catalog, and plan mutation protocol. TRIGGER when: user requests a plan, blueprint, or roadmap for a complex multi-PR task, or describes work that needs multiple sessions. DO NOT TRIGGER when: task is completable in a single PR or fewer than 3 tool calls, or user says "just do it". metadata: origin: community
Blueprint — Construction Plan Generator
Turn a one-line objective into a step-by-step construction plan that any coding agent can execute cold.
When to Use
- Breaking a large feature into multiple PRs with clear dependency order
- Planning a refactor or migration that spans multiple sessions
- Coordinating parallel workstreams across sub-agents
- Any task where context loss between sessions would cause rework
Do not use for tasks completable in a single PR, fewer than 3 tool calls, or when the user says "just do it."
How It Works
Blueprint runs a 5-phase pipeline:
- Research — Pre-flight checks (git, gh auth, remote, default branch), then reads project structure, existing plans, and memory files to gather context.
- Design — Breaks the objective into one-PR-sized steps (3–12 typical). Assigns dependency edges, parallel/serial ordering, model tier (strongest vs default), and rollback strategy per step.
- Draft — Writes a self-contained Markdown plan file to
plans/. Every step includes a context brief, task list, verification commands, and exit criteria — so a fresh agent can execute any step without reading prior steps. - Review — Delegates adversarial review to a strongest-model sub-agent (e.g., Opus) against a checklist and anti-pattern catalog. Fixes all critical findings before finalizing.
- Register — Saves the plan, updates memory index, and presents the step count and parallelism summary to the user.
Blueprint detects git/gh availability automatically. With git + GitHub CLI, it generates full branch/PR/CI workflow plans. Without them, it switches to direct mode (edit-in-place, no branches).
Examples
Basic usage
/blueprint myapp "migrate database to PostgreSQL"
Produces plans/myapp-migrate-database-to-postgresql.md with steps like:
- Step 1: Add PostgreSQL driver and connection config
- Step 2: Create migration scripts for each table
- Step 3: Update repository layer to use new driver
- Step 4: Add integration tests against PostgreSQL
- Step 5: Remove old database code and config
Multi-agent project
/blueprint chatbot "extract LLM providers into a plugin system"
Produces a plan with parallel steps where possible (e.g., "implement Anthropic plugin" and "implement OpenAI plugin" run in parallel after the plugin interface step is done), model tier assignments (strongest for the interface design step, default for implementation), and invariants verified after every step (e.g., "all existing tests pass", "no provider imports in core").
Key Features
- Cold-start execution — Every step includes a self-contained context brief. No prior context needed.
- Adversarial review gate — Every plan is reviewed by a strongest-model sub-agent against a checklist covering completeness, dependency correctness, and anti-pattern detection.
- Branch/PR/CI workflow — Built into every step. Degrades gracefully to direct mode when git/gh is absent.
- Parallel step detection — Dependency graph identifies steps with no shared files or output dependencies.
- Plan mutation protocol — Steps can be split, inserted, skipped, reordered, or abandoned with formal protocols and audit trail.
- Zero runtime risk — Pure Markdown skill. The entire repository contains only
.mdfiles — no hooks, no shell scripts, no executable code, nopackage.json, no build step. Nothing runs on install or invocation beyond Claude Code's native Markdown skill loader.
Installation
This skill ships with Everything Claude Code. No separate installation is needed when ECC is installed.
Full ECC install
If you are working from the ECC repository checkout, verify the skill is present with:
test -f skills/blueprint/SKILL.md
To update later, review the ECC diff before updating:
cd /path/to/everything-claude-code
git fetch origin main
git log --oneline HEAD..origin/main # review new commits before updating
git checkout <reviewed-full-sha> # pin to a specific reviewed commit
Vendored standalone install
If you are vendoring only this skill outside the full ECC install, copy the reviewed file from the ECC repository into ~/.claude/skills/blueprint/SKILL.md. Vendored copies do not have a git remote, so update them by re-copying the file from a reviewed ECC commit rather than running git pull.
Requirements
- Claude Code (for
/blueprintslash command) - Git + GitHub CLI (optional — enables full branch/PR/CI workflow; Blueprint detects absence and auto-switches to direct mode)
Source
Inspired by antbotlab/blueprint — upstream project and reference design.
Related skills
More from affaan-m/everything-claude-code and the wider catalog.
security-review
Security checklist and patterns for authentication, input validation, secrets, and sensitive features.
golang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable applications.
coding-standards
Baseline coding conventions for naming, readability, immutability, and quality across projects.
frontend-patterns
React and Next.js patterns for components, state management, performance, and modern frontend practices.
backend-patterns
REST/GraphQL API design, database optimization, and server-side patterns for Node.js, Express, and Next.js.
golang-testing
Go testing patterns: table-driven tests, subtests, benchmarks, fuzzing, and TDD methodology.