From stv
Guides blackbox debugging: confirms AS-IS/TO-BE symptoms, traces callstacks step-by-step in trace.md, explores branches heuristically then exhaustively, verifies fixes via red-green tests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stv:debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A debugging methodology that records everything like an airplane black box while hunting for the root cause.
A debugging methodology that records everything like an airplane black box while hunting for the root cause. Core constraint: An unexplored branch is an unexamined branch.
Before starting, always confirm with the user:
The gap between AS-IS and TO-BE is the bug. Do not start debugging without confirmation.
Create a debugging log file:
~/.claude/stv/debugging/{issueID}-{YYYYMMDDhhmm}/trace.md
Follow the callstack one step at a time from the entry point, recording in this file.
Once a hypothesis is identified:
The above blackbox method covers how to trace. These principles cover how to think while debugging.
setTimeout/sleep 대신 조건 폴링을 써라.waitFor(() => condition, timeout) — 10ms 간격 폴링 + 타임아웃 필수.# Bug Trace: ISSUE-1234 — Soccer team names appear in results
## AS-IS: Movie search results include soccer team names mixed in
## TO-BE: Movie search results should only contain movies
## Phase 1: Heuristic Top-3
### Hypothesis 1: Search query runs without category filter
- `SearchController.cs:45` → calls `SearchService.Query()`
- `SearchService.cs:112` → check categoryFilter parameter → **passed as null** ✅ Likely
### Hypothesis 2: DB table join is incorrect
- `SearchRepository.cs:78` → check SQL → join is correct ❌ Ruled out
### Hypothesis 3: Response mapping mixes in other entities
- `SearchMapper.cs:34` → check mapping logic → correct ❌ Ruled out
## Conclusion: Hypothesis 1 confirmed — categoryFilter passed as null to SearchService.Query()
npx claudepluginhub 2lab-ai/oh-my-claude --plugin stvEnforces systematic root cause analysis for bugs, test failures, and unexpected behavior. Requires proof of root cause before any fix.
Debugging specialist for errors, test failures, and unexpected behavior. Guides root cause analysis with structured process.
Systematic debugging methodology for any technical issue: bugs, test failures, unexpected behavior, build failures. Emphasizes root cause investigation before proposing fixes.