systematic-debugging
4-phase debugging protocol for diagnosing and fixing failing tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
4-phase debugging protocol for diagnosing and fixing failing tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
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>