orch-pipeline
它能做什么
这是一个用于组织编程工作的引擎。它把复杂的任务拆分成更小的步骤,并交给合适的工具处理,确保一切按正确的顺序完成,并在需要时等待人工批准。
适用场景
- ✓当你要为项目添加新功能时。
- ✓当你要修复代码中的 bug 时。
- ✓当你要修改已有功能时。
技能链接
https://github.com/affaan-m/ECC/blob/main/skills/orch-pipeline/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想添加一个新功能,让用户可以用 Google 账号登录。”
每周 5 个新技能,1 分钟读完。
工作原理
它的工作方式是:先对请求进行分类,再制定详细计划,等你批准计划后,逐步实现代码,最后在定稿前进行审查。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Orchestrator Pipeline (shared engine)
The orch-* skills are thin wrappers. They do not re-implement any work — they
classify the request, choose which phases of this pipeline run, and delegate
each phase to an existing ECC agent or command. This file is that pipeline.
Invoke an operation skill (
orch-add-feature,orch-fix-defect, …) rather than this engine directly. This file is the reference they point at.
When to Use
- Loaded indirectly whenever an
orch-*operation skill runs. - Read directly only when adding a new operation to the family or tuning the shared phases, gates, or agent map.
The operation family
| Skill | Operation | Trigger | First move |
|---|---|---|---|
orch-add-feature |
feature | capability does not exist yet | research + plan a new slice |
orch-change-feature |
tweak | works, but desired behavior differs | amend existing behavior and its tests |
orch-fix-defect |
fix | broken; behavior is wrong | reproduce as a failing test, then fix |
orch-refine-code |
refactor | behavior stays, structure improves | restructure while keeping tests green |
orch-build-mvp |
mvp | bootstrap from a design/spec doc | ingest doc → vertical slices |
These wrappers compose existing ECC commands rather than replace them:
/feature-dev,/plan,/code-review,/build-fix,/refactor-clean, and/gan-build, plus thetdd-workflowskill. The orch-* family adds the shared size classifier and the two gates on top of them, so one umbrella covers all five operations consistently.
Step 0 — Classify size (right-sizing)
Ceremony scales to blast radius. Score the request on three signals, take the highest tier any signal reaches, and state the result in one line so the user can override:
| Tier | Files touched | New dependency / contract | Design ambiguity | Phases that run |
|---|---|---|---|---|
| trivial | 1, a few lines | none | none — the change is obvious | 4 → 5 → 6 |
| small | 1 file / 1 function | none | clear once you read the code | (1 light) → 4 → 5 → 6 |
| standard | 2–5 files | maybe a new internal module | one real choice to make | 1 → 2 → 4 → 5 → 6 |
| large | many / cross-cutting | new external dep, public API, or a spec doc | multiple open questions | 1 → 2 → (3) → 4 → 5 → 6 |
Phase 0 (Intake) always runs and is omitted from the mask column above. The tie-breaker: anything touching a security trigger (below) or a public API / contract is at least standard, regardless of file count.
The phases
Each phase delegates — it does not do the work inline.
- 0. Intake — restate the request. For
orch-build-mvp, read the spec/design doc and extract scope, locked decisions, and a feature list. - 1. Research & Reuse — per
rules/common/development-workflow.md:gh search repos/gh search code, then Context7 / vendor docs, then package registries, then Exa. Prefer adopting a proven implementation over net-new code. - 2. Plan — delegate to the
planneragent (orarchitect/code-architectfor structural decisions). Output atask_listordered as thin vertical slices. → GATE 1. - 3. Scaffold —
orch-build-mvponly: stand up the first end-to-end slice. - 4. Implement (TDD) — drive each task through the
tdd-guideagent (or thetdd-workflowskill): red → green → refactor. Honor the operation's first-move rule. - 5. Review —
code-revieweragent //code-review. Addsecurity-reviewerwhenever the diff touches a security trigger (below). - 6. Commit — conventional commits (
feat:/fix:/refactor:/ …), one per logical chunk. → GATE 2.
The two gates
This family is gated, not autonomous:
- GATE 1 — after Plan. Present the
task_list; do not write implementation code until the user approves. - GATE 2 — before Commit. Present the diff summary and proposed messages; do not commit until the user confirms.
Everything between the gates flows without stopping.
Agent / command map
| Phase | Primary | Fallback / escalation |
|---|---|---|
| Intake / understand | code-explorer |
trace existing paths before a tweak, fix, or refactor |
| Plan | planner |
architect, code-architect for structural calls |
| Implement | tdd-guide (or tdd-workflow skill) |
build-error-resolver / /build-fix on build breaks |
…
常见问题
什么是“关卡”(gates)?
这些是检查点,AI 在继续之前会请你批准,比如计划制定完成之后,或最终保存改动之前。
“评估规模”(classify size)是什么意思?
这是 AI 评估你请求复杂程度的方式,用来决定需要投入多少精力、经过多少步骤。
为什么不直接使用这个引擎?
因为它是一个共享引擎。你应该使用更简单的工具(比如“orch-add-feature”),这些工具会在后台调用这个引擎来完成工作。
详情
作者的原始描述
Shared orchestration engine behind the orch-* skill family — the gated Research-Plan-TDD-Review-Commit pipeline, size classifier, agent and command map, and two human gates (plan approval, commit confirmation) that orch-* operation skills delegate to. Use indirectly via orch-add-feature, orch-fix-defect, orch-change-feature, orch-refine-code, or orch-build-mvp; read directly only when adding an or
repo: affaan-m/ECC
热度
- GitHub 星标
- 280k
- 排名
- #376
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。