Smallest change that works
Ask AI for the least amount of change that solves the problem.
Verify what AI gives you
Treat AI code as a confident draft to test, not a guaranteed answer.
One change at a time
Make and check one change before starting the next.