awesome-skills

5 Whys Skill — Development skill for Claude Code

Development community

A Claude Code skill for systematic 5-Whys root cause analysis - trace problems to fundamental causes, based on Toyota Production System methodology.

How to install 5 Whys Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open awesome-skills/5-whys-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What 5 Whys Skill does

A Claude Code skill for systematic 5-Whys root cause analysis - trace problems to fundamental causes, based on Toyota Production System methodology.

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 ★
  • Engage.Crash — Crash → root cause → reachability → empirical exploitability verdict (native bugs) 348 ★
  • Cloud Run Debug — Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers 284 ★

README

5-Whys Root Cause Analysis Skill

A Claude Code skill that provides systematic root cause analysis methodology, tracing problems back to their fundamental causes instead of just addressing symptoms.

What is This?

This is a **skill** for [Claude Code](https://claude.ai/code) that enhances Claude's ability to perform rigorous 5-Whys analysis for debugging, incident investigation, and problem-solving.

Installation

Option 1: Copy to your skills directory

# Clone the repo
git clone https://github.com/tt-a1i/5-whys-skill.git

# Copy to Claude Code skills directory
cp -r 5-whys-skill ~/.claude/plugins/superclaude/skills/5-whys

Option 2: Symlink

git clone https://github.com/tt-a1i/5-whys-skill.git ~/skills/5-whys-skill
ln -s ~/skills/5-whys-skill ~/.claude/plugins/superclaude/skills/5-whys

Usage

The skill triggers automatically when you use phrases like:

Language Trigger Phrases
English "find the root cause", "why did this happen", "debug this issue", "analyze this bug", "what's causing this", "dig deeper"
Chinese "找根因", "为什么会出现这个问题", "排查问题", "分析这个bug", "问题出在哪", "深挖原因"

Example

User: 用5-whys分析一下为什么部署后服务变慢了

Claude: [Applies 5-Whys methodology]

## 5-Whys Analysis: Service Performance Degradation

### Problem Statement
**What:** API latency increased from 100ms to 500ms after deployment
**When:** After v2.1.0 deployment
**Impact:** User complaints, increased timeout errors

### Why Chain
| Level | Question | Answer | Evidence |
|-------|----------|--------|----------|
| Why 1 | Why did latency increase? | DB queries slower | Query metrics |
| Why 2 | Why are queries slower? | Full table scan | EXPLAIN ANALYZE |
...

Structure

5-whys-skill/
├── SKILL.md                           # Main skill definition (~1170 words)
├── README.md                          # This file
├── LICENSE                            # MIT License
├── references/
│   ├── toyota-origin