Automated summary
Guides the agent through a Five Whys root cause analysis, repeatedly asking "why" to trace a visible symptom back to a fundamental, actionable cause.
Strengths
- Fixed output structure (why-chain table, problem statement, root cause, immediate and systemic corrective actions, verification) that makes analyses readable and comparable across cases.
- Explicitly supports branching when several valid answers exist at the same level.
- Clear guardrails: factual and verifiable answers, no blame, guesses flagged as hypotheses, stop when further "why" questions turn philosophical.
- Two fully worked examples — a software bug and customer churn — that set the expected level of detail.
Limitations
- A linear method: it assumes a single causal chain and can under-represent multiple interacting systemic causes.
- Output quality depends entirely on the accuracy of the answers supplied; without data the analysis stays speculative.
- The skill gathers no evidence (logs, metrics, interviews) — it structures the reasoning, it does not feed it.
Use it to drill an incident, recurring bug, or process failure down to a cause you can actually act on.
Avoid it when the facts needed to answer the "why" questions are not yet available, or when you need a quantitative multi-factor analysis (use an Ishikawa diagram or statistical analysis instead).
Security analysis
SafeThe skill is a pure analytical methodology for root cause analysis. It declares no tools and contains no executable commands, destructive actions, data exfiltration, or network operations. It only provides instructions and formatting guidance for reasoning.
No concerns found
How this analysis is madeExamples
Users have been getting 500 errors on the checkout page since this morning. Run a five whys analysis, tell me the root cause, and list both the immediate fix and the systemic change.Our biggest enterprise customer just canceled after six months. Walk me through a five whys to understand why, and flag which answers are hypotheses I still need to verify.Deploys keep failing on Fridays and we roll back most weeks. Use five whys to find out why and tell me what to fix systemically so it stops recurring.name: 5whys description: Five Whys root cause analysis. Iteratively asks "why" to drill past symptoms to underlying causes. Use for debugging, investigating failures, or understanding why something went wrong. user-invocable: true
Five Whys Analysis
Perform iterative root cause analysis by asking "why" repeatedly until you reach the underlying cause.
Instructions
Start with the stated problem and ask "why" it occurred. For each answer, ask "why" again. Continue until you reach a root cause that:
- Is actionable (you can do something about it)
- Is fundamental (asking "why" further leads to abstract/unhelpful answers)
- Explains the chain of causation
Typically this takes 5 iterations, but may be fewer or more.
Output Format
Problem Statement Restate the problem clearly and specifically.
Why Chain
| Level | Question | Answer | |-------|----------|--------| | 1 | Why did [problem]? | [Answer 1] | | 2 | Why did [Answer 1]? | [Answer 2] | | 3 | Why did [Answer 2]? | [Answer 3] | | 4 | Why did [Answer 3]? | [Answer 4] | | 5 | Why did [Answer 4]? | [Root Cause] |
Root Cause The fundamental issue identified. Explain why this is the root (not just another symptom).
Branches (if applicable) If multiple valid answers exist at any level, show the branching analysis.
Corrective Actions
- Immediate: What to do now to address the symptom
- Systemic: What to change to prevent recurrence
Verification How will you confirm the root cause is correct? (Test the hypothesis)
Guidelines
- Each answer should be factual and verifiable
- Avoid blame ("John didn't do X")—focus on systems and processes
- If you're guessing, note it as a hypothesis to verify
- Watch for circular logic
- It's okay to branch if there are multiple valid causes
- Stop when further "why" questions become philosophical or unhelpful
Examples
Software Bug
Problem: Users are seeing 500 errors on the checkout page
| Level | Question | Answer | |-------|----------|--------| | 1 | Why are users seeing 500 errors? | The payment service is timing out | | 2 | Why is the payment service timing out? | Database queries are taking >30 seconds | | 3 | Why are database queries slow? | The orders table has 50M rows and no index on customer_id | | 4 | Why is there no index? | The table was created before we had this query pattern | | 5 | Why wasn't an index added when the query was added? | No database review process for new queries |
Root Cause: Missing process for database review when adding new query patterns.
Corrective Actions:
- Immediate: Add index on customer_id
- Systemic: Add database review checklist to PR template
Customer Churn
Problem: Enterprise customer canceled after 6 months
| Level | Question | Answer | |-------|----------|--------| | 1 | Why did the customer cancel? | They said the product wasn't delivering value | | 2 | Why wasn't it delivering value? | They only had 12% feature adoption | | 3 | Why was adoption so low? | Users weren't trained on key workflows | | 4 | Why weren't users trained? | Onboarding ended after technical setup | | 5 | Why does onboarding end at setup? | Success team is understaffed; prioritizes new sales |
Root Cause: Success team capacity forces them to end onboarding prematurely.
Corrective Actions:
- Immediate: Reach out to at-risk accounts with training
- Systemic: Hire success capacity; redefine onboarding to include adoption milestone
$ARGUMENTS
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/five-whys-analysis-ms47vpd4' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/five-whys-analysis-ms47vpd4/download' --output '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md.part' && mv '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md.part' '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md' && test -s '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/5whys' && cp -R '.skill-downloads/five-whys-analysis-ms47vpd4' '.claude/skills/5whys'Cursor
test -f '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md' && test -s '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/5whys' && cp -R '.skill-downloads/five-whys-analysis-ms47vpd4' '.cursor/skills/5whys'Codex
test -f '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md' && test -s '.skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/5whys' && cp -R '.skill-downloads/five-whys-analysis-ms47vpd4' '.agents/skills/5whys'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/five-whys-analysis-ms47vpd4'openskills read 'five-whys-analysis-ms47vpd4'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/five-whys-analysis-ms47vpd4/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.