coderabbit-review

Run CodeRabbit CLI in WSL to review code and auto-fix critical findings.

Updated May 6, 2025
One-click install
npx skills add https://github.com/rodrigo-altissimo/qiartificial --skill coderabbit-review-rodrigo-altissimo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coderabbit-review
Source: https://github.com/rodrigo-altissimo/qiartificial/tree/main/.claude/skills/coderabbit-review
Command: npx skills add https://github.com/rodrigo-altissimo/qiartificial --skill coderabbit-review-rodrigo-altissimo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines automated code reviews by running the CodeRabbit CLI in WSL, then summarizing findings and attempting automated self-healing when critical issues are detected.

Core Features & Use Cases

  • Unified WSL CodeRabbit Execution: Centralizes how CodeRabbit is invoked from a host environment by wrapping execution in a WSL Bash command and running from the correct project directory.
  • Review Scope Selection: Supports reviewing uncommitted changes, committed changes against main, or a custom base branch for pre-PR comparisons.
  • Severity-Guided Self-Healing Loop: Parses results by severity, and if CRITICAL issues remain, iteratively attempts auto-fix and re-runs the review up to agent-specific limits.
  • Operational Safety Checks: Includes guidance for common failures like missing CLI, authentication expiry, and review timeouts.

Quick Start

Run the skill with scope uncommitted to perform a pre-commit CodeRabbit review for the current working changes.

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 review for uncommitted changes before a commit?

Automated code review for uncommitted changes runs the CodeRabbit CLI in WSL to analyze your working directory. It supports pre-commit, pre-push, and pre-PR QA gates by summarizing findings and attempting auto-fixes for CRITICAL issues.

Can I run CodeRabbit reviews automatically in WSL from a Windows host environment?

Yes, CodeRabbit reviews can be run in WSL from a host environment by wrapping execution in a WSL Bash command. The process runs from the correct project directory and includes a timeout-based execution guard to prevent hanging.

How do pre-commit QA gates handle CRITICAL severity findings?

Pre-commit QA gates handle CRITICAL findings by parsing review results by severity and triggering a self-healing loop. This loop iteratively attempts auto-fixes and re-runs the review up to agent-specific limits until critical issues are resolved.

What review scopes are supported for automated pre-PR comparisons?

Automated pre-PR comparisons support reviewing uncommitted changes, committed changes against the main branch, or a custom base branch. This allows flexible scope selection depending on your pre-push or pre-PR workflow needs.

What should I do if CodeRabbit CLI authentication expires or the review times out?

If CodeRabbit CLI authentication expires or a review times out, operational safety checks provide guidance for these common failures. The execution includes a timeout-based guard to handle review hangs gracefully.

Do I need a pre-configured CodeRabbit installation in WSL to use this automated review process?

Yes, a configured CodeRabbit installation in WSL is required to automate code reviews. The process relies on the CodeRabbit CLI being present and authenticated to execute reviews and apply severity-guided self-healing loops.