# /code-review Command

> It checks your changes for bugs before you ship them.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /code-review, /review, /ultrareview, /code-review ultra

## Think of it like

It is like a friend who checks your work for mistakes.

## Definition

/code-review is a bundled skill that checks your changes for bugs. With no target, it reviews your branch's new commits and anything not yet committed. Name a pull request, a branch, a path or a range of commits to review that instead. It runs as a background subagent, so it does not fill your chat. An effort level from low to max trades sure findings for wider ones. --fix applies the findings, --comment posts them on the pull request, and ultra runs a deep review in the cloud.

## Example

Lucy is about to open a pull request. She runs /code-review and goes on working. A few minutes later the review reports an off-by-one bug in her loop.

## Example code

```console
/code-review high --fix
```

Review at high effort, then fix what it finds.

## Why it matters

A bug found before the pull request costs less than one a teammate finds. It costs much less than one users find.

## Common mistake

Expecting it to follow REVIEW.md. It follows your CLAUDE.md. REVIEW.md is read only by the Code Review service on GitHub.

## Three principles

- **Looks for bugs.** In your changes.
- **Low to max.** Sure to wide.
- **Fix or comment.** --fix, --comment.

## Related terms

- [Claude Code Review](https://learn.benibix.com/term/ai/claude-code-review)
- [/simplify Command](https://learn.benibix.com/term/ai/simplify-command)
- [/security-review Command](https://learn.benibix.com/term/ai/security-review-command)
- [Code Review](https://learn.benibix.com/term/development/code-review)

## Told apart from

- [/code-review vs /simplify](https://learn.benibix.com/compare/code-review-command-vs-simplify-command): People often think /simplify is a lighter /code-review. They look for different things. /code-review looks for bugs, such as wrong logic or a missed case, and reports them. /simplify looks for cleanups, such as a helper you could reuse or code that could be shorter, and makes those changes. Run /code-review to find what is broken. Run /simplify to tidy code that already works.
- [/code-review vs Claude Code Review](https://learn.benibix.com/compare/code-review-command-vs-claude-code-review): People often think /code-review and the Code Review service are the same thing. /code-review is a command you run yourself, in your own session, on any plan. It reads your CLAUDE.md and reports in your chat. Code Review is a managed service that reviews each pull request on GitHub without anyone asking. It reads REVIEW.md and posts comments on the pull request. It needs a Team or Enterprise plan.

## Taught in

- [Diff and Code Review](https://learn.benibix.com/learn/ai-claude-code-commands/diff-and-code-review): Claude Code Commands, 8/17

![A scale from low to max. Low reports fewer findings it is sure of. Max looks wider. Ultra sits apart: a deep review in the cloud.](https://learn.benibix.com/diagrams/cmd-review-levels.svg)

---

Source: https://learn.benibix.com/term/ai/code-review-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
