PromptTop pickBuild and fixClaude Code, Codex, Cursor and other coding agents

Debug reproduction loop

Reproduces the bug first, then tests one hypothesis at a time until the cause is proven.

How each pass goes
  1. Write a failing reproduction.
  2. Form one hypothesis and test it.
  3. Fix the proven cause and keep the reproduction as a test.
Stops when
The reproduction passes and stays as a regression test.
Starter prompt
Reproduce this bug first with a failing test or script. Then loop: state one hypothesis, run one experiment to test it, record the result. When a cause is proven, fix it, make the reproduction pass, and keep it as a regression test.
Paste into Claude Code, Codex or Cursor. To keep it running unattended, wrap it in /goal or the Ralph loop.