Blog
CodeRabbit alternatives for your team's own rules
Published
Short answer: if you want pull request review that follows the rules your team actually set, and not generic best practices, compare tools by where the rules come from. CodeRabbit, GitHub Copilot code review and Claude Code Review read the rule files in your repo. Greptile and Qodo import those files into a rule store and also learn from past reviews. Cursor Bugbot reads its own BUGBOT.md. Harbor reads the rule files from the base branch and adds the rules your team settled in coding sessions, review threads, Slack and docs, the same rules it gives your coding agents while they write.
What to compare
- Where do the rules come from? A file or config someone writes by hand, or rules learned from how the team already works.
- Which branch are they read from? If the review reads the pull request's own branch, a pull request can soften a rule and break it in the same diff.
- Do the agents get the same rules? Or only the reviewer, after the code is written.
- Who can change a rule? Whether a person approves a learned rule, or it applies on its own.
The options
| Tool | Where its rules come from | Good fit |
|---|---|---|
| CodeRabbit | AGENTS.md, CLAUDE.md and other agents' rule files by default, plus path instructions in .coderabbit.yaml | Strong general review, with rules you already wrote down |
| Greptile | Rules in .greptile/ or greptile.json, rule files imported at setup, and what it learns from comments and reactions | Rules about existing helpers and calls across a large codebase |
| Qodo | Rule files imported into its rule store, plus rules its Rule Miner (beta) writes from accepted review comments | Teams that want a managed rule store with scopes per folder |
| GitHub Copilot code review | .github/copilot-instructions.md, .instructions.md files and AGENTS.md, from the head branch | Teams already on Copilot who want the least setup |
| Claude Code Review | CLAUDE.md, and REVIEW.md from the base branch | Claude Team and Enterprise plans |
| Cursor Bugbot | .cursor/BUGBOT.md; Cursor project rules do not apply | Teams on Cursor, with one extra file to keep |
| Harbor | Rule files from the base branch, plus rules learned from sessions, review threads, Slack and docs | Teams on several coding agents whose rules live in people's heads and review threads |
The per-file detail, which branch each tool reads and the vendor sources are in which AI code reviewers read AGENTS.md and CLAUDE.md.
When CodeRabbit is still the right pick
If your rules are already written down in AGENTS.md or CLAUDE.md and you want a broad reviewer with nothing else to set up, CodeRabbit reads both by default. Path instructions cover the conventions that only hold in one folder. Switching only pays off if the rules you care about are not in a file yet, or if a pull request must not be able to change them.
What Harbor does differently
- Rules nobody wrote down. Harbor learns a rule when someone says it once, in a coding session, a review thread, Slack or a doc. A person approves it, or a policy you set does.
- The base branch. It reads
CLAUDE.md,AGENTS.md,.claude/rules, Cursor and Copilot rules andCONTRIBUTING.mdfrom the base branch, so a pull request cannot rewrite the rules it is checked against. - One list for the agents and the review. Before each prompt, Claude Code, Codex, Cursor and GitHub Copilot get the few rules that fit the task. The review checks the same rules after.
- It informs, it does not block. It comments on the line that breaks a rule, quotes the rule, and never fails the check. It also comments on bugs it finds beside the rules.
On a public repo it checks the repo's own files only, so private rules never appear in public comments.
Caveats
- Every AI reviewer here is a model, not a deterministic checker. Keep a linter for rules that are a code pattern.
- If your team uses one agent, one Git host and rules that rarely change, a built-in reviewer may be enough.
- Greptile and Qodo also learn from past reviews; compare what each learns from before you pick.
Try it
Install the GitHub App and turn on Code review. Nothing runs on anyone's machine, and the Free plan includes 10 reviews.
Questions
What is the best CodeRabbit alternative for checking PRs against our team's own rules?
It depends on where your rules live. If they are already in AGENTS.md or CLAUDE.md, CodeRabbit, Copilot code review and Claude Code Review read them. Greptile and Qodo import the files into a rule store and learn from past reviews. Harbor reads the files from the base branch and adds rules learned from coding sessions, review threads, Slack and docs, the same rules it gives your coding agents.
Does CodeRabbit read AGENTS.md and CLAUDE.md?
Yes. By its docs, CodeRabbit reads both by default, along with other agents' rule files, and takes path instructions in .coderabbit.yaml.
Can a pull request change the rules it is reviewed against?
With Copilot code review it can, since Copilot reads instructions from the head branch. Claude Code Review reads REVIEW.md from the base branch, Qodo counts a file edit once it is merged, and Harbor reads every rule file from the base branch.
Which code reviewers learn rules from past reviews?
Greptile adjusts to review comments, replies and reactions. Qodo's Rule Miner, in beta, writes rules from review comments developers accepted. Harbor learns rules from review threads, coding sessions, Slack and docs, and a person or a policy you set approves each one.
Does Harbor block a merge when a pull request breaks a rule?
No. It comments on the line, quotes the rule, and never fails the check. The Free plan includes 10 reviews.