
Asking an agent to write the failing test first gives you a clear definition of done.
It also shows you whether the agent understood the bug before it touches the code.
Then ask for the smallest change that makes the test pass.
Ask for the failing test before the fix. It changes everything.

Asking an agent to write the failing test first gives you a clear definition of done.
It also shows you whether the agent understood the bug before it touches the code.
Then ask for the smallest change that makes the test pass.

// 02 Newsletter
›
subscribe --weekly
Workflows, prompts and tools we actually use. No spam, unsubscribe any time.