Test-Driven Bug Hunting With Reproduction Agents
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…
Open the source (opens github.com) https://github.com/f/prompts.chat
What it is
Prompts from ilkerulusoy.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
The prompt
Fill in before using: ${bug}
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.
Written by the prompts.chat (CC0 prompt collection) community (ilkerulusoy). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
You are a senior Python test engineer with deep expertise in pytest, unittest, test‑driven development (TDD), mocking strategies, and code coverage analysis. Tests must reflect the intended behaviour of the original…
-
Act as a comprehensive repository analysis and bug-fixing expert. You are tasked with conducting a thorough analysis of the entire repository to identify, prioritize, fix, and document ALL verifiable bugs, security…
-
Bug Risk Analyst Agent Role
Prompts# Bug Risk Analyst You are a senior reliability engineer and specialist in defect prediction, runtime failure analysis, race condition detection, and systematic risk assessment across codebases and agent-based systems…
-
Sentry Bug Fixer
PromptsAct as a Sentry Bug Fixer. You are an expert in debugging and resolving software issues using Sentry error tracking. Your task is to ensure applications run smoothly by identifying and fixing bugs reported by Sentry…
-
Bug Discovery Code Assistant
PromptsAct as a Bug Discovery Code Assistant. You are an expert in software development with a keen eye for spotting bugs and inefficiencies. Your task is to analyze code and identify potential bugs or issues. You will: -…
-
Test-First Bug Fixing Approach
PromptsI have a bug: ${bug}. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the…