Skip to content

Review the Change That Was Never Requested

2026-08-18claude-code, code-review

An agent can solve the named problem and also change behavior you meant to preserve. Read the diff with both questions in mind.

For a formatting fix, ask Claude Code to identify any changed calculations, dependencies or public interfaces. Inspect those claims against the files rather than accepting “no behavior change” as evidence. A small before-and-after fixture can reveal altered sorting or rounded amounts.

If an unrelated repair is useful, give it its own reviewable change with a reason. That makes the current fix easier to understand and the additional work easier to reverse. The practical benefit is a narrower decision for the reviewer: they can assess the original request without discovering a second project hidden inside it.

Claude Code documentation.