How to review a change with Claude Code subagents you can trust

Day 5, 30 minutes · advanced

Goal of this lessonChain two subagents to review a real change, ask for file and line evidence, check one finding yourself and fix the reply until it is clean.

Why it matters

Two subagents in a folder are nice. They pay off when they run at the right moment in real work: right after a change, before anything goes out. Ottoline is adding a new class, a raku evening. That touches a class note, the price list and her reply to a customer, and every one of those can go wrong.

A subagent's report is still a claim, not a fact. It can miss something, or point at the wrong line. Today you make the change, run both checkers on it one after the other, ask for file and line evidence, check one finding with your own eyes, fix what is wrong and run the review again until it comes back clean.

A reviewer that did not write the work

The best practices page gives a plain reason to review with a subagent: a fresh reviewer has not seen the reasoning that produced the work, so it is not swayed by it. The same page says handing a task to a subagent does not make the answer smarter by itself. The gain is the fresh eyes, not extra brains.

It also gives a warning worth copying into every review brief: a reviewer that is asked to find problems will always find something. If you fix every finding, you end up with changes nobody needed. Tell the reviewer to report only real mistakes and to skip style. class-reviewer already says that in its instructions.

Claude Code has a bundled skill for code that works this way: /code-review checks the current diff in a fresh subagent that never saw your conversation. For Ottoline's text files, her own reviewer fits better.

Chain the checks

You can ask for subagents one after the other. The subagents page shows a chain in which one subagent finds problems and a second one fixes them. Each one returns its result to Claude, which passes what matters to the next. For Ottoline: first price-checker, then class-reviewer, then Claude fixes what they found in the main conversation, where she approves every edit.

Results you can trust

Ask for evidence, not a verdict. "All good" tells you little. A line such as emails/reply-to-wieke.txt:3, says Thursday, classes/wheel-throwing.md says Tuesday tells you exactly where to look, and you can check it in seconds.

Then check at least one finding yourself. Open the file and look at the line, or search with git. If the line number is off or the claim is wrong, you know how much to trust the rest of the report.

One more thing the subagents page explains: a subagent's report reaches Claude marked as subagent output, and any instructions or approval claims inside it carry no authority from you. A subagent may have read a file with odd text in it. Treat its report as information, and keep your own permission rules in charge of what actually happens.

Exploring a big folder

Ottoline's folder is small. In a real project with thousands of files, the built-in Explore subagent earns its place: it searches in its own context window and has no tools to edit or write files. Ask it for locations, not contents: "Use the Explore subagent to find where the opening hours are set. Report file paths and line numbers only." You then open just the files that matter.

The steps

  1. Start Claude Code in Manual mode in the practice folder.
  2. Ask Claude to add the raku evening: a class note, a price line and a sentence in the email. Approve the three edits.
  3. Chain the two checkers on the changed files, with file and line for every finding.
  4. Check one finding yourself with a search that shows line numbers.
  5. Let Claude fix the real mistakes in the main conversation and approve each edit.
  6. Run the review again until it reports no mistakes, then commit.

Follow the steps for Claude Code below.

Example: what the review finds

The new sentence in the email offers the raku evening for EUR 65, while the new line in the price list says EUR 75. price-checker reports that mismatch and the old glaze workshop price. class-reviewer adds the wrong day for wheel throwing. Ottoline checks the raku line herself with a search, sees EUR 65 in the email, and lets Claude fix all three. The second review says: No mistakes found.

Today's actions

Ticks are not saved without an account

Do it in Claude Code

Claude Code

  1. Start Claude Code in Manual mode in the practice folder.
    cd fenwick-studio
    claude --permission-mode manual
  2. Paste this change and approve the three edits.
    Add a new class for Fenwick Pottery Studio. Make exactly these three changes:
    1. Create classes/raku-evening.md: Raku evening. Day: Friday, 19:00 to 22:00. Length: one evening. Group: at most 6 people.
    2. Add this line at the end of prices.txt: Raku evening (one evening): EUR 75
    3. In emails/reply-to-wieke.txt, add this sentence as a new line right after the line about the glaze workshop: New this spring: a raku evening on Fridays for EUR 65.
    Change nothing else.
  3. Chain the two checkers. Wait until both reports are in.
    First use the price-checker subagent on emails/reply-to-wieke.txt and classes/raku-evening.md. Then use the class-reviewer subagent on the same two files. Both must give file:line for every finding. Show both reports under their names and do not fix anything yet.
  4. Check one finding yourself. This search shows every EUR amount with its file and line number.
    ! git grep -n EUR -- emails prices.txt
  5. Let Claude fix the real mistakes in the main conversation. Read each edit before you choose Yes.
    Fix only the mistakes from both reports in emails/reply-to-wieke.txt. Use prices.txt and the class notes as the truth. Change nothing else.
  6. Run the review again and wait for its report. If it still finds a mistake, fix that first and review again.
    Use the class-reviewer subagent again on emails/reply-to-wieke.txt and classes/raku-evening.md and show me its report.
  7. Once the reviewer finds no mistakes, ask Claude to commit and approve the commit.
    Commit all changes with the message: Add the raku evening and fix the reply.

Note: git grep works the same in PowerShell, CMD and bash, and searches only files that git tracks. If a report names a line that does not match what the search shows, ask the subagent again and do not fix anything on its word alone.

Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The free Claude plan does not include Claude Code.

Checked on 4 December 2026 · Source: Claude Code docs: Create custom subagents (opens in a new tab)

Create a free account to save your progress. Sign in or sign up