coderabbit-cli
Installation
SKILL.md
CodeRabbit CLI
Use CodeRabbit CLI to perform structured, automated code review and iterative improvement, enabling AI agents to write, review, and refine code in a tight feedback loop.
Prerequisites
- CodeRabbit CLI installed:
npm install -g @coderabbitai/clior see docs.coderabbit.ai - Authenticated:
coderabbit auth login(one-time setup) - Git repository: Run commands from within a git repository. CodeRabbit reviews: unstaged working-tree changes, staged-but-uncommitted changes, and local commits not yet pushed. Does not run on a clean working tree with no local changes.
- Repository context: CodeRabbit needs access to repository metadata (can be configured via
.coderabbit.yaml)
Quick Start
Run review on current changes:
coderabbit review --plain