Skip to content
Development
Command

/review

Read-only code review of your git diff by a Cursor model. Reports findings; never edits files.

From plugin
cursor-plugin-cc
2811 skills1 agent11 commands
Install
$ npx -y skills add freema/cursor-plugin-cc --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/review

Context preview

What this command does when you run it.

Read-only code review of your git diff by a Cursor model. Reports findings; never edits files.

Command definition

review.md
description: Read-only code review of your git diff by a Cursor model. Reports findings; never edits files.
argument-hint: '[--wait|--background] [--base <ref>] [--scope auto|working-tree|branch] [--model <id>] [--adversarial] [focus...]'
disable-model-invocation: true
allowed-tools: Read, Glob, Grep, Bash(node:*), Bash(git:*), AskUserQuestion

Run a read-only Cursor code review of the git diff through the shared review runtime (`scripts/review.mjs`).

Raw slash-command arguments: `$ARGUMENTS`

Core constraint:

  • This command is **review-only**.
  • Do not fix issues, apply patches, or suggest that you are about to make changes.
  • Your only job is to run the review and return Cursor's output verbatim to the user.

Execution mode rules:

  • If the raw arguments include `--wait`, do not ask. Run the review in the foreground.
  • If the raw arguments include `--background`, do not ask. Run the review in the background.
  • Otherwise, estimate the review size before asking:
  • For working-tree review, start with `git status --short --untracked-files=all`.
  • For working-tree review, also inspect both `git diff --shortstat --cached` and `git diff --shortstat`.
  • For base-branch review, use `git diff --shortstat <base>...HEAD`.
  • Treat untracked files or directories as reviewable work for auto or working-tree review even when `git diff --shortstat` is empty.
  • Only conclude there is nothing to review when the relevant scope is actually empty.
  • Recommend waiting only when the review is clearly tiny, roughly 1-2 files total and no sign of a broader directory-sized change.
  • In every other case, including unclear size, recommend background.
  • When in doubt, run the review instead of declaring that there is nothing to review.
  • Then use `AskUserQuestion` exactly once with two options, putting the recommended option first and suffixing its label with `(Recommended)`:
  • `Wait for results`
  • `Run in background`

Argument handling:

  • Preserve the user's arguments exactly.
  • Do not strip `--wait` or `--background` yourself — pass them through untouched; the script reads them.
  • Do not add extra review instructions or rewrite the user's intent.
  • For a steerable review that challenges the design and approach — not just implementation defects — use [`/cursor:adversarial-review`](adversarial-review.md) instead. (The `--adversarial` flag on this command still works for backward compatibility.)

Foreground flow:

  • Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/review.mjs" --wait -- "$ARGUMENTS"
  • Return the command stdout verbatim, exactly as-is — it is a code review. Do not paraphrase, summarize, or add commentary before or after it. If the run touched the working tree, the script surfaces a post-flight warning — keep it.
  • Do not fix any issues mentioned in the review output.

Background flow:

  • Run the SAME command with `--background` instead of `--wait`, as a normal (foreground) `Bash` call — `review.mjs` detaches the worker itself and returns a job id immediately, so do **not** set `run_in_background`:
node "${CLAUDE_PLUGIN_ROOT}/scripts/review.mjs" --background -- "$ARGUMENTS"
  • Present the returned job id and the `/cursor:status` / `/cursor:result` hints exactly as printed. Do not poll or wait for completion in this turn.
Read more
Ships withcursor-plugin-cc

Claude plans. Cursor writes. Claude reviews. A Claude Code plugin that delegates coding execution to Cursor's Composer — without ever leaving the Claude Code TUI.

Get the whole plugin, auto-invoked
Stats
28
Stars
0
Views
6
Forks
Active
Maintenance
JavaScript
Language
MIT
License
1d ago
Last commit
3mo ago
Created

Repo: freema/cursor-plugin-cc