In plain words
A diff shows exactly what changed between two versions of your code: removed lines in red with a minus, added lines in green with a plus.
Where you see it
The review panel in Cursor, the changes Claude Code shows before it edits a file, or "Files changed" on a GitHub pull request. If your Lovable project syncs to GitHub, each change it makes appears there as a commit with its own diff.
What goes wrong
- Reading only the green lines
Added code is what you asked for. Removed code is where surprises hide: a deleted check, a dropped filter, a missing error message.
- Skipping the list of files
Before reading any line, look at which files changed. A colour tweak that touched login and the database tells you most of the story already.
- Accepting every change unread
Cursor and Claude Code can apply all edits in one go. For anything bigger than a small fix, scroll through first; it's faster than hunting the bug later.
What to tell your agent
Quick check
Sign in to earn +10 XP for itYou asked for a new button label. The diff shows changes in Button.tsx, auth.ts and package.json. What does that tell you?