Free resources · Getting started
Claude Code best practices for reviewing a first change
Try one of the Claude Code best practices for small team changes. Give a fresh reviewer one checkable claim and its source.
Why give the review to someone else?
On your next small change with Claude Code, start the handoff to your assigned reviewer with two lines. Give them one claim and the line in the finished work it describes. The pull request note is a good place to start. It's the short description your teammate reads before reviewing the change, and you only need a sentence they can check against the file.
A teammate who stayed out of the change can start from the note and the finished file. You and Claude may go through several versions of a change before you write the note. By then, a number from an earlier plan can sound right just because you've seen it before. If it ends up in the note, your teammate may take it as a description of what the pull request changes.
If this is your first project, start with how to use Claude Code and come back with one small change to review.
In tests on two news-summary tasks, three language models (GPT-3.5 Turbo, GPT-4 and Llama 2) favored summaries they wrote themselves over those by other models and by humans. In our view, a reviewer who shared your conversation can lean the same way, so hand over the claims and the diff, not the history.
How do you test a fresh reviewer?
Make a folder with two files. The first is change.diff. The pull request it comes from is fictional.
diff --git a/config/import.conf b/config/import.conf --- a/config/import.conf +++ b/config/import.conf @@ -1,5 +1,5 @@ import_source = csv -import_retry_limit = 5 +import_retry_limit = 3 import_timeout_seconds = 30 -batch_size = 100 +batch_size = 500 log_level = info
The second is note.md, the status note.
- The retry limit is now 3. - The batch size was not changed.
Open a fresh Claude Code session in that folder, so it has none of your earlier conversation, and paste this. For your own change, swap in your pull request note and its diff. This wording is our own and was not tested on real changes.
Read change.diff and note.md. For each claim in the note, say confirmed or refuted and quote the diff line that decides it. Review only. Do not edit anything.
Where can you read more?
- The Claude Code beginner tutorial, if you need a first change to practice on.
- A Claude Code review skill, if you repeat this handoff often.
- CLAUDE.md best practices, for directions that apply to the whole project.
- Claude Code skills, for a review method you’ll use again on later changes.
- Claude Code hooks, for a check that must run every time.
- A second AI chat that checks a summary, for a review outside code.
- Build an app with AI, for the order a new app is built in.
Check what the reviewer returned
The reply should confirm the first claim, citing +import_retry_limit = 3, and refute the second. The note says the batch size did not change, but the diff turns batch_size = 100 into batch_size = 500. If it confirms both, or quotes no diff line, ask again for the deciding line of each claim.