How this command is triggered — by the user, by Claude, or both
Slash command
/cursor-opinion:reviewThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Cursor Code Review The user wants Cursor to review current git changes. ## Important: This is a READ-ONLY operation Cursor will analyze the changes but will NOT modify any files. This is a SLOW operation - expect 2-5 minutes. When calling Bash, you MUST set a long timeout: - Use `timeout: 600000` (10 minutes) for the Bash tool call ## Your Task 1. **Check for Git Repository**: Verify we're in a git repository: If this fails, inform the user they're not in a git repository. 2. **Check for Changes**: Verify there are uncommitted changes: If empty, inform the user there ...
The user wants Cursor to review current git changes.
Cursor will analyze the changes but will NOT modify any files. This is a SLOW operation - expect 2-5 minutes.
When calling Bash, you MUST set a long timeout:
timeout: 600000 (10 minutes) for the Bash tool callCheck for Git Repository: Verify we're in a git repository:
git rev-parse --git-dir 2>&1
If this fails, inform the user they're not in a git repository.
Check for Changes: Verify there are uncommitted changes:
git status --porcelain
If empty, inform the user there are no uncommitted changes to review.
Run the Review: Call the review script with the current working directory.
CRITICAL: Set timeout to 600000ms (10 minutes) because Cursor uses a slow model:
# timeout: 600000
"${CLAUDE_PLUGIN_ROOT}/scripts/review-cursor.sh" "$(pwd)"
Cursor will run git diff HEAD itself and read any files it needs for context.
Present the Review: Share Cursor's code review feedback with the user clearly.
Synthesize (Optional): If you have additional observations about the code changes, add them to complement Cursor's review. Highlight points of agreement or offer different perspectives.
agent command is not found, inform the user they need to install the Cursor CLInpx claudepluginhub glekner/cursor-opinion-marketplace --plugin cursor-opinion/reviewPerforms on-demand code review of uncommitted changes, git diff ranges, files, or branches, producing a report on spec compliance and code quality.
/plannotator-reviewOpens interactive code review session for current git changes or provided PR URL using plannotator bash tools.
/reviewAnalyzes local Git diffs and runs a thorough code review, producing a structured report with critical, warning, and suggestion categories.
/reviewRuns a Codex code review on uncommitted changes as a background task via Bash, assesses findings, and reports issues found.
/reviewReviews staged changes or recent commits across five axes—correctness, readability, architecture, security, performance—producing categorized findings with file:line references and fixes.
/reviewRuns Codex code review on local git state (working tree or vs base branch). Supports --wait/--background, --base <ref>, --scope auto|working-tree|branch.