Agent Skills: Local Code Review with CodeRabbit CLI

Local code review using CodeRabbit CLI. Use when user wants to review changes before committing or pushing.

UncategorizedID: thrownlemon/claude-code-plugins/cr-local

Install this agent skill to your local

pnpm dlx add-skill https://github.com/ThrownLemon/claude-code-plugins/tree/HEAD/plugins/coderabbit/skills/cr-local

Skill Files

Browse the full folder contents for cr-local.

Download Skill

Loading file tree…

plugins/coderabbit/skills/cr-local/SKILL.md

Skill Metadata

Name
cr-local
Description
Local code review using CodeRabbit CLI. Use when user wants to review changes before committing or pushing.

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:

  1. Check Prerequisites

    • Verify CodeRabbit CLI is installed
    • Check authentication status
    • Guide through setup if needed
  2. Run Review

    • Execute coderabbit --prompt-only
    • Default to --type all (uncommitted + committed changes)
    • Auto-detect base branch
  3. Present Results

    • Parse and categorize findings by severity
    • Show summary with actionable items
  4. Interactive Fix Loop

    • Apply suggested fixes
    • Re-run review to verify
    • Continue until resolved
  5. 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"