
awesome-skills/5-whys-skill
Code reviewこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
系統的5-Whys根本原因分析のためのクロードコードスキル - トヨタ生産システム方法論に基づいて、根本的な原因への課題を追跡
概要
系統的な根本原因分析方法論を提供し、症状に対処するのではなく、問題が根本的な原因に戻ります。 これは、Claudeのデバッグ、インシデント調査、問題解決のための厳格な5-Whys分析を実行する能力を高めるClaudeコードのためのものです。 以下のようなフレーズを使うと、自動的にスキルがトリガーされます。 1. - 特定の、観察可能な事実2として問題を状態にします。 - 各回答のために、それが起こった3を尋ねます - 実行可能、予防可能、基本的な4。 - 因果性5を検証するために後方を働かせて下さい - 即時の修正+予防+検出 - - - 事実上の基礎分析、非仮定 - - ブラムプロセス、個人ではなく - すべての問題は改善機会です - - 反応上の検出を防止 - - 問題定義が正しいかどうか - 対策の間で選択 - 証拠が不確実であるとき ご協力のほどよろしくお願いします! ご意見・ご要望等ございましたら、お気軽にお問い合わせください.
概要(AI 翻訳)
系統的な根本原因分析方法論を提供し、症状に対処するのではなく、問題が根本的な原因に戻ります。
これは何ですか?
これは、Claudeのデバッグ、インシデント調査、問題解決のための厳格な5-Whys分析を実行する能力を高めるClaudeコードのスキルです。
インストール
##Option 1: スキルディレクトリにコピーする
##Option 2: シンリンク
使用法
以下のようなフレーズを使うと、自動的にスキルがトリガーされます。
| 言語 | トリガーフレーズ | お問い合わせ | 英語 | 「根本原因の発見」、『なぜこんなことが起きたのか』、『この問題のデバッグ』、『このバグを分析する』、『これを引き起こしているもの』、『深く掘り下げる』 | | 中国語 | 「找 会 会 会 会 会 会 会 会 会 会 会 在 在 在 在 在 在 " " " " " " " " " | | |
例
構造
コア方法論
スキルは5段階のプロセスに従います。
1。 問題の定義 - 特定の、観察可能な事実として問題の状態 2.「なぜ?」と反復的に - それぞれの答えのために、それが起こった理由を尋ねる 3。 ルート原因を特定 - 行動可能で、予防的、根本的 4。 Chain - 因果性を検証するために後方を作業 5.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 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 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-origins.md # Toyota Production System history
│ └── software-patterns.md # Common root cause patterns
└── examples/
├── production-incident.md # Payment service outage analysis
└── performance-regression.md # Latency investigation example
Core Methodology
The skill follows a 5-phase process:
- Define the Problem - State the problem as specific, observable fact
- Ask “Why?” Iteratively - For each answer, ask why it happened
- Identify Root Cause - Actionable, preventable, fundamental
- Validate the Chain - Work backwards to verify causality
- Define Countermeasures - Immediate fix + prevention + detection
Output Format
## 5-Whys Analysis: [Problem Title]
### Problem Statement
**What:** [Specific behavior]
**When:** [Time/conditions]
**Impact:** [Consequence]
### Why Chain
| Level | Question | Answer | Evidence |
|-------|----------|--------|----------|
| Why 1 | ... | ... | ... |
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add awesome-skills/5-whys-skill