coderabbit-local-dev-loop

Featured

Configure CodeRabbit CLI for local pre-commit code reviews and fast iteration. Use when setting up local development with CodeRabbit CLI reviews, integrating AI review into your commit workflow, or testing config changes. Trigger with phrases like "coderabbit dev setup", "coderabbit local development", "coderabbit CLI workflow", "coderabbit pre-commit review".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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.yaml` configuration - CodeRabbit account (CLI uses credits: $0.25 per file reviewed) ## Instructions ### Step 1: Install and Verify CLI ```bash set -euo pipefail # Install CodeRabbit CLI curl -fsSL https://cli.coderabbit.ai/install.sh | sh # Verify installation cr --version # Authenticate (opens browser for OAuth) cr auth login ``` ### Step 2: Local Review Workflow ```bash set -euo pipefail # Review all staged changes (most common workflow) git add -A cr review # Review specific files only cr review src/api/routes.ts src/middleware/auth.ts # Interactive mode: ask follow-up questions about review feedback cr review --interactive # Plain output mode (pipe to other tools or AI agents) cr review --prompt-only ``` ### Step 3: Git Hook Integration ```bash #!/bin/bash # .git/hooks/pre-push (make executable: chmod +x .git/hooks/pre-push) set -euo pipefail echo "Running CodeRabbit pre-push review..." # Get list of changed files vs remote CHANGED_FILES=$(git diff --name-only @{push}.. 2>/dev/null || git d...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category