PromptBuild and fix
Build-test-fix pair loop
Two roles, a builder and a checker. Every failure goes back to the builder until everything is green.
How each pass goes
- The builder makes the change.
- The checker runs tests and reviews.
- Failures go back to the builder.
Stops when
The checker finds nothing to send back.
Starter prompt
Work as two roles. Builder: make the change. Checker: run the tests, type check and lint, and review the diff for bugs. Send every failure back to the Builder. Repeat until the Checker has nothing left, then summarise what changed.