AeroTools
Home AI Prompts Test-Driven Bug Hunting With R...

Test-Driven Bug Hunting With Reproduction Agents

chatgpt • writing content • 16 uses
Free
What is this prompt for?

A prompt for producing clear, persuasive text and for tightening style and tone.

What it actually does: 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.

Main use cases:
  • Editing text and improving its tone and rhythm
  • Turning scattered notes into a coherent piece
  • Summarising long documents without losing the meaning
Benefits and results:
  • Sharper writing, so readers ask fewer questions
  • Original text, free of repetition
  • A steady voice that reflects a clear identity
Prompt length: 105 words Reading time: ~1 min Best with: Claude Pro (recommended for writing), ChatGPT Plus, Gemini Advanced

Prompt

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.

Related Prompts

AeroTools

AeroAssistant

Online AI
Hello! I am your official AeroTools AI Assistant. How can I help you use our tools today?