Analyze Failure — Development skill for Claude Code
Root cause analysis using 5 Whys and fishbone diagrams.
How to install Analyze Failure
Installs to ~/.claude/commands/kalese0237-claude-skills-analyze-failure.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kalese0237/claude-skills/HEAD/.claude/commands/analyze-failure.md -o ~/.claude/commands/kalese0237-claude-skills-analyze-failure.md Restart Claude Code, or start a new session, for it to be picked up.
What Analyze Failure does
description: Root cause analysis using 5 Whys and fishbone diagrams. argument-hint: [failure-description or incident-report]
Chain these steps:
- Use the
root-cause-analysisskill to apply 5 Whys and fishbone - Use the
log-analysisskill to provide supporting evidence - Use the
binary-search-debuggingskill to isolate when failure started - Synthesize RCA with evidence and prevention strategies
After completion, ask: "Should we write a full postmortem or focus on prevention
Alternatives in Development
- Root Cause Tracing — Use when errors occur deep in execution and you need to trace back to find the original trigger 102.5k ★
- Competitor Analysis — Analyze competitors with strengths, weaknesses, and differentiation 7.8k ★
- JWT Scan — JWT attack toolkit (offline) — alg:none forgery, RS256→HS256 algorithm confusion, weak-secret crack, static cl 4.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Five Whys
Walk the five-whys root-cause analysis protocol when something broke unexpectedly.
5 Whys
Run a 5-whys root-cause analysis on a problem
Five
Apply the Five Whys root cause analysis technique to investigate an issue
Ix Debug
Root cause analysis — trace execution path to a failure, narrow candidates, read minimal source only at suspec
Debug Blitz
Parallel debug assault — fires debug-detective + silent-failure-hunter + env-debugger simultaneously. Three ro
Locate Root Causes
GRACE Phase 3 - Backward causal slicing, failure attribution, and root-cause aggregation
Related Agents
Hub Debugger
Thoughtbox Hub DEBUGGER agent. Joins workspaces, claims bug problems, performs root cause analysis using five-
Digdeep
Advanced analysis and root cause investigation using Five Whys methodology with deep research capabilities. An
Business Problem Validator
Validates business problem statements using 5 Whys root cause analysis,