Catalog
coderabbitai/coderabbit-config

coderabbitai

coderabbit-config

Create, update, or validate CodeRabbit repository configuration through the official CLI. Use for .coderabbit.yaml or .coderabbit.yml setup, review-style changes, path guidance, and configuration validation requests.

v1.0LATEST
NewUpdated Nov 11, 2026

CodeRabbit Configuration

Requires config protocol v2, a Git working tree, and network access to the current configuration schema.

Keep configuration generation, schema validation, previews, and repository writes in the CLI. Do not edit repository YAML yourself, copy a schema, or implement a fallback editor. Configuration is local; it does not need CodeRabbit login or start a review.

Find the CLI and requested repository

Use the intended Git working tree for every invocation. Resolve an official installed coderabbit to a quoted canonical absolute path, checking PATH and the documented installer location ~/.local/bin/coderabbit on macOS/Linux. Reject repository-local executables, aliases, and unknown wrappers. If the installation source is uncertain, ask the user to identify their installation. For a plugin with a managed runtime, use its verified launcher and runtime preparation instructions; do not switch to a global CLI if preparation fails. The <cli> examples below mean that verified executable, not a literal command.

Check <cli> --version, <cli> config --help, and support for the needed subcommands. CLI 0.9.3 supports this workflow. Missing commands or an unsupported protocol require an upgrade. For a standalone CLI, follow the official installation instructions for its actual installation method (for example, brew upgrade coderabbit for Homebrew). For a managed runtime, update the plugin to a version with a compatible pinned CLI and follow its preparation instructions; never run <cli> update on the managed launcher. Do not install or upgrade without authorization. Preserve permission and network errors as such; they do not prove an upgrade is needed. After any upgrade, repeat trusted executable discovery and verification, then recheck version and command support. Do not reuse the old canonical path: an upgrade can replace a versioned installation directory or managed launcher.

Validate only

Run <cli> config validate --agent for the repository configuration, or <cli> config validate <file> --agent for the user's explicitly selected YAML file. Require exit zero and ok: true; report the CLI's validation diagnostics otherwise. Do not generate or apply changes for a validation-only request.

Create or change review style

  1. Run <cli> config --agent. Require exit zero, ok: true, protocolVersion: 2, operation: inspect, and writable: true. Preserve the returned repository root, target, and baseHash (none for a new file). Respect authority warnings, including TypeScript, remote configuration, symlinks, and multiple YAML files; do not delete or bypass them.
  2. Run <cli> config --agent --generate. For a requested style, add --profile chill (Balanced), --profile quiet (Focused), --profile assertive (Thorough), or --profile default (remove the local style override). Without a profile, the CLI generates its baseline for a new file and preserves an existing file. Do not infer a style change from a general request to check configuration.
  3. Require a successful protocol-v2 operation: generate response with the inspected target and base hash. Copy its exact after string into a temporary proposal file outside the repository; do not rewrite or extend that YAML.
  4. Preview with <cli> config apply <proposal> --agent --dry-run --base <baseHash>. Require exit zero and a successful protocol-v2 operation: apply result. If unchanged, re-inspect the same base hash and report that no save is needed. Otherwise show the returned before/after diff and obtain approval for it.
  5. Save the same proposal with <cli> config apply <proposal> --agent --yes --base <baseHash>. Require a successful protocol-v2 result with applied: true. Re-inspect and verify the target and saved hash against the approved proposedHash, then report the local change. Remove your temporary proposal; preserve any CLI-reported recovery file.

On changed input, inspect and preview again instead of bypassing the base hash. On schema, validation, permission, or network errors, report the diagnostic and stop without an alternate writer. An interrupted save has an unknown outcome: inspect the file before retrying or reporting success.

Guided path settings

For path-guidance requests, run <cli> config --detailed in an interactive terminal to enter the manual review-style and path-guidance flow directly. For general interactive setup, use <cli> config or <cli> config --generate. Relay the CLI's actual prompts and preview, using settled user preferences and asking for missing choices. Confirm the displayed changes only after approval. If the host cannot interact with a terminal, give the user the exact command to run in the selected repository and resume after they finish. Do not simulate the wizard with piped answers. For settings the installed CLI cannot edit, explain the capability gap instead of inventing flags or editing YAML yourself.

After a successful save, validate and inspect the resulting configuration. Saving locally does not activate settings on hosted PR reviews. Commit, push, dashboard changes, and running a review require their own user-requested scope.

Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

88/100

Grade

A

Excellent

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

89

Quality

89

Clarity

87

Completeness

84

Summary

This skill guides an AI agent to create, update, and validate CodeRabbit repository configurations using the official CLI. It provides structured workflows for inspecting configurations, generating review-style changes (via profiles), previewing changes with dry-run, and applying approved configurations safely to .coderabbit.yaml/yml files. The skill emphasizes CLI verification, base-hash validation, and protocol v2 compliance to prevent misuse and ensure configuration integrity.

Detected Capabilities

CLI executionfile write (scoped to .coderabbit.yaml/yml)schema validationdry-run previewgit working tree accessnetwork request (schema validation)

Trigger Keywords

Phrases that agents use to match this skill to user intent.

coderabbit config setupreview style profilevalidate coderabbit yamlcoderabbit configurationcode review settings

Risk Signals

INFO

Network access to configuration schema endpoint

Setup requirements and validation workflow
INFO

Temporary file creation for proposal staging outside repository

Step 3 of create/change workflow
INFO

No explicit authentication or token documentation for CodeRabbit CLI

Throughout skill

Referenced Domains

External domains referenced in skill content, detected by static analysis.

docs.coderabbit.ai

Use Cases

  • Set up or update .coderabbit.yaml configuration for a repository
  • Apply CodeRabbit review style profiles (Balanced, Focused, Thorough) to a repository
  • Validate CodeRabbit configuration against the current schema
  • Preview configuration changes before applying them to a repository
  • Integrate CodeRabbit configuration setup into repository onboarding workflows

Quality Notes

  • Excellent scope boundary definition: skill explicitly rejects repository-local executables and unknown wrappers, preventing CLI spoofing
  • Strong security-first design: requires exit zero and protocol v2 responses before proceeding, with mandatory dry-run preview and base-hash validation
  • Comprehensive CLI verification workflow documented: version check, command support, and re-discovery after upgrades to prevent stale paths
  • Clear error handling: distinguishes between permission/network errors and missing features; refuses to implement fallback editors or YAML rewrites
  • Excellent workflow clarity: step-by-step numbered procedures with explicit input validation (e.g., ok: true, protocolVersion: 2) and state management (baseHash tracking)
  • Well-documented limitations: explicitly states that local saves do not activate hosted settings; commit/push/review runs require separate authorization
  • Structured authority-awareness: respects CLI warnings (TypeScript, remote config, symlinks, multiple files) and does not bypass them
  • Proposal-based architecture: uses temporary files and dry-run preview to prevent accidental writes, with explicit user approval gates
Model: claude-haiku-4-5-20251001Analyzed: Nov 11, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use coderabbitai/coderabbit-config in your dev environment

Command Palette

Search for a command to run...