Root cause analysis with 5 Whys methodology. Use when investigating bugs, analyzing failures, or when user mentions root cause, 5 Whys, なぜなぜ分析, 根本原因, 原因分析, symptom fix, 対症療法.
View on GitHubthkt/claude-config
development-skills
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/thkt/claude-config/blob/main/skills/analyzing-root-causes/SKILL.md -a claude-code --skill analyzing-root-causesInstallation paths:
.claude/skills/analyzing-root-causes/# Root Cause Analysis - 5 Whys ## Symptom vs Root Cause | Type | Example | Result | | ----------- | -------------------------- | ------------- | | Symptom Fix | setTimeout to wait for DOM | Breaks later | | Root Cause | Use React ref properly | Permanent fix | | Symptom Fix | Add flag for double-submit | Complexity ↑ | | Root Cause | Disable button on submit | Simple fix | ## 5 Whys Process | Step | Question | Reveals | | ---- | ----------------------------- | ------------------------ | | 1 | Why does this occur? | Observable fact | | 2 | Why does that happen? | Implementation detail | | 3 | Why is that the case? | Design decision | | 4 | Why does that exist? | Architectural constraint | | 5 | Why was it designed this way? | Root cause | ## References | Topic | File | | -------- | -------------------------------- | | 5 Whys | `references/five-whys.md` | | Patterns | `references/symptom-patterns.md` |