Fix · Problems with AI tools
The AI changed files I did not ask it to change
Blocks your work
What you may see
- I asked for one small change and many files changed
- My design or text changed somewhere else
Most likely cause
AI tools often "improve" nearby code when the request does not say exactly what is allowed to change.
Check first (about two minutes)
- Run git status and git diff --stat: which files changed and how much?
- Is your work saved (committed) from before the AI started? If yes, you can always go back.
The fix prompt
What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.
Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.
Prompt language
Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.
After you tried it, did it work?
Steps
- Do not change anything yet. List every changed file with a one-line description of what changed, and mark each as "asked for" or "not asked for".
- For the "not asked for" files, show the exact difference and propose to put them back to their saved version (git restore <file>), and wait for my yes.
- Keep only the change I asked for, then run the build and show me.
- Give me a short rule text to add at the start of future requests so this does not repeat (what may change, what must not).
Do not do this
- Do not accept a big batch of changes without reading the list of files.
- Do not start the next request before saving the current good state.
- Do not restore or delete anything before I confirm the list.