HOW-CLAUDE COURSE GUIDE

How Claude Fixes Its Own Code

A chapter-by-chapter readback of the free course by Theo on Theo - t3․gg.

Length42:14
Chapters36
Modules5
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

The course’s distinctive angle is that AI code review is not about removing humans—it is about spending scarce human attention only where judgment, risk, and ownership demand it. Theo contrasts Anthropic’s layered, verification-heavy workflow with his own high-volume T3 Code experience and its failure modes.

Who it's for
Read this guide if
  • Engineering leaders redesigning review and merge workflows for AI-generated pull requests
  • Developers using Claude Code, Cursor, or similar agents to ship code faster
  • Teams that want practical patterns for CI, security review, risk tiers, flags, and rollback
Skip ahead if
  • Readers seeking a beginner tutorial on writing prompts or using Claude Code
  • Viewers who want a line-by-line code walkthrough rather than workflow strategy
  • Teams not yet dealing with substantial AI-generated pull-request volume
In brief
  • Runs 42 minutes 14 seconds (2,534 seconds).
  • Contains 18 chapters organized into 5 chronological modules.
  • Covers Claude Code, GitHub pull requests, CI, tests, linting, Browserbase, T3OS, and multi-agent review.
  • Focuses on Anthropic’s published code-review process and Theo’s T3 Code experience.
  • Best suited to intermediate-to-advanced engineers and engineering leaders.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

Why Review Must Change

0:00

Introduction

Theo introduces the problem of reviewing and merging code when AI agents can produce pull requests at enormous volume. He frames the video around Anthropic’s Claude Code review process and compares it with T3 Code’s experience.

1:44

Agent Tooling and Browserbase

Theo argues that recent agent progress comes largely from better tools and tool use. He introduces Browserbase as a way for agents to search, extract web content, navigate, fill forms, and interact with sites that cannot simply be accessed through curl.

3:25

The New Review Goal

The Claude Code team shifted from maximizing review coverage to finding the minimum human review time that does not increase reverts or incidents. Theo notes that Claude reportedly writes about 90% of Claude Code, while T3 Code is similarly dominated by Claude-written code.

4:24

Shipping at Agent Scale

Merged Claude Code pull requests more than doubled from June to September while the share requiring reversion fell by more than 40%. Anthropic’s monorepo reportedly went from about 2,500 daily changes in May to over 30,000 in September, making manual line-by-line review impractical.

5:45

Review’s Two Jobs

Code review both catches issues before shipping and builds shared understanding of the codebase. Theo emphasizes the second, often overlooked purpose, especially for major changes such as protocol overhauls and complex integrations.

6:58

Agents as Reviewers

Theo argues that production bugs often cannot be caught merely by staring at code and that teams need multiple verification methods. He believes most agents now review code better than most humans, with poor results often reflecting a poor codebase.

7:58

Continuous Review and Human Attention

Review is becoming a continuous process, more like spell check, so Claude can find and fix routine issues before a human sees the pull request. Theo argues that human time, attention, and energy are scarce resources that should be reserved for judgment-heavy work.

The Layered Review Pipeline

10:02

Measuring Human Review Cost

Human review cost includes reviewer time, time spent repairing bad code, and the waiting and communication around PR review. The goal is for most Claude Code PRs to merge with at most one human involved, without increasing reverts or incidents.

11:16

Verification Before Review

Before human review, changes are checked with tests, builds, linting, and sometimes a fresh-context agent review. UI work may be tested in a simulated browser or through computer use in a real application environment.

12:05

T3OS Verification

Theo describes T3OS giving each agent thread its own workspace, launching an Electron dev server, recording a demonstration video, and running end-to-end tests with fake model selections and pre-baked events. This avoids extra token consumption while validating behavior.

12:58

Claude Code’s PR Pipeline

Claude Code uses required CI, parallel Claude review agents, verifier voting, severity-ranked findings, a separate security review, and risk-based human approval. Theo also considers adding impact, affected-user, and risk metadata to make PRs easier to assess.

14:00

Merge, Flags, and Rollback

After approval, changes enter a merge queue, ship behind an internal flag, and are gradually released while monitored. Failures are preferably fixed forward, but severe failures can be rolled back; layered checks increase the chance that bad changes are stopped before production.

14:56

Avoiding Review Scope Creep

Review layers can cause a small PR to balloon when an agent tries to address every piece of feedback from every layer. Theo says the most important safeguard is fast, low-impact rollback, so failures remain cheap to undo.

Making Agents Verify Work

15:39

Review Before the PR

Most review happens before a PR exists: Claude is given runnable verification such as tests, builds, or screenshots and must show output rather than merely claim completion. A fresh-context subagent then reviews the diff, while internal skills hunt bugs, simplify changes, and check end-to-end behavior.

16:07

Why Verification Matters

Theo cites Boris Cherny’s view that giving Claude ways to verify its work is the most important factor for good results. Verification can range from bash commands and test suites to browser testing, phone simulators, or complex virtual-machine setups.

17:04

Fixing Repeated Review Noise

When reviewers repeatedly flag the same issue, Theo recommends fixing the source through a skill, lint rule, or instructional file such as CLAUDE.md. A short ReviewMD should describe what failure looks like in the repository, cap nits, and identify paths to skip.

17:43

Improve the Codebase First

Theo prefers to prevent agent errors first through better architecture, then through static analysis such as linters, type checks, and rules. Only after those approaches fail should teams rely on CLAUDE.md, ReviewMD, AgentMD, or skills.

18:47

Onboard the Agent Like an Engineer

A useful mental model is onboarding a highly capable but unfamiliar engineer: make the codebase easy to work in and reduce avoidable mistakes. Agents will repeatedly perform tedious work, so the environment should make correctness easier.

19:21

ClaudeReview and Review Depth

Every PR receives a ClaudeReview that reads the diff against the repository and stated intent, checks whether it solves the problem or breaks something else, and seeks root causes on bug fixes. During the research preview, substantive review comments rose from 16% to 54% of internal PRs, with quick, standard, and deep review configurations available.

Multi-Agent Review and Approval

20:02

Cheaper Multi-Model Review

Theo considers CloudReview too expensive for many fast-shipping use cases and prefers cheaper or locally subsidized alternatives. His counsel skill has three models from different families review code on a real computer that can run the project.

20:53

Let Agents Triage Feedback

Theo argues that agents, not humans, should triage review comments and decide whether feedback is valid. He criticizes tools that leave copy-paste prompt suggestions or autofix flows instead of allowing the user’s agent to evaluate the feedback.

21:51

Verify Findings Before Humans

Multiple agents can search for bugs concurrently, while a separate voting group confirms findings before they reach humans. Style, diagnostic, and cleanup-only findings are dropped; surviving findings become severity-sorted inline comments tagged important, nit, or pre-existing.

22:20

Resolve Every Finding

Each surviving finding must be fixed or explicitly resolved with a reason, and agents may apply fixes overnight. Theo says Anthropic is slower than his team, where a PR can pass through eight or more review rounds in one to two hours before human escalation.

22:44

Security Review and Blocking Checks

Security receives its own automated review, and a PR cannot merge while a bug-review or security-review finding remains open. Teams can use open-source security review, GitHub Actions, or the /security-review command alongside CI, type checks, linting, and tests.

23:17

Risk-Based Human Approval

Approval tiers are based on risk: low-risk changes may need no human approval, medium-risk changes need one reviewer, and high-risk changes need at least two. Theo prefers dynamic risk assessment and argues that bots should communicate severity rather than assign specific reviewers.

24:10

Trust, Ownership, and Approval Boundaries

Only trusted repository authors receive lighter review paths, while agent approvals never count as human approvals. The person prompting an agent remains responsible for its changes, and approvals cover only specific commits; new agent pushes or hand-resolved merges require approval to restart.

25:33

Fast Detection and Rollback

The final safety layer emphasizes rapid detection and rollback through on-call rotations, incident review, and revert and incident dashboards. The team enables limited zero-human merges for easy fixes, preferring faster detection and repair over slowing development.

Improving Review Over Time

26:24

Turn Incidents Into Evals

Review quality improves when incidents become evaluation cases: teams collect past incident-causing PRs with fixes and reverts, engineers confirm the bugs, and the reviewer runs against that set daily. Noise is measured through author responses and reviews of known-clean PRs.

27:29

Stop Runaway Review Loops

Review noise is especially expensive when the author is an agent because it can trigger more commits and review rounds indefinitely. Theo describes a four-day loop that grew a PR to roughly 80,000 lines and concludes that skills need short-circuit conditions.

28:36

Make Review Converge

Git blame showed that about 60% of repeatedly flagged code had existed since the reviewer’s first pass, meaning later rounds often found old issues rather than new ones. Theo replaced comment-count completion with a 1–10 priority score and uses a three-round cap, diff-only re-review, and bug-class flags.

30:03

Nightly Review and Simpler Decisions

Review agents run nightly over existing code to catch old bugs before they recur. After convergence changes, one-round passes increased by 13 percentage points, five-or-more-round PRs fell from 9% to 1.5%, and mean reviews to pass dropped from 2.08 to 1.32.

31:18

Keep Human Judgment Central

Humans should decide whether work is worth building, including direction, taste, and scope. They should review risky areas such as billing, auto-updaters, and CI workflows, inspect evidence rather than approve blindly, and own the outcome of every PR.

31:59

Share Context Without Reading Everything

Review also spreads codebase understanding, but no individual needs a complete mental model of a large system. Claude can generate targeted explainers or visual learning artifacts for the part of the code someone is about to change, which Theo considers more valuable than reading trivial diffs.

34:23

Ownership and Killing Bad PRs

The team follows “you land it, you own it,” with small reversible changes, blast-radius-based review rigor, fast regression detection, and shared visibility in open channels. Because agents make starting work cheap, about half of Theo’s T3 Code PRs merge while the rest are closed after better directions emerge.

36:34

Practical Adoption Checklist

Theo lays out a practical adoption path: give agents runnable checks, run local code-review and security-review skills, maintain review guidance, require CI, and include testing, risk, and rollback guidance in PR templates. Teams should then add an AI reviewer, tune review guidance, use risk-based approvals, and measure human time, reverts, and incidents.

39:00

Final Takeaways

Anthropic’s Cloud Code review product posts findings rather than approvals, preserving human approval of pull requests, though its own repositories increasingly allow low-risk changes to merge on automated checks alone. Theo’s final guidance is to fix the code first, add a check only when prevention at the code level is impossible, and use skills or guidance files last.

Moment by moment

TimeWhy it matters
3:25The core reframe: optimize for the least human review time that does not raise reverts or incidents.
12:58The full Claude Code PR pipeline: CI, parallel agent review, verifier voting, security review, and risk-based approval.
16:07Why giving agents ways to verify their work is the highest-leverage improvement.
27:29The runaway agent-review loop that grew a PR to roughly 80,000 lines.
36:34A concrete adoption checklist for teams introducing AI review safely.

Do this next

  1. Add a runnable verification step—tests, build, lint, screenshot, or browser check—before asking an agent to declare work complete.
  2. Create a short ReviewMD that identifies repository-specific failure modes, limits nits, and lists paths reviewers should skip.
  3. Set risk-based approval rules: protect billing, CI, release, and other high-blast-radius paths with required human review, while allowing lighter paths for trusted low-risk changes.

Common questions

Does Anthropic remove human code review when Claude writes most of the code?

No. Anthropic moves most routine reading to machines but keeps humans for direction, risky code, architecture, evidence review, and final ownership. Low-risk changes may require no human approval, while medium- and high-risk changes require one or two people.

What is the most important practice for AI-generated code quality?

Give the agent a way to verify its work before review. That may be a test suite, build, bash command, screenshot comparison, browser test, or another runnable check that produces evidence rather than a claim of completion.

How do teams prevent agent reviewers from creating endless loops?

Use a round cap, re-review only the new diff after early passes, flag bug classes rather than individual instances, and avoid repeating already-posted findings. Theo also recommends scoring review priority rather than treating every comment as a blocker.

Can an AI reviewer approve a pull request in place of a human?

No. In the workflow described, agent approvals never count as human approvals. The person who prompted the agent remains responsible for the change, and new unverified commits or hand-resolved merges require approval to restart.

Spot a mistake?

Every chapter summary is hand-checked against the video, but timestamps, names, and technical details can still be imperfect. If you spot an error, tell us and we will correct the study guide.

More course guides