Code Review Skill

SkillAI & models

Multi-agent code review with parallel specialized reviewers, architecture validation, challenge validation, and durable handling of previously decided findings. Use `rq` to request a review of diffs (defaults to main branch), `rs` to respond to findings and record intentional non-fix decisions beside the relevant code. Triggers on "review this", "review my code", "code review", "check for bugs", "audit this", when examining PRs, pull requests, branches, or diffs. Always asks user before applying fixes or adding decision comments.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Code Review Skill skill

What this skill tells your AI

The instructions your AI receives, as published by martinffx/atelier in skills/code-review/SKILL.md and read by ahel’s review.

Multi-agent code analysis with a simplicity gate, focused reviewers, and challenge validation.

Uses explicit subagent dispatch patterns from code-subagents.

Prerequisites

  • Required: git

Arguments

Command Routing

InvocationBehavior
(no arguments)Review diff to main branch
rqReview diff to main branch
rq mainReview diff to main branch
rq developReview diff to develop branch
feat/fooReview diff to feat/foo (bare branch = rq)
rsRespond to review findings (interview mode)

Subagent Architecture

Use these concrete harness subagent types. If an exact match is unavailable, use the most correct available subagent based on the harness-provided descriptions.

subagent_typePurpose
sentinelTriage only: changed-file analysis, context retrieval, reviewer selection
oracleReviewer personas, evidence-based critique, failure-mode analysis, challenge validation
architectArchitecture, design-boundary, data-model, and API-contract review

Reviewer names such as Security, Correctness, Maintainability, and PerformanceOperator are prompt personas, not subagent types. Do not use general; it is not a harness agent.

Simplicity is a mandatory reviewer persona for migrations, refactors, and architectural changes. Run it before the other reviewers; do not include it in the parallel reviewer batch.

Review Priority

Review in this order:

  1. User goal and prior behavior
  2. Necessity and deletion
  3. Correctness and security
  4. Architecture
  5. SDD compliance

Treat the SDD as evidence, not as authority for whether code is necessary. A finding that would expand behavior or infrastructure requires user approval. Never apply it as an ordinary review fix.

rq (Request Review) Subagents

StepParallelPurpose
1. TriageNoDetect context, select reviewers, identify relevant skills to look for
2. SimplicityNoMandatory necessity and deletion review for migrations, refactors, and architectural changes
3. ReviewersYes (per reviewer)Correctness, security, and other specialty analysis
4. SynthesisNoDeduplicate findings inline
5. ArchitectNoArchitecture review
6. SDD + ChallengeNoCheck SDD compliance last, then validate findings

rs (Respond to Review)

No subagents. Interactive interview mode that plans fixes and records approved non-fix resolutions as tagged code comments — 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
  • Relevant skill search pre-step before each analysis phase
  • Error handling: Log failures, continue with partial results

Agent Dispatch

AgentUsed In Step
sentinelTriage only (context retrieval, file analysis)
oracleReviewers and challenge validation
architectArchitect (architecture review)

Synthesis is performed inline by the main agent.

References

ReferencePurpose
rq.mdRequest review workflow - detailed steps with prompts
rs.mdRespond to review workflow - interview mode
reviewers.mdReviewer definitions and prompts
output.mdOutput format specification

Workflow Routing

  • No arguments, rq, or bare branch → rq.md
  • rsrs.md

Signals

GitHub stars
46
Forks
4
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
code-review-martinffx
Source
github.com/martinffx/atelier