עברית 📰 Blog
← Back to Blog
AI News

How Anthropic Reviews AI-Written Code, and How to Copy the Setup

Stav Adam
Founder, Masterphub
October 19, 2026

Share this article

How Anthropic Reviews AI-Written Code, and How to Copy the Setup
Short answer: Anthropic says every pull request to Claude Code gets a Claude review before a person looks at it. Changes are sorted by risk: low-risk ones can merge with no human approval once the automated checks pass, while high-risk paths always need two people. From June to September, merged pull requests more than doubled and the share that had to be reverted fell by more than 40 percent.

The problem: more code than people can read

Anthropic has said before that Claude writes about 90 percent of Claude Code's own code. That creates an obvious question. If an AI writes most of the code, who checks it all? In a post published on October 15, 2026, the team explained how they handle review today and how other teams can copy the setup.

How the review works

  • Claude reviews first. Every pull request gets an AI review before a human opens it.
  • Risk decides who else looks. Low risk: no human approval needed once the automated review and security checks are green. Medium: one person. High: two people. A small set of sensitive paths always needs two.
  • Open findings block the merge. A pull request can't merge while any bug or security finding is still open, and failing CI blocks it too.
  • Mistakes are cheap to undo. Feature flags, reverts and staged releases let the team back out most problems in minutes.

What changed

Between June and September, merged pull requests to the Claude Code codebase more than doubled. Over the same period, the share of merged changes that had to be reverted fell by more than 40 percent. Those are Anthropic's own numbers for its own codebase, so treat them as a reference point, not a promise for every team.

How to set up something similar

  1. Write down the rules. Use CLAUDE.md to describe the project. Add a REVIEW.md, written by the people who own the code, that says what matters in each part of it.
  2. Review before you open a pull request. Run /code-review and /security-review locally, or have a fresh subagent review the change.
  3. Add an AI reviewer on GitHub. The post points to the Claude Code GitHub Action and Code Review for Claude Code.
  4. Sort changes by risk and decide how many humans each tier needs.
  5. Make checks required and make rollback fast.
  6. Start small. One repository, tune REVIEW.md for a few weeks, then widen.

Who it's for

Small teams and solo builders who ship a lot of AI-written code and can't read every line. The risk tiers are the useful part: they let you spend human attention only where a mistake would hurt.

Source: Anthropic, "Solving code review at Anthropic" (Claude blog, October 15, 2026)

More AI tools and ready prompts at masterphub.io

Share this article