SKILL.md
CodeRabbit Install & Auth
Overview
CodeRabbit is an AI-powered code review platform. It installs as a GitHub App (or GitLab integration) and automatically reviews pull requests. There is no SDK to install -- you configure it via a .coderabbit.yaml file and interact through PR comments. Optionally, install the CLI for local pre-commit reviews.
Prerequisites
- GitHub organization admin or GitLab group owner permissions
- A repository to enable CodeRabbit on
- (Optional) Shell access for CLI installation
Instructions
Step 1: Install the CodeRabbit GitHub App
1. Navigate to https://github.com/apps/coderabbitai
2. Click "Install" and select your organization
3. Choose repository access:
- "All repositories" for org-wide coverage
- "Only select repositories" for targeted setup
4. Authorize the requested permissions (read code, write PR comments)
5. You will be redirected to app.coderabbit.ai to complete onboarding
Step 2: Verify Installation
set -euo pipefail
# Confirm the GitHub App is installed on your repo
gh api repos/YOUR_ORG/YOUR_REPO/installation --jq '.app_slug'
# Expected output: coderabbitai
Step 3: Create Base Configuration
# .coderabbit.yaml (place in repository root)
language: "en-US"
reviews:
profile: "assertive" # Options: chill, assertive
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: false
sequence_diagrams: true
auto_review:
enabled: true
drafts: false
base_branches:
- main
- develop
chat:
auto_reply: true
Step 4: Install the CLI (Optional)
set -euo pipefail
# Install CodeRabbit CLI for local pre-commit reviews
curl -fsSL https://cli.coderabbit.ai/install.sh | sh
# Verify installation
cr --version
