Build and fix loops

5
Loops that turn a request into working code: a precise goal first, then build, check and fix until the evidence says done.
Loops › Build and fix
1
Goal meta-skill loopPromptTop pick
Rewrites a vague request into a precise, checkable goal before any code is written.
Claude Code, Codex, Cursor and other coding agents · Stops when: the goal has checks a machine can verify
2
Writes down the done-criteria first, then refuses to call anything done without evidence for each one.
Claude Code, Codex, Cursor and other coding agents · Stops when: every criterion has evidence attached
3
Reads the code and plans first, waits for your OK, then builds with tests and commits.
Claude Code, Codex, Cursor and other coding agents · Stops when: the plan is built, tests pass and the work is committed
4
Two roles, a builder and a checker. Every failure goes back to the builder until everything is green.
Claude Code, Codex, Cursor and other coding agents · Stops when: the checker finds nothing to send back
5
Reproduces the bug first, then tests one hypothesis at a time until the cause is proven.
Claude Code, Codex, Cursor and other coding agents · Stops when: the reproduction passes and stays as a regression test