跳到正文
Skillpedia
任务与项目280k · #380

plan-orchestrate

它能做什么

把多步骤的计划转换成可以直接使用的命令。它会读取你的计划,将其拆解,并为每个部分推荐合适的命令,同时包含重要的细节。

适用场景

  • ✓你手头有一份行动计划文档(比如 PRD 或实施计划)。
  • ✓你希望 AI 为计划中的每个步骤生成命令。
  • ✓你不想手动为每个计划步骤挑选要用的命令。

技能链接

https://github.com/affaan-m/ECC/blob/main/skills/plan-orchestrate/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/affaan-m/ECC/blob/main/skills/plan-orchestrate/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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-workflows or the native workflows/*.workflow.js scripts 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 to all.
  • --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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能