coderabbit-review

Automate CodeRabbit code reviews for uncommitted and committed Git changes.

4|2|Updated Oct 27, 2013
One-click install
npx skills add https://github.com/shogogg/dotfiles --skill coderabbit-review-shogogg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coderabbit-review
Source: https://github.com/shogogg/dotfiles/tree/main/ai-agent/skills/coderabbit-review
Command: npx skills add https://github.com/shogogg/dotfiles --skill coderabbit-review-shogogg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires coderabbit.

What problem does it solve?

Perform code review using the CodeRabbit CLI and handle feedback from CodeRabbit as instructed.

Core Features & Use Cases

  • Authentication Check: Verify CodeRabbit is authenticated; prompt login if not.
  • Review Scope: Decide between uncommitted and committed changes based on git status.
  • Execution: Run CodeRabbit with no sandbox for the chosen change set.
  • Report & Respond: If comments exist, fix as appropriate and report back with summaries.

Quick Start

  1. Check authentication with coderabbit auth status. If not logged in, run coderabbit auth login.
  2. Use git status to decide whether to review uncommitted or committed changes.
  3. Run the CodeRabbit command without sandbox:
    • Uncommitted changes: coderabbit --plain --type uncommitted
    • Committed changes: coderabbit --plain --type committed
  4. When you see "Review Completed", the review is finished.
  5. If there are no review comments, tell the user no issues were found.
  6. If there are comments, address clear bugs, style issues, security concerns, or performance improvements immediately; for complex trade-offs, ask the user before changing.
  7. Report back with a summary of CodeRabbit comments and actions taken for each.

Frequently Asked Questions about coderabbit-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code reviews using CodeRabbit CLI?

Automate code reviews by checking authentication with `coderabbit auth status`, then running `coderabbit --plain --type uncommitted` for uncommitted changes or `coderabbit --plain --type committed` for committed changes. CodeRabbit identifies defects and quality issues, then reports findings with actionable remediation steps.

Can I use CodeRabbit to review both uncommitted and committed changes in Git?

Yes. CodeRabbit reviews either uncommitted or committed changes based on your git status. Use `--type uncommitted` for staged or modified files, or `--type committed` for already-committed code. The Skill determines the appropriate scope automatically.

What happens if CodeRabbit finds issues during code review?

CodeRabbit reports comments flagging bugs, style issues, security concerns, and performance improvements. The Skill addresses clear defects immediately and asks for guidance on complex trade-offs before fixing, then summarizes all comments and actions taken.

Do I need to be authenticated to run CodeRabbit reviews?

Yes. The Skill checks authentication with `coderabbit auth status` before running reviews. If not logged in, it prompts you to run `coderabbit auth login` to establish credentials before proceeding with code analysis.

How does CodeRabbit integrate with Git workflows?

CodeRabbit integrates into Git workflows by detecting your repository state, choosing between uncommitted or committed changes, executing reviews without sandbox restrictions, and reporting findings with clear remediation guidance for identified quality and security issues.