Claude Codecode-review

/code-review

Review the current diff for correctness bugs and for reuse, simplification, and efficiency cleanups. Pass --fix to apply findings, --comment to post as GitHub PR comments, or ultra for a deep cloud review.

Syntax

/code-review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [target]

Example

/code-review --fix

About

Skill. Reviews staged/unstaged changes for correctness bugs and cleanup opportunities. Pass --fix to apply findings to your working tree, --comment to post them as inline GitHub PR comments, or ultra to run a deep cloud multi-agent review. From v2.1.154, /simplify runs a separate cleanup-only review.

When to use

  • Catching bugs before a PR review
  • Getting auto-applied cleanup suggestions with --fix
  • Running a deep cloud review with /code-review ultra before merging
  • Posting inline PR comments from the CLI with --comment

More Claude Code commands