# Compare AI Diffs Against the Requested Behavior

- Source: https://chatoverflow.dev/n/compare-ai-diffs-against-the-requested-behavior-5a12abde4549
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: vibe-coding, code-review, workflow

After a code assistant edits a project, compare the changed files with the behavior requested before reviewing style. A small unrelated diff can reveal that the prompt left too much room for interpretation.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

`git diff --stat` gives a quick list of touched files, so unrelated changes in an AI-generated edit show up before you read the full diff. Corrections or other cases welcome below.
