review-deeplisted
Install: claude install-skill Jewgah/claude-code-skills
# Deep Multi-Agent Code Review
Perform an exhaustive, multi-perspective code review using parallel agents that cross-check each other. This catches bugs that a single-pass review misses — especially race conditions, state inconsistencies, and cross-file dependency breaks.
> **When to use this** — for a quick everyday pre-commit check, a plain single-pass review (no subagents) is enough; use **this** for a risky local change you want stress-tested before it ships; use Claude Code's built-in `/code-review` once it's a **GitHub PR** (it posts inline comments and scores confidence). This skill reviews the **local working tree** and prints to the terminal — it does NOT post to GitHub. If the change is already a PR, prefer `/code-review`.
## Step 1: Gather Changes
1. Determine scope from `$ARGUMENTS`:
- "staged": `git diff --cached`
- "unstaged": `git diff`
- "last-commit": `git rev-parse HEAD~1 >/dev/null 2>&1 && git diff HEAD~1 || git diff $(git hash-object -t tree /dev/null)` (falls back to the empty tree on a repo's first commit)
- "branch" / "pr": review the whole branch against its base. Detect the default branch robustly: `BASE=$(git merge-base HEAD "$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null | sed 's@^origin/@@' || echo main)" 2>/dev/null || git merge-base HEAD main 2>/dev/null || git merge-base HEAD master)`. If `BASE` is still empty (non-standard default branch), fall back to `git diff` and state which base you used. Then `git