Review a diff with the Code Reviewer subagent
Anthropic’s Code Reviewer checks changed code for problems and adherence to project conventions, including repository guidance in CLAUDE.md. Give it the diff or changed file paths, the expected behavior, and relevant conventions. Ask for findings with a file location and an explanation of the impact.
Make the review actionable
For a change to an import pipeline, give the reviewer an example input, which records should be accepted, and what happens if a record fails validation. Ask it to look for behavior that violates that contract. Check findings against the actual code before changing anything.
When to ask for a separate test review
A review of implementation can flag a likely bug. A coverage review asks whether a test would fail if that bug appeared. Use PR Test Analyzer when the main question is whether tests cover new behavior and plausible edge cases.