Skip to content

AI Compass / Quick reads

Layers of review instead of one look: how the Claude Code team reviews code

Automation Prompting

Anthropic lets machines do most of its code review and sends people only where the risk is high. One limit matters most: after three review rounds, the team stops patching and rethinks the approach.

In depth: Separate building and checking – a critic with fresh context

On 15 October 2026, Anthropic described how the team behind Claude Code reviews changes. Every change passes through several layers of review. First, Claude runs the tests, the build and the linter (a tool that checks code for formal mistakes), and a second agent reads the change with fresh context. Next come the required CI checks (the automated test pipeline), an AI bug review in which several agents search in parallel and vote on each finding, and a separate security review. An open finding from either review blocks the merge. A classifier then decides, based on risk, whether zero, one or two people need to approve. Sensitive paths such as authentication, billing or release workflows always need a person, and an agent’s approval never counts as a person’s. Finally come the merge queue, a staged rollout behind feature flags (internal first, then everyone) and monitoring with fast rollback. The key lesson is about convergence: an agent that builds and an agent that reviews can keep each other busy forever. One pull request (a proposed change) went through more than fifty rounds overnight, and about 59% of what was flagged was code that had been there since the first review. Since then the rules are: rethink the approach after three rounds, review only the new diff after the first few passes, flag the whole class of bug instead of single lines, and never repeat a finding. According to Anthropic, merged pull requests in the Claude Code repository more than doubled from June to September, while the share of reverts fell by more than 40%. These are the company’s own figures about itself.

Tool and alternative

According to the post, the full AI review (Code Review for Claude Code) is only available on Team and Enterprise plans. Locally, Claude Code ships /code-review as a lighter version, plus /security-review, which also exists as an open-source GitHub Action. For smaller projects, Anthropic recommends a short REVIEW.md file: What does “broken” mean in this repo? Which paths should be skipped? Ask for evidence with file and line. Repeated review comments go in there. The round limit fits the card Separate building and checking: there I recommend a cap, and Anthropic sets it at three.

Sources

You can try this with your team in the AI Lab. See the AI Lab