スキル一覧に戻る
neurofoo

5whys

by neurofoo

Agent Skills for Claude Code and OpenCode

31🍴 5📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


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

LevelQuestionAnswer
1Why did [problem]?[Answer 1]
2Why did [Answer 1]?[Answer 2]
3Why did [Answer 2]?[Answer 3]
4Why did [Answer 3]?[Answer 4]
5Why 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

LevelQuestionAnswer
1Why are users seeing 500 errors?The payment service is timing out
2Why is the payment service timing out?Database queries are taking >30 seconds
3Why are database queries slow?The orders table has 50M rows and no index on customer_id
4Why is there no index?The table was created before we had this query pattern
5Why 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

LevelQuestionAnswer
1Why did the customer cancel?They said the product wasn't delivering value
2Why wasn't it delivering value?They only had 12% feature adoption
3Why was adoption so low?Users weren't trained on key workflows
4Why weren't users trained?Onboarding ended after technical setup
5Why 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

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です