
coderabbit
by delaanthonio
My dotfiles powered by dotbot
SKILL.md
name: coderabbit description: "AI-powered code review using CodeRabbit CLI. Use when reviewing code changes, checking PR readiness, getting feedback on staged/committed changes, or when the user mentions code review, CodeRabbit, or wants their changes reviewed." allowed-tools: Read, Bash, Glob, Grep
CodeRabbit Code Review
Use the CodeRabbit CLI to provide AI-driven code reviews for local changes.
When to Use This Skill
Activate this skill when the user:
- Asks for a code review of their changes
- Wants to check if their code is PR-ready
- Mentions "CodeRabbit" or "coderabbit"
- Wants feedback on staged, committed, or all changes
- Needs to compare their branch against a base branch
Prerequisites
Before running CodeRabbit:
- Ensure you're in a git repository
- Check for config files to pass to CodeRabbit
Auto-Detect Configuration
Check for and use these config files if present:
.coderabbit.yaml- CodeRabbit-specific configurationCLAUDE.md- Project instructions that provide context
Build the config flag:
# Check what configs exist
ls -la .coderabbit.yaml CLAUDE.md 2>/dev/null
# If configs exist, include them with -c flag
coderabbit review -c .coderabbit.yaml CLAUDE.md
Review Types
Review All Changes (Default)
coderabbit review --type all
Review Only Committed Changes
Use when reviewing what's already been committed but not pushed:
coderabbit review --type committed
Review Only Uncommitted Changes
Use during active development to get feedback on work-in-progress:
coderabbit review --type uncommitted
PR-Style Reviews
Compare Against Base Branch
Use when preparing a PR or reviewing branch changes:
coderabbit review --base main
coderabbit review --base origin/main
Compare Against Specific Commit
Use for incremental reviews:
coderabbit review --base-commit abc1234
Output Modes
Interactive Mode (Default)
Best for exploration and discussion:
coderabbit review
Plain Text Mode
Best for capturing output or non-interactive environments:
coderabbit review --plain
Prompt-Only Mode
Get the AI review prompts to analyze or fix issues yourself:
coderabbit review --prompt-only
Recommended Workflows
Pre-PR Review
# Get comprehensive review comparing to main branch
coderabbit review --base main --plain
Development Feedback Loop
# Quick review of uncommitted changes
coderabbit review --type uncommitted --plain
Review and Fix
# Get prompts, then fix issues
coderabbit review --prompt-only > /tmp/review.txt
# Read the review and address issues
Building Commands
Always check context first:
- Run
git statusto understand the repository state - Check for
.coderabbit.yamlandCLAUDE.md - Select appropriate review type based on user intent
- Choose output mode based on whether fixes are needed
Example command construction:
# Full command with auto-detected config and base branch comparison
coderabbit review \
--base main \
--type all \
--plain \
-c .coderabbit.yaml CLAUDE.md
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon


