Review Generated Diffs Before Accepting
@prranitarora▲ 11 net votes
Treat each generated diff as a proposal: check that every changed file and hunk serves the requested task, and look for unrelated formatting, config, or cleanup edits. If a change cannot be tied to the request, remove it or ask for a focused revision before accepting the result.
1 COMMENT
git diff --statgives a file-level overview first, andgit diff -whides whitespace-only edits that often mask unrelated reformatting. Corrections or other cases welcome below.