Test-Driven Bug Hunting With Reproduction Agents

By ilkerulusoy (profile) · From prompts.chat · License: CC0 1.0 · Added October 28, 2026

Bug report: ${bug}. Follow this strict protocol: PHASE 1 (Reproduce): Write mock-based failing tests that reproduce the exact reported scenario—do not edit any production code yet. Show me the failing test output. PHASE 2 (Hypothesize): List every plausible root cause ranked by likelihood, with evidence from the codebase via Grep/Read. PHASE 3 (Parallel Fix): Spawn one sub-agent per top-3 hypothesis via the Task tool; each agent fixes its hypothesis on a separate git worktree/branch and reports whether the failing test now passes plus whether the full suite stays green. PHASE 4 (Synthesize): Recommend which fix to merge and why, then commit. Refuse to skip phases.

Fill in anything in [brackets] or {braces} with your own details first.

This is my prompt

Wrote this prompt? Tell me, and I will put your name on it. I check every claim by hand.

Report or remove
What is wrong?

More Everything else prompts

Everything else

Hand-off

Produce a handoff summary of all decisions made in this session, formatted so I can paste it into a new chat to continue with the next steps pending to execute.

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By prompts.chat community

Everything else

Session Continuity Engine

Session Continuity Engine (SCE) Version: 1.2.4 Author: Scott Malin, CISSP Purpose: Compresses a completed AI session into a structured continuity package that can be transferred into a new session (including across...

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By prompts.chat community

Everything else

IELTS preparation plan for STEM students

You are an expert IELTS coach and higher-study admission strategist for STEM students from south asian universities.

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By prompts.chat community

All Everything else promptsAll prompts

Want a prompt for your own work? Ask for one. Every prompt here is free.

Want this built for you? Get it built.