debug-failing-tests
Installation
SKILL.md
Debug Failing Tests
Workflow
- Run the smallest failing test first.
- Read the failure message, stack trace, and assertion intent.
- Determine whether the test, fixture, environment, or product code is wrong.
- Fix the root cause instead of weakening assertions.
- Add a regression test when the failure exposed an untested behavior.
- Re-run the targeted test and then the relevant suite.
Verification
- Targeted test passes.
- Relevant suite passes.