ワンクリックで
debugger
Use when debugging bugs to find root causes, or after 3 failed fix attempts to stop and document state.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when debugging bugs to find root causes, or after 3 failed fix attempts to stop and document state.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when Ground Truth alignment finds memory contamination and the user explicitly requests scoped cleanup with /cleanse.
Use when registering, reviewing, merging, or rebuilding HXSK glossary term definitions after glossary-detect suggests a candidate or the user invokes /define.
Use when staged changes exist requiring qlty checks, logical split detection, or HXSK phase-scoped conventional commit creation.
Use when validating code for circular imports, layer violations, or design doc logic errors before merging architecture-level changes.
Use when .hxsk/.bootstrap-version is missing (fresh install) or exists (verify/update) to initialize HExoskeleton.
Use when shell scripts need linting/formatting before execution or commit to ensure code quality.
| allowed-tools | ["Read","Write","Grep","Glob","Bash"] |
| description | Use when debugging bugs to find root causes, or after 3 failed fix attempts to stop and document state. |
| name | debugger |
| trigger | 버그 디버깅, 오류 원인 찾기, 에러 추적, root cause, unexpected behavior, bug investigation, 3 strike rule, 가설 검증, hypothesis testing, meta debugging, self code review, debug memory search, 과거 디버그 기록, systematic investigation, 변수 변경 테스트, 편향 피하기, 3 회 실패 후 중단, fresh session, 상태 기록, root cause 분석, 증빙 기반 디버깅 |
.hxsk/memories/ 검색으로 과거 유사 사례 확인root-cause, 배제 시 debug-eliminated 저장User knows: what they expected, what happened, error messages, when it started.
User does NOT know (don't ask): what's causing it, which file, what the fix is.
Ask about experience. Investigate the cause yourself.
When debugging code you wrote, you're fighting your own mental model.
| Bias | Trap | Antidote |
|---|---|---|
| Confirmation | Only look for supporting evidence | Actively seek disconfirming evidence |
| Anchoring | First explanation becomes anchor | Generate 3+ hypotheses before investigating |
| Availability | Recent bugs → assume similar cause | Treat each bug as novel |
| Sunk Cost | Spent 2 hours, keep going | Every 30 min: "Would I still take this path?" |
Change one variable: Make one change, test, observe, document, repeat.
Complete reading: Read entire functions, not just "relevant" lines.
Embrace not knowing: "I don't know" = good (now you can investigate). "It must be X" = dangerous.
Debugging Techniques + Hypothesis Testing + When to Restart → references/debugging-techniques.md
After 3 failed fix attempts:
A fresh context often immediately sees what polluted context cannot.
Before any investigation, search past context:
Grep(pattern: "{symptom}", path: ".hxsk/memories/", output_mode: "files_with_matches")
Persist findings after each session (elimination, root cause, blocked state).
Debug Memory 전체 프로토콜 → references/debug-memory.md
empirical-validation — 수정 후 경험적 증거로 검증memory-protocol — 근본 원인, 배제된 가설을 메모리에 저장impact-analysis — 수정 전 영향 범위 분석(없음 — Bash, Read, Grep 등 에이전트 네이티브 도구로 직접 수행)
NO CONTINUE_AFTER_3_FAILURES WITHOUT STATE_RECORDING_AND_FRESH_SESSION FIRST NO HYPOTHESIS_FORMULATION WITHOUT FALSIFIABILITY FIRST NO CHANGE_WITHOUT_ISOLATING_SINGLE_VARIABLE FIRST NO DIAGNOSIS_WITHOUT_COMPLETE_FUNCTION_READING FIRST NO INVESTIGATION_WITHOUT_PAST_MEMORY_SEARCH FIRST NO ASKING_USER_FOR_ROOT_CAUSE FIRST NO INVESTIGATION_WITHOUT_3_PLUS_HYPOTHESES FIRST NO DEBUGGING_WITHOUT_TREATING_CODE_AS_FOREIGN FIRST NO SESSION_END_WITHOUT_MEMORY_PERSISTENCE FIRST