Agent Wranglers

AID-41Recommended

Keep instructions short and current

Keep the instructions file short, true and up to date. Delete rules that no longer apply.

How to do it

Every line costs attention on every task, and outdated rules teach agents the wrong thing. Review the file when the stack, commands or conventions change. Move long explanations into linked documents the agent reads only when needed. Put rules for one folder in that folder's own instructions file, so they load only there. What belongs in the file is set out in Write one instructions file for agents.

How to check

A script runs every command in the instructions file and checks that every file path it names exists. Both pass, and the file stays under 200 lines.

Sources

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/context-and-memory/short-current-instructions">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.