Code Review Skill
Multi-agent code analysis with parallel reviewers and challenge validation.
Uses explicit subagent dispatch patterns from code-subagents.
Prerequisites
- Required: git
Arguments
Command Routing
| Invocation | Behavior |
|---|---|
| (no arguments) | Review diff to main branch |
rq |
Review diff to main branch |
rq main |
Review diff to main branch |
rq develop |
Review diff to develop branch |
feat/foo |
Review diff to feat/foo (bare branch = rq) |
rs |
Respond to review findings (interview mode) |
Subagent Architecture
rq (Request Review) Subagents
| Step | Subagent | Uses | Parallel | Purpose |
|---|---|---|---|---|
| 1 | Triage | scout agent |
No | Detect context, select reviewers, identify skills to load |
| 2 | Reviewers | general subagent |
Yes (per reviewer) | Specialty analysis (loads detected skills) |
| 3 | Synthesis | general subagent |
No | Deduplicate findings |
| 4 | Architect | architect agent |
No | Architecture review |
| 5 | Challenge | oracle agent |
No | Validate findings with sequential-thinking |
rs (Respond to Review)
No subagents. Interactive interview mode — see rs.md.
Dispatch Patterns
Follows code-subagents patterns:
- Parallel dispatch for independent reviewers
- Sequential dispatch for dependent steps
- Fresh subagent per task — no context pollution
- Skill loading pre-step before each analysis phase
- Error handling: Log failures, continue with partial results
Agent Dispatch
| Agent | Used In Step |
|---|---|
scout |
Triage (context retrieval, file analysis) |
architect |
Architect (architecture review) |
oracle |
Challenge (validate findings, sequential-thinking) |
general |
Reviewers, Synthesis |
See agents/ for agent definitions.
References
| Reference | Purpose |
|---|---|
| rq.md | Request review workflow - detailed steps with prompts |
| rs.md | Respond to review workflow - interview mode |
| reviewers.md | Reviewer definitions and prompts |
| output.md | Output format specification |
Workflow Routing
Source: martinffx/atelier — distributed by TomeVault.