/five
Apply the Five Whys root cause analysis technique to investigate an issue
$ npx -y skills add wesammustafa/Claude-Code-Everything-You-Need-to-Know --agent claude-codeShips with claude-code-everything-you-need-to-know. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/five
Context preview
What this command does when you run it.
Apply the Five Whys root cause analysis technique to investigate an issue
Command definition
five.mdname: five
description: Apply the Five Whys root cause analysis technique to investigate an issue
Five Whys Analysis
Apply the Five Whys root cause analysis technique to investigate issues.
Description
This command implements the Five Whys problem-solving methodology, iteratively asking "why" to drill down from symptoms to root causes. It helps identify the fundamental reason behind a problem rather than just addressing surface-level symptoms.
Usage
`five [issue_description]`
Variables
- ISSUE: The problem or symptom to analyze (default: prompt for input)
- DEPTH: Number of "why" iterations (default: 5, can be adjusted)
Steps
1. Start with the problem statement 2. Ask "Why did this happen?" and document the answer 3. For each answer, ask "Why?" again 4. Continue for at least 5 iterations or until root cause is found 5. Validate the root cause by working backwards 6. Propose solutions that address the root cause
Examples
Example 1: Application crash analysis
Problem: Application crashes on startup
Why 1: Database connection fails
Why 2: Connection string is invalid
Why 3: Environment variable not set
Why 4: Deployment script missing env setup
Why 5: Documentation didn't specify env requirements
Root Cause: Missing deployment documentation
Example 2: Performance issue investigation
Systematically trace why a feature is running slowly by examining each contributing factor.
Notes
- Don't stop at symptoms; keep digging for systemic issues
- Multiple root causes may exist - explore different branches
- Document each "why" for future reference
- Consider both technical and process-related causes
- The magic isn't in exactly 5 whys - stop when you reach the true root cause
Read more
name: five description: Apply the Five Whys root cause analysis technique to investigate an issue
Five Whys Analysis
Apply the Five Whys root cause analysis technique to investigate issues.
Description
This command implements the Five Whys problem-solving methodology, iteratively asking "why" to drill down from symptoms to root causes. It helps identify the fundamental reason behind a problem rather than just addressing surface-level symptoms.
Usage
`five [issue_description]`
Variables
- ISSUE: The problem or symptom to analyze (default: prompt for input)
- DEPTH: Number of "why" iterations (default: 5, can be adjusted)
Steps
1. Start with the problem statement 2. Ask "Why did this happen?" and document the answer 3. For each answer, ask "Why?" again 4. Continue for at least 5 iterations or until root cause is found 5. Validate the root cause by working backwards 6. Propose solutions that address the root cause
Examples
Example 1: Application crash analysis
Problem: Application crashes on startup Why 1: Database connection fails Why 2: Connection string is invalid Why 3: Environment variable not set Why 4: Deployment script missing env setup Why 5: Documentation didn't specify env requirements Root Cause: Missing deployment documentation
Example 2: Performance issue investigation
Systematically trace why a feature is running slowly by examining each contributing factor.
Notes
- Don't stop at symptoms; keep digging for systemic issues
- Multiple root causes may exist - explore different branches
- Document each "why" for future reference
- Consider both technical and process-related causes
- The magic isn't in exactly 5 whys - stop when you reach the true root cause
From first prompt to agent teams — one guide. A practical guide to Claude Code — from your first prompt to multi-agent automation, hooks, MCP, and team workflows. Built around clear mental models and real examples, not marketing.
Repo: wesammustafa/Claude-Code-Everything-You-Need-to-Know
Other commands on claude-code-everything-you-need-to-know.
- /pr
Create a branch, split changes into logical commits, and open a pull request
Open command - /review
Run a multi-perspective PR review (product, dev, QA, security, DevOps, UX) and post it to GitHub
Open command - /tdd
Development practices and TDD workflow to follow before starting a feature
Open command - /test
LLM unit testing best practices checklist for testing internal logic, not API endpoints
Open command - /todo
Manage project todos in todos.md file
Open command - /ux
User Experience Designer & UI Specialist persona for design-focused tasks
Open command

