Skip to main content
This reference is automatically generated from the CodeRabbit configuration schema. Last updated: July 29, 2026
CodeRabbit’s behavior can be customized using a .coderabbit.yaml file in your repository root. This reference covers all available configuration options with clear property names and examples.

Quick Start

Get started with basic configuration

YAML config examples

Browse example configurations

Configuration sections

General settings

Configure general settings

Code reviews

Configure automatic code reviews, tools, and review behavior

Chat

Configure interactive chat features

Knowledge base

Configure knowledge base features

Code generation

Configure code generation settings

Issue enrichment

Configure automatic Issue enrichment and planning

General settings

Reference

enum
Set the language for reviews by using the corresponding ISO language code.One of the following: de, de-DE, de-AT, de-CH, en, en-US, en-AU, en-GB, en-CA, en-NZ, en-ZA, es, es-AR, fr, fr-CA, fr-CH, fr-BE, nl, nl-BE, pt-AO, pt, pt-BR, pt-MZ, pt-PT, ar, ast-ES, ast, be-BY, be, br-FR, br, ca-ES, ca, ca-ES-valencia, ca-ES-balear, da-DK, da, de-DE-x-simple-language, el-GR, el, eo, fa, ga-IE, ga, gl-ES, gl, it, ja-JP, ja, km-KH, km, ko-KR, ko, pl-PL, pl, ro-RO, ro, ru-RU, ru, sk-SK, sk, sl-SI, sl, sv, ta-IN, ta, tl-PH, tl, tr, uk-UA, uk, zh-CN, zh, zh-TW, crh-UA, crh, cs-CZ, cs, nb, no, nl-NL, de-DE-x-simple-language-DE, es-ES, it-IT, fa-IR, sv-SE, de-LU, fr-FR, bg-BG, bg, he-IL, he, hi-IN, hi, vi-VN, vi, th-TH, th, bn-BD, bnDefaults to "en-US".
string
Set the tone of reviews and chat. Example: ‘You must talk like Mr. T. I pity the fool who doesn’t!’Defaults to "".
Max length: 250
boolean
Enable early-access features.Defaults to false.
boolean
Enable free tier features for users not on a paid plan.Defaults to true.

Reviews

Settings related to reviews.

Reference

enum
Set the review profile: quiet for only the most important feedback, chill for balanced feedback, assertive for more feedback (which may feel nitpicky).One of the following: quiet, chill, assertiveDefaults to "chill".
boolean
Automatically approve once CodeRabbit’s comments are resolved and no pre-merge checks are failing. Note: In GitLab, all discussions must be resolved.Defaults to false.
boolean
Generate a high-level summary of the changes in the PR description or walkthrough.Defaults to true.
string
By default, CodeRabbit generates release notes in the description. Use this to customize the summary content and format. Example: ‘Create concise release notes as a bullet-point list, followed by a Markdown table showing lines added and removed by each contributing author.’ Note: Use high_level_summary_in_walkthrough to place the summary in the walkthrough instead of the description.Defaults to "".
string
Placeholder in the PR description that CodeRabbit replaces with the high-level summary. If high_level_summary is false, the summary is still generated when this placeholder is present.Defaults to "@coderabbitai summary".
boolean
Include the high-level summary in the walkthrough comment.Defaults to false.
string
Add this keyword to the PR title to auto-generate a title.Defaults to "@coderabbitai".
string
Auto Title Instructions | Customize how CodeRabbit generates the PR title.Defaults to "".
boolean
Post review status messages (e.g., when a review is skipped) in the walkthrough summary comment.Defaults to true.
boolean
Post review details (ignored files, extra context used, suppressed comments, etc.).Defaults to false.
boolean
Publish the canonical user-facing review status and progress updates (GitHub progress reports/check runs today; other platform equivalents may follow).Defaults to true.
boolean
Mirror review progress using legacy commit statuses for compatibility with required checks and existing automations. This setting is only used when review_progress is disabled.Defaults to true.
boolean
On review errors, fail the active outward review status surface. When review_progress is enabled this applies to progress reporting; otherwise it applies to the legacy commit-status mirror when enabled.Defaults to false.
boolean
Wrap the walkthrough in a Markdown collapsible section.Defaults to true.
boolean
Include a summary of the changed files in the walkthrough.Defaults to true.
boolean
Include sequence diagrams in the walkthrough.Defaults to true.
boolean
Include an estimated code review effort in the walkthrough.Defaults to true.
boolean
Include an assessment of how well the changes address linked issues in the walkthrough.Defaults to true.
Include potentially related issues in the walkthrough.Defaults to true.
Related PRs | Include potentially related PRs in the walkthrough.Defaults to true.
boolean
Suggest labels based on the changes, and include them in the walkthrough.Defaults to true.
array of object
Labeling Instructions | Define allowed labels and when to suggest them. When provided, CodeRabbit suggests only from this list (still informed by prior PRs); when empty, suggestions rely entirely on prior PRs.Defaults to [].
object
Mutually Exclusive Groups | Define labels that should not coexist. Example: { risk: ['critical', 'high', 'medium', 'low'] }.Defaults to {}.
boolean
Automatically apply suggested labels to the PR.Defaults to false.
boolean
Suggest reviewers based on the changes, and include them in the walkthrough.Defaults to true.
boolean
Automatically assign the suggested reviewers to the PR.Defaults to false.
array of object
Reviewer Instructions | Map reviewers (users or team) to PR scenarios where they should be assigned. When empty, suggestions rely on prior PRs. Team handles are supported only on GitHub.Defaults to [].
boolean
Post a fortune message while the review is running.Defaults to true.
boolean
Generate a poem in the walkthrough comment.Defaults to false.
boolean
Prompt for AI Agents | Include the ’🤖 Prompt for AI Agents’ section in inline review comments to provide codegen instructions for AI agents.Defaults to true.
array of string
Specify file patterns to include or exclude in a review using glob patterns (e.g., !dist/**, src/**). These patterns also apply to ‘git sparse-checkout’, including specified patterns and ignoring excluded ones (starting with ’!’) when cloning the repository.Defaults to [].
array of object
Path Instructions | Add path-specific guidance for code review.Defaults to [].
boolean
Abort the in-progress review if the PR is closed or merged.Defaults to true.
boolean
Disable caching of code and dependencies; fetch them fresh on each run.Defaults to false.
object
Anti-Slop | Settings for detecting and managing spam or low-quality PRs. Only for public repos, only for GitHub as of now.Defaults to {}.
object
Configuration for auto reviewDefaults to {}.
object
Configuration for finishing touchesDefaults to {}.
object
Configuration for pre merge checksDefaults to {}.
array of object
Custom Post-merge Actions | Define custom actions to run after merging. Each action needs a unique name (≤100 chars) and a deterministic prompt (≤10,000 chars).Defaults to [].
object
Tools that provide additional context to code reviews.Defaults to {}.

Chat

Configuration for chat

Reference

boolean
Generate art in chat responses (ASCII or emoji).Defaults to true.
boolean
Allow non-organization members to interact with CodeRabbit in comment chat. Set to false to restrict issue/review comment interactions to organization members on GitHub organization repositories. This does not affect automatic PR review eligibility.Defaults to true.
boolean
Let CodeRabbit reply automatically without requiring a mention/tag.Defaults to true.
object
Configuration for integrationsDefaults to {}.

Knowledge base

Configuration for knowledge base

Reference

boolean
Opt Out | Disable knowledge base features that require data retention. Opting out removes any existing stored knowledge base data.Defaults to false.
Configuration for web searchDefaults to {}.
object
Use your coding guideline documents (see File Patterns) as review criteria.Defaults to {}.
object
Configuration for learningsDefaults to {}.
object
Configuration for issuesDefaults to {}.
object
Configuration for jiraDefaults to {}.
object
Configuration for linearDefaults to {}.
object
Configuration for pull requestsDefaults to {}.
object
Configuration for mcpDefaults to {}.
boolean
Automatic Repository Linking | When enabled, CodeRabbit automatically detects and links related repositories in your organization to identify breaking changes and downstream impact during PR reviews.Defaults to false.
array of object
Linked Repositories | Repositories that CodeRabbit should consider when reviewing PRs in this repo. Use this to surface cross-repo dependencies and catch breaking changes across related codebases.Defaults to [].

Code generation

Configuration for code generation

Reference

object
Docstring Generation | Settings for generating docstrings.Defaults to {"path_instructions":[]}.
object
Unit Test Generation | Settings for generating unit tests.Defaults to {"path_instructions":[]}.

Issue enrichment

Configuration for issue enrichment

Reference

object
Settings for automatic issue enrichment.Defaults to {}.
object
Settings for issue planning.Defaults to {}.
object
Settings for issue labeling.Defaults to {}.

Review commands

Learn about @coderabbitai commands

Tools reference

Browse all supported linters and analyzers