promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/code-review

Reviews the current diff for correctness bugs as well as reuse, simplification, and efficiency improvements.

[Skill] Effort levels: low, medium, high, xhigh, max, ultra. --fix applies findings to the working tree, --comment posts them as inline comments on a GitHub PR, 'ultra' starts a deep cloud review. From v2.1.154, /simplify handles the pure cleanup review without bug hunting. Details: code.claude.com/docs/en/code-review.

โœ… WHEN TO USE IT?

Check a diff for bugs plus reuse/efficiency improvements

/code-review high

Deep cloud review for a critical diff

/code-review ultra

โ›” WHEN NOT TO?

Pure cleanup review without bug-hunting

Per the docs, since v2.1.154 /simplify handles that, cleaning up directly without hunting for correctness bugs.

Better: /simplify

Quick single pass over a GitHub PR

For a quick, read-only single pass by PR number, the lighter-weight command is meant for that.

Better: /review <PR number>

SOURCES