원클릭으로
systematic-debugging
Use when debugging. 4-phase investigation, root cause, minimal fix.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when debugging. 4-phase investigation, root cause, minimal fix.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when reviewing architecture decisions. C4 model, dependency inversion, hexagonal boundaries.
Use during discuss-slice and plan-slice to stress-test a spec or plan against domain vocabulary before approval.
Use during research-slice to build disposable experiments that answer technical uncertainty.
Use during project:init to scaffold repo-level agent configuration (CLAUDE.md, AGENTS.md, tracker labels).
Use when implementing features/fixes. Iron law: ¬∃ production code without failing test.
Use during discuss-slice to synthesize conversation context into a formal PRD with user stories, implementation decisions, testing decisions, and exclusions.
| name | systematic-debugging |
| description | Use when debugging. 4-phase investigation, root cause, minimal fix. |
| version | 1.0.0 |
| tags | ["debugging","process"] |
∀ debug workflow: load this skill. Drives investigation -> root cause -> minimal fix.
¬guess. ∀ hypothesis: verify before proposing a fix. ¬fix symptoms.
For hard bugs and performance regressions, apply this disciplined diagnosis loop:
Construct a fast, deterministic feedback loop. Preferred forms (fastest to slowest):
Aggressively refine the loop for speed and clarity. The quality of the loop determines the quality of the diagnosis.
Reproduce the failure and validate that it matches the user's reported symptom. If the reproduction diverges, the symptom description is incomplete or incorrect.
Produce 3–5 ranked, falsifiable hypotheses following the template:
If X is the cause, then changing Y will make the bug disappear / changing Z will make it worse.
Show the ranked list to the user before testing.
Map each probe to a specific prediction. Prefer debuggers over broad logging. Any temporary logs must carry a unique tag such as [DEBUG-a4f2].
When a correct seam exists, write the regression test first, then apply the fix. If no adequate seam is available, document that architectural shortcoming.
Remove all instrumentation. Rerun the original reproduction. Ask: "What would have prevented this bug?" Escalate architectural gaps to architecture review.