All skills
diagnosing-bugs
Build a tight, red-capable feedback loop that reproduces a hard bug before proposing any fix.
- Part of mattpocock/skills
- 956k installs
- Developer Tools · Testing and debugging
When to use it
You have a bug that throws, fails, or runs slow but you can't reliably reproduce it yet, so you can't tell which change actually fixes it.
For example
You say
Use diagnosing-bugs on my Node API: checkout sometimes returns a 500 only under concurrent requests. Build a loop that reproduces it and find the cause.
You get
- Reproduction script
- Ranked hypotheses list
- Regression test
How it works
- Refuses to guess a cause until a single command goes red on the exact symptom.
- Shrinks the repro to the smallest failing scenario before testing hypotheses.
- Tags debug logs with a unique prefix so cleanup is one grep.
Before installing
This skill includes a script your assistant may run on your computer.
More Testing and debugging skills
See all- systematic-debugging343kInvestigates bugs, test failures and unexpected behavior methodically before proposing any fix.
- test-driven-development288kWrites tests before implementation code when building any feature or bugfix.
- webapp-testing211kTests local web apps with Playwright, checking frontend behavior, capturing screenshots and reading browser logs.
- golang-testing46.4kWrites Go tests with table-driven cases, fuzzing, coverage and goroutine leak checks.
Also in this pack
- grill-me1.6MInterviews you relentlessly to sharpen a plan or design before you commit to it.
- grill-with-docs1.4MInterviews you hard about a plan while also writing decision records and a glossary as you go.
- improve-codebase-architecture1.3MScans a codebase for structural improvement opportunities, shows them in an HTML report, then digs into your pick.
- tdd1.3MBuilds features and fixes bugs test-first, writing failing tests before code and refactoring after.