Bug Until Reproduced
A systematic debugging loop designed to help developers identify, isolate, and create reliable reproductions of software bugs. This loop iterates through tes…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Bug Until Reproduced" loop.
Goal: Create a reliable and minimal reproduction of a software bug through iterative testing and analysis
Max iterations: 10
Between iterations run: repro test
Exit when: Reproduction exists
Start the 'Bug Until Reproduced' loop by providing a detailed bug description including error messages, expected vs actual behavior, and any relevant context such as recent code changes or specific conditions that trigger the issue.
Self-pace this loop. After each iteration, run `repro test` and evaluate the output, and only continue if the exit condition is not met (Reproduction exists). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.