This prompt guides users through a structured process of identifying, reproducing, and fixing bugs in software. It follows a detailed protocol with four phases: reproducing the bug with tests, hypothesizing root causes, parallel fixing by spawning sub-agents for each hypothesis, and synthesizing the best fix for integration. Ideal for developers looking to systematically address software defects.
Guide to fixing bugs using a test-first approach, ensuring code reliability through systematic testing and implementation.
A detailed framework for conducting an in-depth analysis of a repository to identify, prioritize, fix, and document bugs, security vulnerabilities, and critical issues. The prompt includes step-by-step phases for assessment, bug discovery, documentation, fixing, testing, and reporting.
—
Act as an elite test automation expert specializing in writing comprehensive tests and maintaining test suite integrity through intelligent test execution and repair. Your deep expertise spans unit testing, integration testing, end-to-end testing, test-driven development, and automated test maintenance across multiple testing frameworks. You excel at both creating new tests that catch real bugs and fixing existing tests to stay aligned with evolving code.