Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create a minimal working CodeRabbit configuration and trigger your first AI review. Use when starting with CodeRabbit, testing your setup, or learning basic .coderabbit.yaml patterns. Trigger with phrases like "coderabbit hello world", "coderabbit example", "coderabbit quick start", "first coderabbit review".
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 67% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 22% | 0% |
Minimal working example demonstrating CodeRabbit AI code review. CodeRabbit reviews PRs automatically via a GitHub/GitLab App -- no SDK or API calls needed. You configure behavior through a .coderabbit.yaml file and interact via PR comments.
coderabbit-install-auth)yaml# .coderabbit.yaml (repository root) language: "en-US" reviews: profile: "assertive" high_level_summary: true auto_review: enabled: true drafts: false chat: auto_reply: true
yaml# .coderabbit.yaml - add review context for better feedback reviews: profile: "assertive" high_level_summary: true auto_review: enabled: true drafts: false path_instructions: - path: "src/**/*.ts" instructions: "Check for proper TypeScript types. Flag any use of `any`." - path: "**/*.test.*" instructions: "Verify edge cases are covered. Check async handling." chat: auto_reply: true
bashset -euo pipefail git checkout -b feat/hello-coderabbit # Add the configuration file cat > .coderabbit.yaml << 'YAML' language: "en-US" reviews: profile: "assertive" high_level_summary: true auto_review: enabled: true drafts: false path_instructions: - path: "src/**" instructions: "Check for proper error handling and input validation." chat: auto_reply: true YAML git add .coderabbit.yaml git commit -m "feat: add CodeRabbit AI code review configuration" git push -u origin feat/hello-coderabbit gh pr create --title "feat: enable CodeRabbit AI code review" \ --body "Adding .coderabbit.yaml for automated code reviews"
Once CodeRabbit posts its review (typically 2-5 minutes), you can interact:
markdown# In a PR comment, use these commands: @coderabbitai summary # Get a walkthrough of all changes @coderabbitai full review # Re-run a complete review from scratch @coderabbitai resolve # Mark all CodeRabbit comments as resolved @coderabbitai help # List all available commands # Reply to any CodeRabbit comment to have a conversation about the feedback # CodeRabbit will respond with context-aware explanations
bashset -euo pipefail # Review staged changes before committing git add -A cr review # Review with interactive mode for back-and-forth discussion cr review --interactive # Review specific files cr review src/index.ts src/utils.ts
.coderabbit.yaml committed to repository root| Issue | Cause | Solution | |-------|-------|----------| | No review appears | App not installed on this repo | Check GitHub App > Repository access | | YAML syntax error | Invalid configuration | Validate YAML at yamlchecker.com | | Review on wrong branch | Missing base_branches filter | Add base_branches: [main] to config | | Bot not responding to commands | Typo in mention | Must use exact @coderabbitai mention |
Proceed to coderabbit-local-dev-loop for a full development workflow with CodeRabbit.
Other measured skills in the registry, with their headline benchmark lift.