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 the tdd-workflow skill. 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
planner agent (or architect /
Exemplo
"Adiciona login": orch-add-feature → size small → research leve → plan → TDD → review → commit
Gate 1 (humano aprova plano) antes do TDD; gate 2 antes do commit
Security trigger (auth) → no mínimo standard, mesmo com 2 arquivos
1---2name: orch-pipeline3description: "Use when shared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the two human gates that the orch-* operation skills delegate to. Not usually invoked directly. Triggers on \"orch-pipeline\", \"orch pipeline\", \"pipeline\"."4metadata:5 source: https://skillmd.com/skills/majinmagros/orch-pipeline6 origin: ECC7---89# Orchestrator Pipeline (shared engine)1011The `orch-*` skills are thin wrappers. They do not re-implement any work — they12classify the request, choose which phases of *this* pipeline run, and delegate13each phase to an existing ECC agent or command. This file is that pipeline.1415> Invoke an operation skill (`orch-add-feature`, `orch-fix-defect`, …) rather16> than this engine directly. This file is the reference they point at.1718## When to Use1920- Loaded indirectly whenever an `orch-*` operation skill runs.21- Read directly only when adding a new operation to the family or tuning the22 shared phases, gates, or agent map.2324## The operation family2526| Skill | Operation | Trigger | First move |27|-------|-----------|---------|------------|28| `orch-add-feature` | feature | capability does not exist yet | research + plan a new slice |29| `orch-change-feature` | tweak | works, but desired behavior differs | amend existing behavior *and its tests* |30| `orch-fix-defect` | fix | broken; behavior is wrong | reproduce as a failing test, then fix |31| `orch-refine-code` | refactor | behavior stays, structure improves | restructure while keeping tests green |32| `orch-build-mvp` | mvp | bootstrap from a design/spec doc | ingest doc → vertical slices |3334> These wrappers **compose** existing ECC commands rather than replace them:35> `/feature-dev`, `/plan`, `/code-review`, `/build-fix`, `/refactor-clean`, and36> `/gan-build`, plus the `tdd-workflow` skill. The orch-* family adds the shared37> size classifier and the two gates38> on top of them, so one umbrella covers all five operations consistently.3940## Step 0 — Classify size (right-sizing)4142Ceremony scales to blast radius. Score the request on three signals, take the43**highest** tier any signal reaches, and state the result in one line so the user44can override:4546| Tier | Files touched | New dependency / contract | Design ambiguity | Phases that run |47|------|---------------|---------------------------|------------------|-----------------|48| trivial | 1, a few lines | none | none — the change is obvious | 4 → 5 → 6 |49| small | 1 file / 1 function | none | clear once you read the code | (1 light) → 4 → 5 → 6 |50| standard | 2–5 files | maybe a new internal module | one real choice to make | 1 → 2 → 4 → 5 → 6 |51| large | many / cross-cutting | new external dep, public API, or a spec doc | multiple open questions | 1 → 2 → (3) → 4 → 5 → 6 |5253Phase 0 (Intake) always runs and is omitted from the mask column above. The54tie-breaker: anything touching a security trigger (below) or a public API /55contract is **at least** standard, regardless of file count.5657## The phases5859Each phase delegates — it does not do the work inline.6061- **0. Intake** — restate the request. For `orch-build-mvp`, read the spec/design62 doc and extract scope, locked decisions, and a feature list.63- **1. Research & Reuse** — per `rules/common/development-workflow.md`: `gh search repos` /64 `gh search code`, then Context7 / vendor docs, then package registries, then65 Exa. Prefer adopting a proven implementation over net-new code.66- **2. Plan** — delegate to the `planner` agent (or `architect` /6768## Exemplo6970```text71"Adiciona login": orch-add-feature → size small → research leve → plan → TDD → review → commit72Gate 1 (humano aprova plano) antes do TDD; gate 2 antes do commit73Security trigger (auth) → no mínimo standard, mesmo com 2 arquivos74```