systematic-debugging
4-phase debugging protocol for diagnosing and fixing failing tests
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
4-phase debugging protocol for diagnosing and fixing failing tests
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Structured code review
Find and load available skills
PR description generation
Spec-faithful implementation for spec-driven development
Architecture and interface design for spec-driven development
Codebase analysis and context gathering for spec-driven development
| name | systematic-debugging |
| description | 4-phase debugging protocol for diagnosing and fixing failing tests |
| methodology | tdd |
Diagnose and fix failing tests using a structured 4-phase protocol. This skill is used by the Debugger when tests are failing and the cause is not immediately obvious.
Identify the failing test(s) exactly.
Create a minimal reproduction.
Document what you know.
Identify the failure boundary.
Check common causes first.
-race flag)Trace the data flow.
Make the smallest targeted fix.
Verify the fix addresses the root cause.
Run the previously-failing test — it must now pass.
go test -race ./...## Debug Report
### Failure Summary
- Test: <test name>
- Assertion: expected <X>, got <Y>
- Consistent/Flaky: <consistent|flaky>
### Root Cause
<Explanation of what caused the failure>
### Fix Applied
<Description of the change and why it works>
### Verification
- Failing test now passes: ✓
- Full suite passing: ✓
- Race detector clean: ✓
### Regression Test Added
<Yes/No and why>