| name | cr-local |
| description | Local code review using CodeRabbit CLI. Use when user wants to review changes before committing or pushing. |
| triggers | ["review my code","check my changes","coderabbit review","code review locally","review before commit","run code review","analyze my code","find bugs in my code","quality check","check for issues","review what I wrote","any problems with my code","scan my changes"] |
Local Code Review with CodeRabbit CLI
When the user wants to review their local code changes before committing or pushing, delegate to the cr-reviewer subagent.
When to Use
Use this skill when the user:
- Asks to "review my code" or "check my changes"
- Mentions CodeRabbit and reviewing
- Wants to run a code review before committing
- Wants to check for issues in their changes
What the Subagent Handles
The cr-reviewer subagent will:
-
Check Prerequisites
- Verify CodeRabbit CLI is installed
- Check authentication status
- Guide through setup if needed
-
Run Review
- Execute
coderabbit review --agent
- Default to
--type all (uncommitted + committed changes)
- Auto-detect base branch
-
Present Results
- Parse and categorize findings by severity
- Show summary with actionable items
-
Interactive Fix Loop
- Apply suggested fixes
- Re-run review to verify
- Continue until resolved
-
Handle Rate Limits
- Detect rate limit errors
- Offer alternatives (wait, smaller changeset, manual review)
Default Options
- type:
all (both uncommitted and committed changes)
- base: Auto-detect from
refs/remotes/origin/HEAD
Example Triggers
- "Review my changes before I commit"
- "Can you check my code with coderabbit?"
- "Run a code review on what I've done"
- "Check if there are any issues in my changes"