This reference is automatically generated from the CodeRabbit configuration schema. Last updated: 2025-08-16
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.

Configuration Sections

Reviews

Settings related to reviews.

Example Configuration

.coderabbit.yaml
reviews:
  profile: chill
  high_level_summary: true
  auto_review:
    enabled: true
    drafts: false
  tools:
    eslint:
      enabled: true
    gitleaks:
      enabled: true

Reference

profile
enum
Set the profile for reviews. Assertive profile yields more feedback, that may be considered nitpicky.One of the following: chill, assertiveDefaults to "chill".
request_changes_workflow
boolean
Approve the review once CodeRabbit’s comments are resolved and no pre-merge checks are in an error state. Note: In GitLab, all discussions must be resolved.Defaults to false.
high_level_summary
boolean
Generate a high level summary of the changes in the PR/MR description.Defaults to true.
high_level_summary_placeholder
string
Placeholder in the PR/MR description that gets replaced with the high level summary.Defaults to "@coderabbitai summary".
high_level_summary_in_walkthrough
boolean
Include the high level summary in the walkthrough comment.Defaults to false.
auto_title_placeholder
string
Add this keyword in the PR/MR title to auto-generate the title.Defaults to "@coderabbitai".
auto_title_instructions
string
Auto Title Instructions | Custom instructions for auto-generating the PR/MR title.Defaults to "".
review_status
boolean
Post review details on each review. Additionally, post a review status when a review is skipped in certain cases.Defaults to true.
commit_status
boolean
Set the commit status to ‘pending’ when the review is in progress and ‘success’ when it is complete.Defaults to true.
fail_commit_status
boolean
Set the commit status to ‘failure’ when the PR cannot be reviewed by CodeRabbit for any reason.Defaults to false.
collapse_walkthrough
boolean
Generate walkthrough in a markdown collapsible section.Defaults to false.
changed_files_summary
boolean
Generate a summary of the changed files in the walkthrough.Defaults to true.
sequence_diagrams
boolean
Generate sequence diagrams in the walkthrough.Defaults to true.
estimate_code_review_effort
boolean
Estimate the code review effort in the walkthrough.Defaults to true.
assess_linked_issues
boolean
Generate an assessment of how well the changes address the linked issues in the walkthrough.Defaults to true.
Include possibly related issues in the walkthrough.Defaults to true.
Related PRs | Include possibly related pull requests in the walkthrough.Defaults to true.
suggested_labels
boolean
Suggest labels based on the changes in the pull request in the walkthrough.Defaults to true.
auto_apply_labels
boolean
Automatically apply the suggested labels to the PR/MR.Defaults to false.
suggested_reviewers
boolean
Suggest reviewers based on the changes in the pull request in the walkthrough.Defaults to true.
auto_assign_reviewers
boolean
Automatically assign suggested reviewers to the pull requestDefaults to false.
poem
boolean
Generate a poem in the walkthrough comment.Defaults to true.
labeling_instructions
array of object
Labeling Instructions | Provide guidelines for suggesting labels for the PR/MR. When specific labels or instructions are provided, only those labels are considered, though previous examples are still used to inform the suggestions. If no such labels are provided, suggestions are based solely on previous PR/MRs.Defaults to [].
path_filters
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 [].
path_instructions
array of object
Path Instructions | Provide specific additional guidelines for code review based on file paths.Defaults to [].
abort_on_close
boolean
Abort the in-progress review if the pull request is closed or merged.Defaults to true.
disable_cache
boolean
Disable caching of code and dependencies. This will force CodeRabbit to download the code and dependencies fresh from the repository each time.Defaults to false.
auto_review
object
Configuration for auto reviewDefaults to {}.
finishing_touches
object
Configuration for finishing touchesDefaults to {}.
pre_merge_checks
object
Configuration for pre merge checksDefaults to {}.
tools
object
Tools that provide additional context to code reviews.Defaults to {}.

Chat

Configuration for chat

Example Configuration

.coderabbit.yaml
chat:
  auto_reply: true
  integrations:
    jira:
      usage: enabled

Reference

art
boolean
Generate art in response to chat messages. CodeRabbit expresses emotions as either ASCII or Emoji art.Defaults to true.
auto_reply
boolean
Enable the bot to reply automatically without requiring the user to tag it.Defaults to true.
integrations
object
Configuration for integrationsDefaults to {}.

Knowledge base

Configuration for knowledge base

Example Configuration

.coderabbit.yaml
knowledge_base:
  opt_out: false
  code_guidelines:
    enabled: true
    filePatterns:
      - "**/.cursorrules"
      - "**/CODING_STANDARDS.md"

Reference

opt_out
boolean
Opt Out | Disable all knowledge base features that require data retention. If you opt out after opting in, all of your existing knowledge base data will be removed from the system.Defaults to false.
Configuration for web searchDefaults to {}.
code_guidelines
object
CodeRabbit will analyse and learn from your organization’s code guidelines, which you can mention in the file patterns section. These guidelines will then be used to conduct thorough code reviews.Defaults to {}.
learnings
object
Configuration for learningsDefaults to {}.
issues
object
Configuration for issuesDefaults to {}.
jira
object
Configuration for jiraDefaults to {}.
linear
object
Configuration for linearDefaults to {}.
pull_requests
object
Configuration for pull requestsDefaults to {}.
mcp
object
Configuration for mcpDefaults to {}.

Code generation

Configuration for code generation

Example Configuration

.coderabbit.yaml
code_generation:
  docstrings:
    language: en-US
  unit_tests:
    path_instructions: []

Reference

docstrings
object
Settings related to the generation of docstrings.Defaults to {"path_instructions":[]}.
unit_tests
object
Settings related to the generation of unit tests.Defaults to {"path_instructions":[]}.

Global Settings

These settings apply to your entire CodeRabbit configuration across all repositories.

Example Configuration

.coderabbit.yaml
language: en-US
tone_instructions: "Be concise and focus on critical issues only"
early_access: false

Reference

language
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, 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".
tone_instructions
string
Set the tone of reviews and chat. Example: ‘You must use talk like Mr. T. I pity the fool who doesn’t!’Defaults to "".
Max length: 250
early_access
boolean
Enable early-access features.Defaults to false.
enable_free_tier
boolean
Enable free tier features for users not on a paid plan.Defaults to true.

Configuration Examples

Perfect for getting started with CodeRabbit.
.coderabbit.yaml
language: en-US
reviews:
  profile: chill
  high_level_summary: true
  auto_review:
    enabled: true
    drafts: false