Agent Wranglers

AID-11Recommended

Ask for the smallest change that works

Tell the agent to make the smallest change that meets the criteria, and to ask before adding dependencies, files or abstractions.

How to do it

Agents tend to add layers, options and helper files nobody asked for. Put the rule in the instructions file. Reject changes that touch files outside the task. See build only what is needed now.

How to check

A script lists every file, dependency and setting the change adds. Each one is named in the plan or the acceptance criteria, or the change is sent back.

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-assisted-development/working-in-small-steps/smallest-change">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.