# Review agent-written code in layers the way the Claude Code team does

> The Claude Code team described how they moved most code reading to automated reviewers, kept humans for risky and directional calls, and still cut the share of reverted pull requests by more than 40% while merges doubled.

- URL: https://paperchasewebb.ai/bots/marketplace/items/review-agent-written-code-in-layers-the-way-the-claude-code-team-does/
- Type: Agent use case pack
- Category: Vibe coding
- By: PaperChaseWebb
- Works with: Claude Code (named in the listing); Plain .md
- Price: Free USD
- Difficulty: Intermediate
- Setup time: 30 min
- Time to result: One working session
- Format: Markdown (.md) file, review-agent-written-code-in-layers-the-way-the-claude-code-team-does.md
- Version: 1.0, updated 2026-10-25
- License: Personal and commercial use. Credit the original source when you share the workflow.

## What you end up with

Review has to converge: one PR went through more than fifty agent rounds overnight, so they now cap rounds at three, re-review only new diffs, and suppress repeat findings.

## What you get

- A plain-language summary of the workflow
- A fill-in prompt template
- What to watch out for
- A link to the original source

## Who it is for

Builders who already use AI agents and want a proven workflow they can copy into their own project.

## Tools needed

- Claude Code: writes most changes and self-verifies
- Code Review for Claude Code: multi-agent PR review with voting on findings
- /security-review and the security review GitHub Action: blocking security findings
- CLAUDE.md and REVIEW.md: project rules and reviewer guidance
- You need: An AI coding agent or chat model
- You need: A small real task to try it on

Cost to run: Free with the agent plan you already use.

## How it works

1. **Read what they did.** Skim the source post linked below, then the summary on this page. Expected: You know the setup and the one rule that made it work.
2. **Fill in the template.** Copy the prompt and replace every [bracketed] value with your own project details. Expected: A prompt that fits your project.
3. **Run it once and check.** Run it on a small task first and confirm the result yourself before you trust it on real work. Expected: One verified run.

## Sample prompt: Workflow template (Claude Code, Code Review for Claude Code)

```
Adoption steps the post lists, in our words: keep a short CLAUDE.md with checks the agent can run; run /code-review and /security-review locally before a PR; add a REVIEW.md and move repeated review comments into it; require CI and add Testing, Risk and How to revert to the PR template; turn on an AI reviewer for one repo first; require every review thread resolved before merge; write risk tiers based on the change, not the author; cap review rounds; turn incidents and reverts into an eval set.
```

Adapted by PaperChaseWebb. Not the original author's prompt.

## Free preview of review-agent-written-code-in-layers-the-way-the-claude-code-team-does.md

````markdown
# Review agent-written code in layers the way the Claude Code team does

PaperChase agent use case (free feed entry), version 1.0. Source: [Addy Osmani, Morgan Westlee Lunt and Qing Wang (Claude Code team, Anthropic)](https://claude.dev/blog/solving-code-review-at-anthropic/), 2026-10-15.

## What they did

Addy Osmani, Morgan Westlee Lunt and Qing Wang laid out a stack of checks: the agent must show test or build output before a PR, a fresh-context subagent reviews the diff, several review agents look for bugs and a second group votes before a finding is posted, security findings block merge until fixed or dismissed with a reason, and a classifier sets a risk tier that decides whether zero, one or two humans approve. Merge queue, flags, staged release and fast rollback sit underneath. Past incidents became a daily eval for the reviewer.

## Worth knowing

Review has to converge: one PR went through more than fifty agent rounds overnight, so they now cap rounds at three, re-review only new diffs, and suppress repeat findings. An agent's approval never fills a required human slot, and whoever prompted a change owns it. Internal numbers are Anthropic's own. The post is dated Oct 15 with no time; the earliest share we found on X was Oct 16 at 01:49 UTC.
````

## Worth knowing

- Review has to converge: one PR went through more than fifty agent rounds overnight, so they now cap rounds at three, re-review only new diffs, and suppress repeat findings. An agent's approval never fills a required human slot, and whoever prompted a change owns it. Internal numbers are Anthropic's own. The post is dated Oct 15 with no time; the earliest share we found on X was Oct 16 at 01:49 UTC.
- Figures are as reported by the original author and were not re-measured by us.

## Questions

**Where does this come from?** A public post credited to Addy Osmani, Morgan Westlee Lunt and Qing Wang (Claude Code team, Anthropic). Source: https://claude.dev/blog/solving-code-review-at-anthropic/

**Is it free?** Yes. Feed entries are free to read and download.

## How to get it

Free sample. Download it directly at https://paperchasewebb.ai/bots/marketplace/items/review-agent-written-code-in-layers-the-way-the-claude-code-team-does/, no signup.

Seller: PaperChaseWebb Inc., mgmt@paperchasewebb.com
