From five-whys
Root cause analysis technique for self-improvement. Applies iterative questioning to failures, mistakes, or suboptimal outcomes to find systemic causes and actionable changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/five-whys:five-whysThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Iteratively ask "Why?" until reaching a cause that is actionable, systemic, and honest.
Iteratively ask "Why?" until reaching a cause that is actionable, systemic, and honest.
When an answer contains multiple factors (look for "and", "plus", "also", or multiple clauses), fork into separate branches. Each branch gets its own chain of whys and its own change.
Problem: Deploy failed
│
├─ Branch A: Why did the config have a typo?
│ └── Why? I edited it manually
│ └── Why? No templating or validation
│ └── Change: Add config schema validation
│
└─ Branch B: Why were there no tests?
└── Why? I didn't know that path existed
└── Why? I didn't check coverage
└── Change: Require coverage check
| Avoid | Instead |
|---|---|
| "I was careless" | "What check would have caught this?" |
| "I should have known" | "What information was I missing?" |
| "I made a mistake" | "What made this mistake possible?" |
"I failed" is never a root cause. Ask: what process, knowledge, or check was missing?
## Problem
[What went wrong - specific and factual]
## Analysis
### Branch A: [First factor]
1. Why? [Answer]
2. Why? [Answer]
3. Why? [Root cause]
**Root cause**: [Systemic gap]
**Change**: [Specific action]
### Branch B: [Second factor, if any]
1. Why? [Answer]
2. Why? [Root cause]
**Root cause**: [Systemic gap]
**Change**: [Specific action]
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub ozten/skills --plugin five-whys