/code-review
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
[Skill](/docs/en/skills#bundled-skills). Review the current diff, or a PR number, branch, or path you pass, for correctness bugs and cleanup opportunities. Pass --fix to apply findings, --comment to post them as inline GitHub PR comments, or ultra to run a deep [cloud review](/docs/en/ultrareview). With ultra on a github.com PR target, --post preselects [posting the finished findings to the PR](/docs/en/ultrareview#post-findings-to-the-pull-request) in the launch dialog. See [Review a diff locally](/docs/en/code-review#review-a-diff-locally) for the effort levels, targeting, and how it relates to /simplify. Alias: /review
Anthropic's own wording. Read off Commands, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.242/code-review says when --post did nothing
Using --post on a local /code-review now tells you it was ignored and points you to --comment.
named in this entry
-
v2.1.232Code review no longer has a background workflow path
/code-review always runs inline now; the scripted background review pipeline is gone.
named in this entry
-
v2.1.229Generated review workflow leaves inline comments
The review workflow Claude scaffolds now posts inline comments on the diff.
named in this entry
-
v2.1.227/code-review ultra can post its findings to the pull request as you
Ultra review adds --post and --no-post, so findings go to the PR as a comment from you.
named in this entry
-
v2.1.227/code-review can post its findings as a comment on a GitHub pull request
Code review findings can be posted straight back to your GitHub pull request as a comment.
named in this entry
-
v2.1.223Builtin
/reviewcommand dropped;/code-reviewtakes a target insteadThe /review command is gone; /code-review now takes a PR number, branch or path.
named in this entry
-
v2.1.223/code-review gains a /review alias and PR-aware help text
You can type /review instead of /code-review, and pass a PR number as the target.
named in this entry
-
v2.1.223/code-review remembers the effort level you typed, and is hidden from the model by default
/code-review reuses the last effort level you typed, and Claude can no longer run it unprompted.
named in this entry
-
v2.1.223Cloud review failure message points at plain /code-review
A failed cloud review now points you at /code-review instead of a wrong command name.
named in this entry
-
v2.1.220Prompt text for /code-review, /simplify, skill-saving and credential paths is byte-identical
Code review, simplify and skill-saving instructions are unchanged despite looking rewritten in the bundle.
named in this entry
Documentation pages
- Commands reference table Claude Code CLI
- skills mentions it Claude Developer Platform
- Set up Claude Code for your organization mentions it Claude Code CLI
- Modifying system prompts mentions it Claude Code CLI
- Extend agents with skills mentions it Claude Code CLI
- Best practices for Claude Code mentions it Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- Checkpointing mentions it Claude Code CLI
- Use Claude Code on the web mentions it Claude Code CLI
- Scan your codebase for vulnerabilities mentions it Claude Code CLI
- Code Review mentions it Claude Code CLI
- Error reference mentions it Claude Code CLI
- Feature availability mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.