Working with your AI tool
Stop the AI doing more than you asked
You ask for a button change and get a refactor across twelve files.
- What you get
- Rules that keep each change to the request, and a list of what was touched.
- Paste it into
- Your AI tool, in your project
The prompt
Add these rules to this project's instructions file (AGENTS.md or CLAUDE.md), and follow them from now on: - Make the smallest change that does what was asked. - Use what's already in the project before adding a file, a package or a new pattern. - Don't tidy, rename or reformat code that isn't part of the task. If you spot something worth fixing, tell me in one line and leave it. - Ask before widening the scope. - At the end, list every file you changed and why. Then read the instructions file as a whole and tell me if any existing line contradicts these.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Working with your AI tool
Decide when the AI must stop and ask
It either asks permission for everything or deletes something without a word.
Carry on in a fresh chat without losing your place
The chat got long, and the AI forgets earlier decisions and repeats old mistakes.
Find out what the AI decided for you
The summary says everything went well and hides the choices that shaped the result.
Turn the corrections you keep making into rules
You fix the same habit every session, and the AI makes the same mistake the next day.