review-codefeatured
Install: claude install-skill tobihagemann/turbo
# Review Code
Review code against type-specific criteria. Runs internal reviews and `/peer-review` in parallel by default. Returns combined structured findings.
**Types:** `correctness`, `security`, `api-usage`, `consistency`, `simplicity`, `coverage`
With a type argument, runs a single-concern internal review plus the peer review. With no type argument, runs all six internal reviews plus the peer review.
## Step 1: Determine the Scope
Determine what to review:
- If a specific **diff command** was provided (e.g., `git diff --cached`, `git diff origin/main...HEAD`), use that.
- If a **file list or directory** was provided, review those files directly (read the full files, not a diff).
- If **neither** was provided, default to diffing against the repository's default branch (detect via `gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'`). If there are no changes against the default branch, stop and state that there is nothing to review.
State the resolved file list before continuing: add `--name-only` to a diff command, or list the files for a file or directory scope. When the scope is a staged diff, also state how many further files `git diff HEAD --name-only` reports, so a scope narrower than intended stays visible before fanning out.
## Step 2: Run Reviews in Parallel
Each active type maps to a criteria reference file:
- **Correctness** — [references/correctness-review.md](references/correctness-review.md)
- **Security** — [references/security-revi