원클릭으로
systematic-debugging
Use when encountering any bug, error, crash, or unexpected behavior — before proposing any fix
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when encountering any bug, error, crash, or unexpected behavior — before proposing any fix
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use before any DevOps build, change, or new feature — refine requirements through dialogue before touching infrastructure or code
Use when working with Docker — building images, writing Dockerfiles, debugging container issues
Use to execute a written implementation plan via subagents with review checkpoints
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when working with Kubernetes or Helm — authoring, reviewing, hardening, or debugging manifests, Deployments, Services, Ingress, RBAC, NetworkPolicy, or cluster operations
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
| name | systematic-debugging |
| description | Use when encountering any bug, error, crash, or unexpected behavior — before proposing any fix |
NO FIX WITHOUT ROOT CAUSE INVESTIGATION FIRST
Random fixes waste time and create new bugs. Quick patches mask underlying issues. If you haven't completed Phase 1, you cannot propose fixes.
Do NOT skip any of these:
List 2-3 specific, falsifiable hypotheses. Examples:
Do not combine hypotheses. Test one at a time.
For each hypothesis:
Only after you have confirmed the root cause:
If you catch yourself thinking:
ALL of these mean: STOP. Return to Phase 1.
If 3+ fixes failed: Question the architecture — is this pattern fundamentally sound? Discuss with your human partner before attempting more fixes.
| Excuse | Reality |
|---|---|
| "Issue is simple, don't need process" | Simple issues have root causes too. Process is fast for simple bugs. |
| "Emergency, no time for process" | Systematic debugging is FASTER than guess-and-check thrashing. |
| "Just try this first, then investigate" | First fix sets the pattern. Do it right from the start. |
| "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
| "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question pattern, don't fix again. |
| Phase | Key Activities | Success Criteria |
|---|---|---|
| 1. Gather Evidence | Read errors, reproduce, check changes, collect context | Understand WHAT and WHERE |
| 2. Form Hypotheses | List falsifiable hypotheses, one at a time | Specific, testable theories |
| 3. Test Hypotheses | Smallest possible test per hypothesis | Confirmed or ruled out |
| 4. Fix | Fix root cause, verify, check for spread | Bug resolved, no regressions |
| Error | First thing to check |
|---|---|
CrashLoopBackOff | kubectl logs <pod> --previous |
OOMKilled | Memory limits vs actual usage |
502 Bad Gateway | Upstream health, timeout settings |
Connection refused | Service running? Port correct? Firewall? |
| Terraform apply fails | State drift, permissions, provider version |
| CI pipeline fails | Dependency versions, environment vars, secrets |
Permission denied | IAM/RBAC roles, file permissions |
| DNS not resolving | Propagation time, correct record type, TTL |