Test-first prompting: let the tests drive the AI agent
"Make it work" is a vague prompt. A failing test is a precise one. Writing the tests first turns an AI agent from a confident guesser into a fast implementer, and review becomes much easier.
"Make it work" is a vague prompt. A failing test is a precise one. Writing the tests first turns an AI agent from a confident guesser into a fast implementer, and review becomes much easier.