Topic field guide
Testing & debugging
Diagnose failures, design useful tests, and review changes without guessing.
Prompts
Diagnose before fixing
Reproduce, narrow, and prove a root cause before touching production code.
Copy and adapt
Create a minimal reproduction
Reduce a failure to the smallest case that still contains its cause.
Copy and adapt
Run a red–green–refactor loop
Develop one behavior through a meaningful failing test and the smallest passing change.
Copy and adapt
Review tests for false confidence
Find tests that pass while important behavior remains unprotected.
Copy and adapt
Find the edge cases that matter
Derive boundary cases from invariants, state transitions, and external dependencies.
Copy and adapt
Review a pull request against its specification
Separate implementation quality from whether the change fulfills its actual contract.
Copy and adapt
Investigate a performance regression
Measure the regression, isolate the changed cost, and verify the fix against a baseline.
Copy and adapt
Verify a bug fix
Prove that a fix addresses the root cause, prevents recurrence, and avoids adjacent regressions.
Copy and adapt
Directory picks
Test-Driven Development
Runs a focused red–green–refactor loop one vertical behavior at a time.
mattpocock/skills
Diagnosing Bugs
Uses reproduction, minimization, hypotheses, and instrumentation before implementing a fix.
mattpocock/skills
Code Review
Reviews a change independently for engineering standards and specification fidelity.
mattpocock/skills
Workflows
Collections