From 5cf53c74c9303231a68780875cf494fae29d9cfa Mon Sep 17 00:00:00 2001 From: promptadmin Date: Sat, 6 Jun 2026 20:51:14 +0000 Subject: [PATCH] Automated ingestion of prompt: Test-Driven Bug Hunting With Reproduction Agents --- ...st_driven_bug_hunting_with_reproduction_agents_1826.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 prompts/coding/test_driven_bug_hunting_with_reproduction_agents_1826.md diff --git a/prompts/coding/test_driven_bug_hunting_with_reproduction_agents_1826.md b/prompts/coding/test_driven_bug_hunting_with_reproduction_agents_1826.md new file mode 100644 index 0000000..f1bf0b8 --- /dev/null +++ b/prompts/coding/test_driven_bug_hunting_with_reproduction_agents_1826.md @@ -0,0 +1,8 @@ +--- +title: "Test-Driven Bug Hunting With Reproduction Agents" +contributor: "@ilkerulusoy" +tags: #coding, #ilkerulusoy +--- + +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. +