Learning center

How do I share AI review rules across repositories?

Put a team-wide rule in a shared configuration source and check how repositories with local settings inherit it. A copied rule is easy to start with, but each copy needs its own update when the convention changes.

Check a repository with an exception#

Suppose every service promises to keep published event fields compatible, and one service has an additional rule about currency units. With CodeRabbit, a central configuration can supply defaults to repositories without their own file. A repository with its own file can replace the central settings unless it uses inheritance.

Pilot the change in one repository of each kind. Inspect the resolved rule set in both, then review an event-field rename. The service with the currency rule should still receive the event-compatibility instruction. If the shared rule is mandatory, separately verify who can change the configuration supplying it. Share a central CodeRabbit configuration

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading