five-whys
/five-whys
Use for the 5 Whys, or when the user wants the root cause of a failure: "why did this happen?", "this keeps breaking", "write the postmortem", "find the real cause". Asks why repeatedly with evidence at each step, then sets countermeasures. Skip for one-off typos or when the cause is already proven.
- Author
- ysskrishna ↗
- Repository
- ai-agent-skills ↗
- Licence
- MIT
- Last repository change
- 17.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 17.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use for the 5 Whys, or when the user wants the root cause of a failure: "why did this happen?", "this keeps breaking", "write the postmortem", "find the real cause". Asks why repeatedly with evidence at each step, then sets countermeasures. Skip for one-off typos or when the cause is already proven.
Triggers from the description
Original author description
Use for the 5 Whys, or when the user wants the root cause of a failure: "why did this happen?", "this keeps breaking", "write the postmortem", "find the real cause". Asks why repeatedly with evidence at each step, then sets countermeasures. Skip for one-off typos or when the cause is already proven.
How it works
- When to use
- Before you start
- Steps
- Pitfalls
- Checklist
SKILL.md preview
--- name: five-whys description: > Use for the 5 Whys, or when the user wants the root cause of a failure: "why did this happen?", "this keeps breaking", "write the postmortem", "find the real cause". Asks why repeatedly with evidence at each step, then sets countermeasures. Skip for one-off typos or when the cause is already proven. license: MIT metadata: author: ysskrishna version: "2026.10.5" --- # Five Whys A root-cause method from the Toyota Production System. Ask "why" of the previous answer until you reach a cause you can change, and check each link with evidence. ## When to use - An incident, outage, defect, missed deadline or process failure needs its real cause. - A problem repeats after quick fixes. - A postmortem or retrospective needs a causal chain, not a list of symptoms. Skip: a typo or one-line bug whose cause is already visible, or questions about metrics that need data analysis rather than a causal chain. ## Before you start 1. State in one block: **Problem statement** (what happened, where, when, impact, in observable terms) and **Pass** (Chain, Check, Branch if needed, Countermeasures). 2. **Gather first.** Read logs, commits, tickets, timelines and configs before answering any "why". Mark each answer `verified` (you saw evidence) or `hypothesis` (plausible, not yet checked). Ask up to 3 questions only for facts tools cannot reach. 3. **Light path.** Small ask: the chain in 3-5 lines, one countermeasure per root cause. ## Steps ### 1. Chain Write the problem, then ask why. Each "Why" answers the previous answer, not the original problem. | # | Why did that happen? | Status | Evidence | |---|----------------------|--------|----------| | 1 | ... | verified / hypothesis | file, log line, ticket | Five is a guide. Stop earlier or later when you reach a cause that is (a) within the team's control and (b) such that fixing it would have prevented the problem. ### 2. Check - **Reverse test:** read the chain from the bottom up with "therefore". Each step must follow from the one below. - **Stop test:** if the last answer is "human error", "not enough time" or "bad luck", ask why once more. These describe a missing safeguard, not a cause. - Mark any link still `hypothesis`; list how to verify it. ### 3. Branch (only if causes split) When one "why" has several valid answers, follow each as its own chain. If the causes spread across many areas, group them under People, Process, Tools, Environment, Data or Measurement (a fishbone view) and chain the top two or three. ### 4. Countermeasures For each root cause: - **Contain:** stop the damage now. - **Fix:** remove the cause. - **Prevent:** a check or guardrail so it cannot recur. - **Owner and date**, or "to be assigned". ## Pitfalls - Jumping to a favorite cause and filling the chain backward to justify it. - Asking "who" instead of "why". Blame ends the chain early; look for the missing safeguard. - Single-chain thinking on a complex failure. Branch when there are several causes. - Stopping at a cause nobody can change (for example "the vendor was down") without asking why there was no fallback. - Treating `hypothesis` rows as findings in the summary. Worked example: [references/example.md](references/example.md). ## Checklist - [ ] Problem statement is observable (what, where, when, impact) - [ ] Each why answers the previous answer; each row is `verified` or `hypothesis` - [ ] Reverse test passed; no chain ends at "human error" - [ ] Branches followed where causes split - [ ] Countermeasures cover contain, fix, prevent, with owners
Files in this package (2)
- SKILL.md 3 KB
- references/example.md 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · ysskrishna/ai-agent-skills | 100 | MIT |
| kirodotdev/kirocrew | 100 | Apache-2.0 |
| pinkroosterai/PinkRoosterSkills | 100 | MIT |
| veevia/design-agency | 100 | MIT |
| GoodRelax/gr-whiteboard | 90 | Apache-2.0 |
| wesammustafa/Claude-Code-Everything-You-Need-to-Know | 82 | MIT |
Database snapshot: 13.11.2026 · package version 98983f44dad0 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100awesome-root-cause
Root-cause analysis for incidents, recurring failures and process problems with no failing test: 5 Whys, fishbone, PDCA, A3. Use for a postmortem or why something keeps happening. - 100create-postmortem
Create a blameless postmortem when the user asks to write a postmortem, document what went wrong, analyze an incident, or run a 5 Whys analysis - 100incident-postmortem
Write a blameless postmortem after a production incident is resolved. Use for an RCA, or when the user says postmortem/RCA/writeup. Produces timeline, 5-whys root cause, and tracked action items. - 100five-whys-root-cause
Use when a problem keeps recurring, the first explanation is too shallow, or the action plan risks treating symptoms. Use when applying the Five Whys Root Cause consulting method and when a user asks for Five Whys Root Cause, method execution, structured diagnosis, or action planning. - 90Five Whys Root Cause Analysis
Evidence-based root cause diagnosis using a branching five-whys investigation. Produces a likelihood-ranked list of candidate root causes — diagnosis only, never a fix. Use ONLY when the user explicitly asks to diagnose a problem or find a root cause, with phrases like "find the… - 100root-cause-analysis
Find the root cause of a problem, not just symptoms. Use when the user says "root cause", "why does this keep happening", "5 whys", "fishbone diagram", "cause analysis", "problem investigation", "defect analysis", "incident analysis", "A3 problem solving", "what's causing this",…