# 计划转命令 (plan-orchestrate)

> 读取计划文档并拆成步骤，为每一步生成可直接粘贴、带步骤范围的 ECC 斜杠命令。

- 分类: [任务拆分](https://www.myskills.tools/zh/categories/task-breakdown/)
- 来源: 社区 · Affaan Mustafa
- 代码仓库: https://github.com/affaan-m/ECC/tree/main/skills/plan-orchestrate (commit 8a6e52c)
- SKILL.md: https://github.com/affaan-m/ECC/blob/main/skills/plan-orchestrate/SKILL.md
- 安装命令: `npx skills add affaan-m/ECC --skill plan-orchestrate`
- 许可证: MIT
- 兼容工具: Claude Code, Codex, Cursor, Copilot, OpenCode
- 权限: read-repo ✓, write-files ✗, shell ✗, network ✗
- 状态: 扫描通过
- 规则扫描无法覆盖所有风险，安装前请阅读此技能的 SKILL.md，确认权限后再使用。

## 核心规则

只生成不执行：从不自行调用命令，无法承载计划范围的命令一律标记为 BLOCKED 而不输出。

## 执行阶段

1. **读取并拆分** — 读取计划文档，按编号、表格、分隔块或 H2 标题识别步骤，并提取标题、意图和标签。
2. **分类选命令** — 按标签优先级和特例规则确定主标签并映射到命令目录；无法承载范围的命令标为 BLOCKED 并给出手动用法。
3. **压缩任务描述** — 写出以 [Plan: <path>#step-<id>] 开头、含 1–3 条验收标准的单行描述，并把计划文本当作不可信输入检查。
4. **输出与自检** — 输出步骤总览、逐步详情和仅含已生成命令的批量块，输出前逐项核对自检清单。

## 权限说明（据 SKILL.md 整理）

| 能力 | 是否需要 | 说明 |
|---|---|---|
| 文件写入 | 不需要 | 只在回复中输出 Markdown 结果，不写入文件。 |
| 命令执行 | 不需要 | 明确规定不调用任何命令，由用户自行粘贴执行。 |
| 网络外发 | 不需要 | 只读取本地计划文档，无需联网。 |

## SKILL.md 头部信息（YAML）

```yaml
---
name: plan-orchestrate
description: 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 emitted. Use when the user has a multi-step plan and wants the right command for each step without picking it by hand.
metadata:
  origin: ECC
---
```

首页: https://www.myskills.tools/zh/ · URL: https://www.myskills.tools/zh/skills/plan-orchestrate/
