PromptBuild and fixClaude Code, Codex, Cursor and other coding agents

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
  1. The builder makes the change.
  2. The checker runs tests and reviews.
  3. 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.
Paste into Claude Code, Codex or Cursor. To keep it running unattended, wrap it in /goal or the Ralph loop.