원클릭으로
debugging
Use when investigating bugs - systematic root-cause analysis approach
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when investigating bugs - systematic root-cause analysis approach
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when creating, modifying, or reviewing a cliagents provider adapter for a CLI tool such as Codex, Claude Code, Gemini CLI, Qwen CLI, or OpenCode.
Use when operating as a supervised root that delegates work to child sessions through cliagents
Use when reducing prompt size for roots and child sessions without losing the information needed to execute well
Use when passing work between agents with context preservation
Use when exploring design options or solving open-ended problems
Use when reviewing code for quality, bugs, security, and maintainability
| name | debugging |
| description | Use when investigating bugs - systematic root-cause analysis approach |
| tags | ["debugging","troubleshooting","workflow"] |
A systematic approach to finding and fixing bugs efficiently.
Before fixing anything, ensure you can reliably reproduce the issue:
Key Question: Can you make the bug happen on demand?
Collect data about what's happening:
Key Question: What is the system actually doing vs what you expect?
Based on gathered information, form theories:
Key Question: What could explain all the observed symptoms?
Systematically validate or eliminate each theory:
Key Question: Does the evidence support or refute this hypothesis?
Once you've identified the root cause:
Key Question: Does this fix the root cause, not just a symptom?
Ensure the bug doesn't return:
| Category | Symptoms | Investigation |
|---|---|---|
| Off-by-one | Wrong counts, missing items | Check loop bounds, indices |
| Null/undefined | "Cannot read property" | Trace data flow to source |
| Race condition | Intermittent failures | Check async timing, locks |
| State mutation | Unexpected side effects | Find all state modifications |
| Type coercion | Surprising comparisons | Use strict equality, check types |