Claude Code rules in Code Guidelines · PR Reviews
CodeRabbit now reads Claude Code rules in .claude/rules. A rule with paths frontmatter applies only to the files it matches; a rule without paths uses the scope CodeRabbit infers.
Claude Code rules in Code Guidelines
CodeRabbit now reads your Claude Code rules from .claude/rules/. A rule with paths frontmatter applies only to the files those globs match. A rule without paths gets the scope CodeRabbit infers from its content, like other guideline files. Teams that already scope their rules for Claude Code no longer need to repeat those scopes in CodeRabbit configuration, and a matching filePatterns entry with applyTo still overrides a rule's paths when you need it to.
Learn more in the Code Guidelines documentation.