plan-orchestrate
它能做什么
把多步骤的计划转换成可以直接使用的命令。它会读取你的计划,将其拆解,并为每个部分推荐合适的命令,同时包含重要的细节。
适用场景
- ✓你手头有一份行动计划文档(比如 PRD 或实施计划)。
- ✓你希望 AI 为计划中的每个步骤生成命令。
- ✓你不想手动为每个计划步骤挑选要用的命令。
技能链接
https://github.com/affaan-m/ECC/blob/main/skills/plan-orchestrate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把这份计划转换成命令:[计划文档链接]”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会读取你的计划,识别每个步骤并进行分类。对于每个步骤,它会选择最合适的命令,并附上所需的全部信息,你只需复制粘贴即可。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Plan Orchestrate
Bridge a plan document to the current ECC slash-command surface by emitting one ready-to-paste command per step. This skill is a router only: it picks the command and fills in the command's own documented argument form. It does not compose agent chains and does not influence what a command runs internally — each command owns its own execution behavior. The skill is generative only; it never executes commands. The user pastes each line when ready.
When to Use
- User has a multi-step plan document (PRD, RFC, implementation plan) and wants ready-to-paste commands for each step.
- User says "turn this plan into commands", "what command should I run for each step", "orchestrate this plan".
- A step-by-step plan exists but the user does not want to manually pick a command per step.
Skip when:
- The work is one ad-hoc step → run the appropriate slash command directly (see the catalogue below).
- The plan is unreadable or empty. Lack of explicit numbering alone is not a skip condition — see the "No clear steps" edge case below.
- The plan should run autonomously in the background → prefer
dmux-workflowsor the nativeworkflows/*.workflow.jsscripts instead.
Inputs
<plan-doc-path> [--scope=all|step:<n>|range:<a>-<b>] [--dry-run]
<plan-doc-path>— required; relative or absolute path (@docs/...accepted).--scope— limits emitted steps; defaults toall.--dry-run— print decomposition + command rationale only; do not emit final commands.
Scope rule — a step is only emitted if the command can carry it
Every emitted command must carry its step's identity and scope. A command accepts arguments only in the form its own file documents (frontmatter argument-hint or a ## Usage section; docs/COMMAND-REGISTRY.json is the generated index). The only form that carries a plan step is a free-form task-description argument, because that argument travels with the command when it is pasted.
Scope-carrying commands — accept a free-form task description:
| Command | Documented argument |
|---|---|
/orch-add-feature |
<what to add> |
/orch-fix-defect |
<what is broken> |
/orch-change-feature |
<the new desired behavior> |
/orch-refine-code |
<what to restructure> |
/plan |
[feature description | path/to/*.prd.md] |
Everything else fails closed. Commands whose documented arguments cannot carry plan scope — /build-fix, /test-coverage, /update-docs (no argument form at all), /code-review (only [pr-number | pr-url | blank]), /security-scan ([path] and format/severity flags only), /loop-start ([pattern] and --mode only) — are never emitted. A step that classifies to one of them is reported as:
BLOCKED — /<command> cannot carry plan scope; run manually if wanted: <exact documented command form>
Blocked steps appear in the overview and per-step output and are excluded from the Batch execution block. This is deliberate: a bare /update-docs pasted inside a five-step batch has no machine-readable link to the step it was planned for. The user can still run the manual command themselves; the router just refuses to present an unscoped command as if the step were orchestrated.
This table is a validated snapshot of the command files, not an independent source of truth. tests/skills/plan-orchestrate-registry.test.js validates every command named here against commands/<name>.md and docs/COMMAND-REGISTRY.json and fails when they disagree. If a command file and this skill ever disagree at runtime, the command file wins. A command that has since been retired from commands/ fails closed like a no-argument command — the step is reported BLOCKED and the router never emits a name the command surface no longer has.
Task description (scope-carrying commands only)
For scope-carrying commands, each emitted <task description> must:
- Be self-contained (the command does not need the plan document open).
- Start with
[Plan: <path>#step-<id>]— this marker is the step's machine-readable link. - Include 1–3 verifiable acceptance criteria.
- Include a Scope guard (
Out of scope: ...) only if the plan declares one for this step. Inherit verbatim. If the plan has no out-of-scope statement, omit the clause entirely — do not invent one. - Be 200–600 characters; one line; embedded
"escaped as\"; no literal newlines.
…
常见问题
如果某个命令无法包含步骤的细节会怎样?
如果命令无法携带步骤细节(比如范围),AI 会提示该步骤已被阻塞,并说明如何在不带细节的情况下手动运行该命令。
AI 会替我执行这些命令吗?
不会。AI 只负责生成可直接使用的命令。等你准备好执行时,需要自己逐条复制粘贴。
我可以限制 AI 只把计划中的部分步骤转换成命令吗?
可以。你可以使用 '--scope' 选项来指定:全部步骤、某一个步骤(例如 'step:3'),或某个步骤范围(例如 'range:1-5')。
详情
作者的原始描述
Read a plan document, decompose it into steps, classify each step, and emit the ready-to-paste ECC slash command for that step, carrying the step identifier and scope in the command's own documented argument form. Generative only — never invokes commands itself and never claims to control what a command runs internally. Steps whose command cannot carry plan scope fail closed instead of being emitt
repo: affaan-m/ECC
热度
- GitHub 星标
- 280k
- 排名
- #380
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。