nesnilnehc/ai-cortex/orchestrate-code-review
Claude Code and agent skill by nesnilnehc/ai-cortex
- community
Checking that the SKILL.md file is still in the repository.
Orchestrator skill — sequence atomic review-* skills into the post-coding engineering gate and aggregate their findings; functional alignment and acceptance verification remain separate.
Install
npx vskill@latest install nesnilnehc/ai-cortex/orchestrate-code-reviewSKILL.md
The same SKILL.md was published earlier as nesnilnehc/ai-cortex/orchestrate-code-review.
Orchestrator Skill: Orchestrate Code Review
Purpose
Chain the atomic review-* skills in a fixed order and aggregate their findings as the engineering gate. This skill orchestrates only; it runs no code analysis. Functional alignment against requirements/design/tasks and functional acceptance execution are a sibling gate handled by review-implementation-alignment and automate-tests, normally converged by orchestrate-repair-loop.
Orchestrator Role
This workflow owns review scope, dispatch, failure handling and the combined engineering report.
- Detect context: determine scope (diff / codebase), language and framework from user intent and project state
- Chain the calls: run the atomic review-* skills in the fixed order scope → language → framework → library → cognitive
- halt-on-failure: when any atomic skill fails, stop the remaining steps and report the findings collected so far
- Aggregate output: collect and sort findings without rewriting or merging them, group them by location so one defect's several concerns read as one site, and derive risk_signals mechanically
Strictly forbidden: running code analysis inside this skill, embedding lint rules, reimplementing the logic of a single atomic skill.
Execution Order (Fixed)
| Step | Type | Candidate atomic skills | Selection rule | |
|---|---|---|---|---|
| 1 | scope | review-diff or review-codebase | Pick one, by user intent (diff = the current changes; codebase = the given path) | |
| 2 | language | review-typescript / review-python / review-go / review-java / review-php / review-powershell / review-dotnet / review-sql | 0 or 1, inferred from the dominant language in scope | |
| 3 | framework | review-react / review-vue | 0 or 1, inferred from the framework in scope | |
| 4 | library | review-orm-usage | 0 or 1, inferred from ORM usage in scope | |
| 5 | cognitive | review-security → review-reliability → review-error-surfacing → review-performance → review-architecture → review-observability → review-testing | All of them, in order; each atomic Skill resolves whether its profiles apply |
A step with no match is skipped; the final report names which steps were skipped and why.
Behavior
Step 1: Detect context
- Resolve scope from the request and repository state. With current changes and no specified scope, use
diff; ask only when neither a change set nor a target path can be identified. - diff mode includes untracked files by default
- codebase mode defaults to the repository root; a path may be given
- Language / framework inference: infer from the file extensions in scope and from dependency files (package.json, pyproject.toml and the like); when it is unclear, have the user choose from the candidate list
Step 2: Chain the calls
Call the atomic skills in the order of the table above, collecting findings conforming to Findings Spec §5.1 at each step.
Step 3: halt-on-failure
Any atomic skill fails → stop the remaining steps, output the findings collected plus an account of the failure.
Step 4: Aggregate output
- Grouping: preserve every atomic finding unchanged, and group them by normalized location per findings-list §5.4.1. One changed contract failing an architecture, a testing and an alignment item is one site with three concerns, not three defects. The group takes its highest-severity member as primary; severity counts stay computed over findings, so grouping never changes a total. A group is one site, not a claim of shared cause — never group by an inferred common root.
- Duplicate handling: when two findings in a group share
location + title, additionally mark them an exact duplicate; do not merge them or discard either source. - Risk signals: a mechanical rule mapping over the aggregated findings plus the change context (severity distribution, file spread, keyword matches), with no subjective judgement; output the empty list
[]when no signal is clear - Rule coverage: preserve each atomic Skill's Rule coverage object separately; never merge evidence-limited or not-applicable IDs into passed IDs
Input and Output
Input
- User intent (review the diff / the codebase / a given path)
- Optional: a language / framework hint
Output
One aggregated report:
- Findings from each atomic skill (grouped by category or location)
- An account of the skipped steps
- The
risk_signalslist (each entry carries signal_name plus an optional confidence ∈ [0, 1]) - A summary at the top (counts by severity, counts by category, and the number of sites the findings group into)
- Rule coverage by emitting Skill (
passed/waived/not_applicable/evidence_limited)
Restrictions
Hard boundaries
- Delegate code analysis, lint and Rule evaluation to the matching review Skills.
- No change to the execution order (scope → language → framework → library → cognitive)
- No invented findings; only what the atomic skills produced gets aggregated
- Atomic skills are not asked to emit risk_signals; risk labels are produced in the aggregation stage alone
- No code edits / no fixes applied (that goes to the developer or to
orchestrate-repair-loop)
Skill boundaries
Not done inside the orchestrator skill (an atomic sub-skill or a downstream skill should take it):
- Direct code analysis → the individual atomic review-* skills
- Single-dimension review → call the matching atomic skill directly
- Applying fixes →
orchestrate-repair-loopor the development process - Writing tests → the test-related skills
- Comparing implementation with approved requirements/design/tasks →
review-implementation-alignment - Running functional acceptance checks →
automate-testsor the project-specific acceptance harness
Self-Check
- [ ] Reviewer selection used the request and project context. Code and Rule judgments came from the dispatched reviewers.
- [ ] The scope was resolved from the request and repository state; any genuine ambiguity was clarified
- [ ] The execution order is fixed (scope → language → framework → library → cognitive)
- [ ] Skipped steps are noted in the report
- [ ] Every atomic finding was preserved unchanged; findings were grouped by location only, and exact duplicates were annotated rather than merged
- [ ] Severity counts were computed over findings, not over groups
- [ ] risk_signals were derived mechanically from the aggregated findings, with no subjective judgement
- [ ] Rule coverage metadata was preserved per emitting Skill
Examples
Example 1: diff review of a .NET project
- Input: the user says "review my changes"; the project is C#
- Dispatch:
review-diff→review-dotnet→review-security→review-reliability→review-error-surfacing→review-performance→review-architecture→review-observability→review-testing - Skipped: the framework / library steps (no match)
- Aggregation: one report plus risk_signals
Example 2: codebase review of a Vue frontend
- Input:
src/frontend; the project uses Vue 3 and an ORM - Dispatch:
review-codebase→review-typescript→review-vue→review-orm-usage→ all seven cognitive reviewers - Aggregation: one report
Example 3: edge case — no language match
- Input: a Rust project (no atomic skill covers it)
- Dispatch:
review-codebase→ skip language / framework / library → run every cognitive step - Aggregation: the report names the skipped language / framework steps and the reason
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/orchestrate-code-review/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 3
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nesnilnehc/ai-cortex/orchestrate-code-review)