How the Claude Code team does code review
by Anthropic
Anthropic's layered review process for agent-written code, with risk tiers and a three-round cap
Overview
Published on October 15, 2026 by Addy Osmani, Morgan Westlee Lunt and Qing Wang of Anthropic, this engineering post (about a 14-minute read) documents how the Claude Code team reviews pull requests when Claude writes most of the code. It starts from a scale problem: Anthropic's monorepo went from about 2,500 changes a day in May to more than 30,000 in September, so the team treats human attention as the scarce resource and aims for most PRs to merge with at most one person in the loop, using revert and incident rates as the guardrail. The core of the post walks through seven layers a change passes. Claude verifies its own work and a fresh-context subagent reviews the diff; an AI review runs on every PR; a security review blocks merge until its findings are resolved; CI checks are required; human approval is scaled by a low, medium or high risk tier set by a classifier; a merge queue, feature flags and staged release channels follow; and rollback is fast, with a weekly on-call. Later sections explain how incidents and reverts become an eval set that scores the reviewer daily, how a cap of three review rounds plus diff-only re-review cut the mean reviews to pass from 2.08 to 1.32, which decisions stay with humans, and an adoption checklist built on CLAUDE.md, REVIEW.md, /code-review, /security-review, CODEOWNERS and branch protection.
At a Glance
- Topic
- Agentic
- Level
- Intermediate
- Format
- Guide
- Cost
- Free
- Duration
- ~14 min read
- Provider
- Anthropic
- Hands-on
- No
- Certificate
- None
What You’ll Learn
- ✓How to layer self-verification, AI review, security review and CI before a human reads a pull request
- ✓How to define low, medium and high risk tiers that set how many human approvals a change needs
- ✓How to write a short REVIEW.md that caps nits, lists paths to skip and asks for file-and-line evidence
- ✓Why a three-round cap and diff-only re-review stop an AI reviewer from looping on the same pull request
- ✓How to turn past incidents and reverts into an eval set that scores your AI reviewer every day
- ✓Which decisions the Claude Code team keeps with humans, including billing code, CI workflow files and architecture
- ✓How a merge queue, feature flags, staged release channels and one-step rollback limit the blast radius of agent-written changes
Highlights
- •Before-and-after numbers: PRs passing after one review round rose from 65% to 78%, and PRs needing five or more rounds fell from 8.9% to 1.5%
- •Internal PRs with substantive review comments went from 16% to 54% when the Code Review research preview launched
- •Ends with a concrete checklist split into before the PR, on every PR, approval, and merge and after
- •States its own gaps, such as having no circuit breakers yet that tighten approval when revert or incident numbers move
- •Covered independently by InfoQ on November 15, 2026, which raises the open question of whether AI review now overlaps with QA
Who It’s For
Best For
- ✓Engineering leads whose teams merge a growing share of agent-written pull requests
- ✓Platform and developer-experience engineers designing CI, branch protection and merge-queue policy
- ✓Teams already using Claude Code or another AI reviewer that see noisy or endless review rounds
Prerequisites
- •Working familiarity with pull requests, CI and branch protection on GitHub or a similar host
- •Some experience using a coding agent such as Claude Code; no ML background is needed
FAQ
What is How the Claude Code team does code review?
An Anthropic engineering post on how the Claude Code team reviews pull requests now that Claude writes most of the code. It is for engineering leads and platform engineers who need agent-written changes to merge safely, and it gives you risk tiers, guidance for a REVIEW.md file and an adoption checklist you can copy.
Is How the Claude Code team does code review free?
How the Claude Code team does code review is free to access.
What level is How the Claude Code team does code review for?
How the Claude Code team does code review is aimed at a intermediate audience. Recommended background: Working familiarity with pull requests, CI and branch protection on GitHub or a similar host, Some experience using a coding agent such as Claude Code; no ML background is needed.
How long does How the Claude Code team does code review take?
Expect roughly ~14 min read. Most learners work through it at their own pace.
What will I learn from How the Claude Code team does code review?
You'll learn: How to layer self-verification, AI review, security review and CI before a human reads a pull request; How to define low, medium and high risk tiers that set how many human approvals a change needs; How to write a short REVIEW.md that caps nits, lists paths to skip and asks for file-and-line evidence; Why a three-round cap and diff-only re-review stop an AI reviewer from looping on the same pull request; How to turn past incidents and reverts into an eval set that scores your AI reviewer every day; Which decisions the Claude Code team keeps with humans, including billing code, CI workflow files and architecture; How a merge queue, feature flags, staged release channels and one-step rollback limit the blast radius of agent-written changes.
Topics
Sources
This page was written from 3 sources, 2 on domains other than claude.dev.