Claude for Code Review & Debugging
A second reviewer who read the whole diff and never gets tired, sitting right in your terminal.
Intermediate
/code-review skill points Claude Code at a change and reviews
it the way a careful colleague would: correctness bugs first, then reuse, simplification,
and efficiency cleanups — not a style linter, it reads for intent, not just syntax, and it
only runs when you actually invoke it, never silently on its own. Left with no arguments it
reviews your current working diff, but you can just as easily hand it a PR number, a
branch, or a path instead.
--comment posts them as inline comments on a GitHub PR instead of just
printing them to the terminal; --fix goes further and applies the findings
directly to your working tree once the review finishes, so you review a diff of the fixes
rather than a list of suggestions.
/code-review ultra is the heaviest setting: instead of one pass running
locally, it launches several review agents in the cloud that work the change in parallel.
By default it bundles your current local branch — no GitHub remote required — or you can
point it at a specific PR by number. It needs an actual git repository to work from; if
you're not in one yet, Claude Code will offer to run git init first rather
than failing outright. /ultrareview still works as a deprecated alias for the
same command, kept around for old habits.
--post offers to publish the finished findings back to that
PR as a single comment from your own GitHub account (a comment, not a formal review) — an
interactive session still confirms before posting, while a non-interactive one posts on the
flag alone. --no-post hides that offer if you'd rather it never ask.
/code-review's closest sibling is /simplify, and it's easy to
reach for the wrong one. /simplify looks at the same kind of changed code but
narrows its attention to reuse, simplification, and efficiency cleanups — it deliberately
does not hunt for correctness bugs, and rather than reporting findings for you to weigh, it
applies them directly. Reach for /code-review when you want someone checking
whether the change is actually correct; reach for /simplify once it already
works and you just want it tightened up.
/run skill goes a step further for a specific claim: it launches
your actual app and confirms a change does what it should, rather than trusting tests or
type-checks alone to prove it.
/code-review and /run are packaged and invoked.