| name | review-orchestration |
| description | Review routing, independent post-implementation review gates, multi-model escalation, and targeted optimization follow-up. |
| user-invocable | false |
Review Orchestration
Use this skill when the Orchestrator is deciding how to run review after implementation or debugging work.
1. Purpose
This skill governs:
- when review is required
- when review may be skipped
- single-model vs multi-model review selection
- how to route findings back into execution
- when a targeted optimization pass is justified
It does NOT replace:
review-core for independent reviewer output format
multi-model-review for consensus consolidation
2. Independent Review Gate
Default rule:
- any non-trivial implementation or verified bug fix must be reviewed by a model that did not author the change
- the reviewer must be independent from the coding/debugging agent that produced the patch
- do not close the task before the independent review is complete, unless a valid skip rule applies
Review is usually required when any are true:
- behavior changed
>= 2 files changed
- tests were added or updated
- shared utilities, public APIs, persistence, config, auth, or security-sensitive code changed
- the change came from
Debugger, Coder, or a worktree-based flow
3. Review Skip Rules
Review may be skipped only when all are true:
- the change is trivial and mechanical
- scope is localized to one file or one clearly isolated config surface
- no behavior, API, persistence, security, or performance expectation changed
- there is no meaningful regression risk
If review is skipped, say why explicitly in the final report.
4. Mode Selection
Use single-model review by default.
Use multi-model review when any are true:
- authentication, authorization, payments, secrets, or PII handling changed
- data persistence, migrations, or compatibility behavior changed
- shared infrastructure or core cross-cutting utilities changed
- change volume is large (
>5 files or roughly >200 changed lines)
- the user explicitly asked for a deep audit
5. Delegation Contract
For every review run, inject these baseline skills:
@.agents/skills/security-best-practices/SKILL.md
@.agents/skills/code-quality/SKILL.md
@.agents/skills/testing-qa/SKILL.md
@.agents/skills/review-core/SKILL.md
Single-model path:
- default reviewer:
Reviewer
- reviewer returns findings using
review-core
Multi-model path:
- run
ReviewerGPT, ReviewerGemini, and Reviewer in parallel
- use the same review skills and priority order for all 3
- pass raw outputs to
MultiReviewer
- label them exactly:
=== ReviewerGPT ===
=== ReviewerGemini ===
=== Reviewer ===
- use
@.agents/skills/multi-model-review/SKILL.md for consolidation policy
6. Fix Loop After Review
If review returns concrete issues:
- route correctness, safety, or regression issues back to the appropriate executor
- keep the fix scope narrow; do not restart implementation from scratch
- re-run independent review when the fix is non-trivial or touches the original risky area
If review returns no significant issues:
- proceed to independent verification
- close the task only after verification passes or a justified skip/override exists
7. Optimization Follow-Up
Optimization is not a mandatory polishing pass.
Use a targeted optimization follow-up only when at least one is true:
- the review flags maintainability debt that meaningfully affects future changes
- the review flags measurable performance concerns
- the review flags obvious complexity, duplication, or test fragility introduced by the change
- the user explicitly asks for cleanup or optimization
Rules:
- optimization must be grounded in review findings or explicit user intent
- do not run speculative cleanup loops after every feature
- after optimization, run a short independent re-review unless the changes are trivially local
- after review and any justified optimization follow-up, hand off to
Verifier for objective acceptance checks
8. Output Expectations for Orchestrator
The Orchestrator should keep only these decisions locally:
- review required or justified skip
- single-model or multi-model
- executor chosen for follow-up fixes
- whether targeted optimization is warranted
- whether the task is ready for
Verifier
Detailed review workflow policy belongs in this skill, not in the Orchestrator prompt.