blueprint
它能做什么
Blueprint 能为大型编程任务制定详细的分步计划。它会把工作拆分成更小、更容易管理的部分,就像搭建复杂东西时的说明书一样。
适用场景
- ✓当你要规划一个需要好几天才能完成的大型新功能时。
- ✓当你要决定如何修改现有代码的重要部分时。
- ✓当你需要协调项目中多人或多个 AI 的工作时。
技能链接
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/blueprint/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我制定一个计划,为我的网站添加登录系统。”
每周 5 个新技能,1 分钟读完。
工作原理
它会分析主要目标,并把它拆分成一些小步骤,比如“创建注册表单”或“设置数据库”。每个步骤都有详细说明,所以任何人都能照着执行,而不需要额外的信息。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 ECC. 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/ECC
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)
…
常见问题
使用 Blueprint 需要会编程吗?
不需要,你只要用一句简单的话描述想做什么就行。创建计划的技术部分由 Blueprint 处理。
如果某个步骤失败了怎么办?
Blueprint 包含检查机制和“回滚”策略,确保项目可以被安全地修正或撤销,尽量降低风险。
它能规划可以同时进行的工作吗?
可以。它会识别哪些步骤可以并行(同时)进行,哪些需要按顺序进行,从而优化时间。
详情
作者的原始描述
Turn a one-line objective into a step-by-step construction plan for multi-session, multi-agent engineering projects: one-PR-sized steps with self-contained context briefs, dependency graph with parallel-step detection, adversarial review gate, and plan mutation protocol. Use when planning a large feature, refactor, or roadmap that spans multiple PRs or sessions; not for single-PR tasks or when the
repo: affaan-m/ECC
热度
- GitHub 星标
- 280k
- 排名
- #144
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。