---
description: Multi-agent code review of the current diff (style, security, performance, a11y).
argument-hint: [base-branch]
---

# /review-code

## Purpose

Run a structured review of pending changes across correctness, conventions, security, performance, and accessibility.

## Required context

- `CLAUDE.md`, `knowledge/anti-patterns/`, `.claude/agents/reviewer-agent.md`, `security-agent.md`, `performance-agent.md`, `accessibility-agent.md`

## Inputs

- `$1` — base branch (default `main`)

## Execution steps

1. `git diff $1...HEAD` to scope the review.
2. Invoke the `review-orchestrator` (reviewer + security + performance + a11y in parallel).
3. Aggregate findings by severity (blocker / major / minor / nit).

## Validation checklist

- [ ] Each changed file reviewed
- [ ] Security: no secrets, injection, broken authz
- [ ] Conventions: matches `CLAUDE.md`
- [ ] Tests cover new behavior

## Expected output

A findings list grouped by severity with file:line references.

## Failure handling

Blockers must be fixed before merge. Nits are optional.
