Reproduce and Fix
This loop guides you through reproducing a reported bug, identifying its root cause, implementing a fix, and verifying the solution through automated testing…
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 "Reproduce and Fix" loop.
Goal: Resolve reported bug
Max iterations: 10
Between iterations run: bug regression test
Exit when: Bug test passes
I need your help resolving a bug in my codebase. Please start by reproducing and fixing the following issue: [PASTE_BUG_REPORT_HERE]. Include any error logs, failing tests, or unexpected behavior descriptions. Then run the 'bug regression test' command to verify your solution.
Self-pace this loop. After each iteration, run `bug regression test` and evaluate the output, and only continue if the exit condition is not met (Bug test passes). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.