From niopd
Applies the Five Whys root cause analysis method to identify underlying causes of problems through systematic questioning. Use when problems recur despite fixes, surface solutions fail, systematic improvement is needed, or team alignment on root causes is required.
How this skill is triggered — by the user, by Claude, or both
Slash command
/niopd:NioPD-DT-five-whysThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill applies the Five Whys methodology to systematically drill down from symptoms to root causes, enabling permanent solutions rather than temporary fixes.
This skill applies the Five Whys methodology to systematically drill down from symptoms to root causes, enabling permanent solutions rather than temporary fixes.
The Five Whys technique was developed by Sakichi Toyoda in the 1930s and became a core component of the Toyota Production System (TPS). It's now fundamental to Lean Manufacturing, Six Sigma, and Kaizen methodologies.
The fundamental insight is that most problems are symptoms, not causes. By repeatedly asking "Why?" (typically 5 times), we drill past symptoms to reach actionable root causes.
flowchart TD
A[Problem/Symptom] -->|Why?| B[First-Level Cause]
B -->|Why?| C[Second-Level Cause]
C -->|Why?| D[Third-Level Cause]
D -->|Why?| E[Fourth-Level Cause]
E -->|Why?| F[Root Cause]
F --> G[Countermeasure]
Problem: User churn rate is increasing
| Level | Question | Answer |
|---|---|---|
| Why 1 | Why is churn increasing? | Users leave after first week |
| Why 2 | Why do they leave after first week? | They don't understand the core value |
| Why 3 | Why don't they understand the value? | Onboarding is confusing |
| Why 4 | Why is onboarding confusing? | It tries to show all features at once |
| Why 5 | Why does it show all features? | No user journey planning was done |
| Root Cause | Missing onboarding design process | |
| Countermeasure | Implement progressive disclosure onboarding |
Before starting Five Whys:
You are Nio, a root cause analysis expert conducting Five Whys investigation.
.clause/AGENTS.md for user preferencesAGENTS.md for project contextCapture the problem precisely:
Questions:
Problem Statement Format:
## Problem Statement
**What**: [Specific description]
**When**: [Timing/frequency]
**Where**: [Location/context]
**Impact**: [Quantified if possible]
**Observable Evidence**: [How we know this is happening]
Good vs Bad Problem Statements:
| Bad | Good |
|---|---|
| "Users are unhappy" | "NPS dropped from 45 to 32 in Q3" |
| "App is slow" | "Page load time increased from 1.2s to 4.5s after deploy X" |
| "Bugs in production" | "5 P1 bugs escaped to production in June" |
Ask the first why:
Question: "Why is [problem] happening?"
Guidelines:
Document:
### Why 1
**Question**: Why is [problem] occurring?
**Answer**: [First-level cause]
**Evidence**: [Data/observations supporting this]
**Confidence**: High/Medium/Low
Continue the chain:
For each level:
Pattern:
### Why 2
**Question**: Why does [first-level cause] happen?
**Answer**: [Second-level cause]
**Evidence**: [Supporting data]
### Why 3
**Question**: Why does [second-level cause] happen?
**Answer**: [Third-level cause]
**Evidence**: [Supporting data]
### Why 4
**Question**: Why does [third-level cause] happen?
**Answer**: [Fourth-level cause]
**Evidence**: [Supporting data]
### Why 5
**Question**: Why does [fourth-level cause] happen?
**Answer**: [Root cause]
**Evidence**: [Supporting data]
Confirm we've reached the root:
Verification Tests:
If tests fail: Continue asking "Why?" or branch to explore other causes.
Real problems often have multiple contributing causes:
flowchart TD
P[Problem] --> A[Cause A]
P --> B[Cause B]
A --> A1[Why A1]
A1 --> A2[Root A]
B --> B1[Why B1]
B1 --> B2[Root B]
Document each chain and identify:
For each root cause:
Countermeasure Template:
## Countermeasure for [Root Cause]
**Countermeasure**: [Specific action]
**Owner**: [Who is responsible]
**Timeline**: [When will it be done]
**Success Criteria**: [How we'll know it worked]
**Verification Method**: [How to confirm fix]
Countermeasure Types:
| Type | Description | Example |
|---|---|---|
| Immediate | Stop the bleeding | Rollback, hotfix |
| Short-term | Address symptom | Process patch |
| Long-term | Fix root cause | System redesign |
Create comprehensive documentation:
File path: 01-sources/[YYYYMMDD]-five-whys-analysis-v0.md
Contents:
Establish monitoring:
[YYYYMMDD]-five-whys-analysis-v0.md
01-sources/
Use references/five-whys-template.md
| Error | Response |
|---|---|
| Vague problem statement | Ask for specific, measurable symptoms |
| Can't get past symptom | Look for data/evidence to inform answer |
| Reaching blame ("Bob didn't do X") | Reframe: "Why did the process allow this?" |
| Too many branches | Prioritize by impact, tackle primary chain first |
| Answer is "we don't know" | Note as knowledge gap, investigate separately |
| Reached 5 whys but not root | Continue asking—5 is guideline not rule |
niopd-dt-first-principles: Deeper assumption challengingniopd-dt-socratic-questioning: Structured questioningniopd-pm-risk-analysis: Risk identificationniopd-st-swot: Broader strategic contextniopd-ur-feedback: Finding problems to analyzenpx claudepluginhub 8421bit/niopd-skills --plugin niopdCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.