/deep-work:deep-debugfrom deep-work
Systematic debug sub-mode enforcing Investigate → Analyze → Hypothesize → Implement with root-cause analysis before any fix. Activates on test failures or explicit invocation.
Ships in deep-work. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| 인자 | 의미 |
|---|---|
| (없음) | Debug sub-mode 진입 — 현재 실패 컨텍스트로부터 root cause 분석 |
빈 args / 매칭되지 않는 토큰 → 본문의 default 분기로 진입.
You are entering Debug Sub-Mode within a Deep Work implementation session.
Read(${CLAUDE_PLUGIN_ROOT}/skills/shared/references/user-language.md) and follow it.
🚫 NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.
Do NOT:
This command activates automatically when:
verification_cmd fails after the GREEN phase (unexpected regression)/deep-debugRead the error carefully:
에러 분석:
테스트: [failing test name]
에러 메시지: [exact error]
스택 트레이스: [relevant lines]
Reproduce consistently: Run the failing command 2 more times to confirm it's not flaky
Check recent changes: What was the last edit before the failure?
git diff HEAD
git log --oneline -5
Gather evidence: Read related files, check imports, trace data flow
Find a working reference: Is there similar code that works? Compare patterns.
Identify the difference: What's different between the working and broken state?
Trace data flow: Follow the data from input to the failure point:
데이터 흐름:
입력: [source] → [transform1] → [transform2] → ❌ [failure point]
예상: [expected value at failure point]
실제: [actual value at failure point]
Form ONE hypothesis: Based on evidence, not guessing
가설:
원인: [specific root cause]
근거: [evidence supporting this hypothesis]
검증 방법: [how to test this hypothesis]
Test the hypothesis minimally: Verify with the smallest possible change or check
If hypothesis is wrong: Return to Phase 2 with new data. Do NOT try another random fix.
Write to $WORK_DIR/debug-log/RC-NNN.md:
# Root Cause: [Title]
## 증상
- 실패한 테스트: [test name]
- 에러 메시지: [message]
## 근본 원인
[Explanation of why the bug existed]
## 수정 내용
[What was changed and why]
## 교훈
[What to watch for in the future]
## 관련 Slice
- SLICE-NNN: [goal]
debug.root_cause_note to the RC file pathIf 3 fix attempts fail (3 different hypotheses tested and invalidated):
⚠️ 디버깅 에스컬레이션
3번의 수정 시도가 실패했습니다. 이것은 아키텍처 수준의 문제일 수 있습니다.
시도한 가설:
1. [hypothesis 1] — [why it failed]
2. [hypothesis 2] — [why it failed]
3. [hypothesis 3] — [why it failed]
사용자의 판단이 필요합니다.
STOP and wait for user guidance. Do NOT continue guessing.
On entry:
debug_mode: true in state fileOn exit (fix verified):
debug_mode: falseWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 skills in this plugin
/deep-assumptionsAssumption health report — per-assumption Wilson Score confidence, verdict (justified / loosen / drop), model-aware split, decay history. Triggers on `/deep-assumptions`, `/deep-status --assumptions`, "assumption health", "rule justification", "loosen enforcement", "어썸션 헬스", "규칙 정당화", "가정 검증". Sub-page of the deep-status hub./deep-brainstormUse when clarifying the goal, boundaries and approach for a deep-work task./deep-cleanupScan and clean up stale deep-work git worktrees (`dw/*` branches) plus fork worktrees, and prune idle fork sessions from the registry. Triggers on `/deep-cleanup`, "clean worktrees", "stale worktree", "worktree 정리", "fork 정리", "deep-work 정리".deep-work@claude-deep-suite is listed by sungmin-cho/deep-suite — review the source before installing
npx claudepluginhub sungmin-cho/deep-suite --plugin deep-workOther plugins' skills for the same job