coderabbit-local-dev-loop
Installation
SKILL.md
CodeRabbit Local Dev Loop
Overview
Use CodeRabbit CLI to review code locally before opening a PR. The CLI provides the same AI-powered review as the GitHub App but runs in your terminal against staged or unstaged changes. This creates a multi-layered review process: local CLI review before commit, then automated PR review after push.
Prerequisites
- CodeRabbit CLI installed (
curl -fsSL https://cli.coderabbit.ai/install.sh | sh) - Git repository with
.coderabbit.yamlconfiguration - CodeRabbit account (CLI uses credits: $0.25 per file reviewed)
Instructions
Step 1: Install and Verify CLI
set -euo pipefail
# Install CodeRabbit CLI
curl -fsSL https://cli.coderabbit.ai/install.sh | sh
# Verify installation
cr --version