Agent Wranglers

Measuring and improving Required

Add a check for every repeated mistake

When the same mistake appears twice, add a check that catches it, instead of another reminder in the instructions.

How to do it

Turn the mistake into a linter rule, a test, a build gate or a hook. Then no reviewer has to catch it again. Make each check pass or fail on its own, as check every rule in code describes.

How to check

Each mistake kind seen twice in the log has a linked check that fails when the mistake is repeated.

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers ai development playbook: https://agentwranglers.se/playbook/ai-assisted-development/measuring-and-improving/check-repeated-mistakes.