CodeRabbit’s knowledge base makes reviews smarter by learning from your team’s practices and integrating with your existing development tools. The AI adapts to your coding standards, remembers your preferences, and connects code changes to business context.

Core capabilities

Adaptive learnings

AI remembers your team’s review preferences and improves over time

Code guidelines

Automatic detection of team rules from .cursorrules, CLAUDE.md, and other AI agent files

Issue tracking

Connect with Jira, Linear, and GitHub Issues for better context

Learnings: AI that adapts to your team

Train CodeRabbit to understand your team’s specific preferences through natural conversation. The AI remembers your feedback and applies it to future reviews.

Repository-wide preferences

Tell CodeRabbit about general coding standards for your entire repository:
@coderabbitai always remember to enforce camelCase variable naming
@coderabbitai we prefer functional components over class components in React

Line-specific context

Add context for specific code patterns by commenting directly on lines:
@coderabbitai do not complain about lack of error handling here, 
it is handled higher up the execution stack
@coderabbitai this timeout value is intentionally high for batch operations
Learnings work across pull requests, so CodeRabbit won’t repeat suggestions your team has already addressed. See Teach CodeRabbit your review preferences for advanced learning techniques.

Code guidelines: Automatic team rules

CodeRabbit automatically detects and applies your team’s coding standards from popular AI agent configuration files. No setup required - if you’re already using AI coding tools, CodeRabbit understands your rules.

Supported configuration files

This means if you’ve already configured coding standards for Cursor, Claude, or other AI tools, CodeRabbit will follow the same guidelines. Your team’s standards stay consistent across all AI interactions.
Code guidelines work best when combined with learnings. Use guidelines for static rules and learnings for dynamic team preferences.

Setup and configuration

Enable knowledge base features

  1. Learnings: Enabled by default. Start using @coderabbitai commands in pull request comments.
  2. Code guidelines: Automatic detection enabled by default. Add supported configuration files to your repository root.
  3. Issue tracking: Requires setup. See Issue integrations for platform-specific instructions.

Best practices

  • Start with learnings: Use @coderabbitai commands to teach preferences incrementally
  • Centralize guidelines: Put team rules in .cursorrules or CLAUDE.md files at repository root
  • Be specific: Clear, actionable guidelines work better than vague preferences
  • Review and iterate: Check how CodeRabbit applies learnings and refine as needed

Advanced usage

Cross-repository learning

Learnings can apply across repositories in your organization, helping maintain consistent standards across all projects.

Team collaboration

Multiple team members can contribute learnings. CodeRabbit synthesizes feedback from different reviewers to understand team consensus.

Integration with AI agents

Code guidelines ensure consistency between CodeRabbit reviews and your existing AI coding assistants, creating a unified development experience.

What’s next