원클릭으로
systematic-debugging
Root-cause investigation methodology before applying fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Root-cause investigation methodology before applying fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Decompose and route work through multi-agent Kanban systems
Task lifecycle management and workspace handoff for Kanban workers
Terminal-based Node.js debugging via V8 inspector protocol
Python debugging with pdb, debugpy, and remote attach
Enforce RED-GREEN-REFACTOR TDD cycle
Extract YouTube transcripts and transform into structured content
| name | systematic-debugging |
| description | Root-cause investigation methodology before applying fixes |
| alwaysInclude | false |
| requiredBins | [] |
| platforms | ["darwin","linux"] |
| version | 1.0.0 |
| tenantIds | [] |
Follow a structured investigation process to find root causes before applying fixes. Never guess-and-check — gather evidence, form hypotheses, and verify before changing code.
1. REPRODUCE → 2. ISOLATE → 3. DIAGNOSE → 4. FIX → 5. VERIFY
Establish a reliable reproduction before investigating.
# Reproduce and capture full output
ShellExec: command_that_fails 2>&1 | tee /tmp/debug-output.txt
Do not proceed until you can reliably trigger the bug.
Narrow down the problem space.
# Check recent changes
ShellExec: git log --oneline -20
ShellExec: git diff HEAD~5 -- path/to/suspected/file.py
# Bisect if the bug is a regression
ShellExec: git bisect start
ShellExec: git bisect bad HEAD
ShellExec: git bisect good v1.2.0
Form and test hypotheses about the root cause.
For each hypothesis:
| Category | Examples |
|---|---|
| State | Uninitialized variable, stale cache, race condition |
| Input | Unexpected null, encoding mismatch, off-by-one |
| Environment | Missing env var, wrong version, path issue |
| Timing | Race condition, timeout, async ordering |
| Resources | Memory exhaustion, file descriptor leak, disk full |
| Dependencies | Breaking API change, version conflict, missing module |
Apply the smallest correct change.
Confirm the fix is correct and complete.
# Run the specific failing test
ShellExec: pytest tests/test_module.py::test_that_was_failing -x
# Run the full suite
ShellExec: pytest tests/ -x
Maintain a running log during investigation:
## Bug: [Short description]
### Reproduction: [How to trigger]
### Hypothesis 1: [Description]
- Prediction: [What I expect to see]
- Evidence: [What I actually observed]
- Result: CONFIRMED / REFUTED
### Hypothesis 2: ...
### Root Cause: [Final diagnosis]
### Fix: [What was changed and why]