Token导航 LogoToken导航TokenDH.com
开发权限需确认github未标认证来源可访问许可证需确认审计通过

five-whys-root-cause五个为什么根本原因

Agent Skill

five-whys-root-cause 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

423

周安装

18

GitHub Stars

6

下载量

148
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:five-whys-root-cause(五个为什么根本原因)
来源仓库:https://github.com/andurilcode/skills
仓库路径:skills/five-whys-root-cause
安装命令:
npx skills add https://github.com/andurilcode/skills --skill five-whys-root-cause
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/andurilcode/skills --skill five-whys-root-cause

简介

five-whys-root-cause 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限与维护状态。
  • 使用前应核实是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

5 Whys & Root Cause Analysis

Core principle: Every visible problem is a symptom. The root cause is the systemic condition that makes the symptom inevitable. Fix the symptom and it returns. Fix the root cause and the symptom disappears — along with related ones you haven't noticed yet.


The 5 Whys Method

Start with the problem statement. Ask "why did this happen?" Keep asking why until you reach a cause you can actually fix — one that is actionable, systemic, and doesn't have another why behind it.

The Process

Problem: [State clearly and specifically]
  Why 1: [Immediate cause]
    Why 2: [Cause of the cause]
      Why 3: [Deeper cause]
        Why 4: [Systemic cause]
          Why 5: [Root cause — systemic, actionable]

Stop when you reach a cause that is:

  • Actionable (you can actually change it)
  • Systemic (fixing it prevents recurrence)
  • Not just another symptom

Don't stop when:

  • The answer is "human error" (that's a symptom — why did human error occur?)
  • The answer is "bad luck" (luck is not a root cause)
  • The answer blames a person (people operate within systems — blame the system)

Common Root Cause Categories

CategoryExamples
Process gapNo process existed, process was unclear, process wasn't followed
Knowledge gapTeam didn't know X, information wasn't shared, no documentation
Tooling gapWrong tool, missing tool, tool not configured correctly
Incentive misalignmentRewards and desired behavior point in different directions
Feedback loop missingNo signal that something was going wrong
Assumption failureA belief about the system was wrong
Capacity constraintNot enough time, people, or resources to do it right
Communication failureDecision made without relevant parties knowing

Multi-Branch Analysis

The 5 Whys often reveals multiple root causes (not one). Use branching when you hit a "why" with more than one answer:

Problem: Deployment failed
  Why? → Tests didn't catch the bug
    Branch A: Why? → Test coverage was insufficient
      Why? → No policy requiring coverage thresholds
        Root cause A: No coverage gate in CI pipeline
    Branch B: Why? → Test environment differed from production
      Why? → Config was not environment-parity checked
        Root cause B: No config parity validation step

Each branch may have a different fix.


Output Format

🔍 Problem Statement

Restate the problem specifically and observably:

  • What happened?
  • When? How often?
  • What's the impact?
  • What did *not* happen (that should have)?

🪢 The Why Chain(s)

Present the full chain(s) from symptom to root cause. Use branching if multiple causes exist.

🎯 Root Cause(s) Identified

For each root cause:

  • Statement: Clear, systemic description
  • Category: Process / Knowledge / Tooling / Incentive / Feedback / Assumption / Capacity / Communication
  • Recurrence risk: How likely is this to cause the same or similar problem again without a fix?

🚫 Rejected Explanations

List causes that were considered but rejected, and why:

  • "Human error" → Why did it occur? What enabled it?
  • "One-off event" → Why was the system vulnerable to it?
  • Personal blame → Replaced with systemic explanation

🛠️ Corrective Actions

For each root cause, a specific countermeasure:

  • Action: What exactly changes?
  • Owner: Who is responsible?
  • Verification: How do we know the fix worked?
  • Timeline: When?

📊 Recurrence Prevention

  • What monitoring/alerting detects this root cause activating again?
  • What review process catches this category of problem in the future?
  • Is this root cause related to any other known issues? (often one root cause explains multiple symptoms)

Quality Checks for Root Causes

Before accepting a root cause, verify:

  • Reversibility test: If we fixed this, would the problem go away?
  • Recurrence test: If this root cause is present, does the problem reliably occur?
  • Actionability test: Can we actually change this?
  • Systemic test: Does this explain the pattern, not just the one incident?
  • Blame test: If the answer names a person as the root cause, keep asking why

Common Traps to Avoid

  • Stopping too early: "The developer made a mistake" is not a root cause
  • Single-cause bias: Most failures have 2–4 contributing root causes
  • Hindsight framing: "They should have known" — why didn't the system make it knowable?
  • Fixing the last step: Catching the bug in prod is not the fix; preventing the condition that allowed it is
  • Symptom substitution: Fixing one symptom without the root cause → a different symptom appears

Example Walk-Through

Problem: The agent pipeline produced incorrect output on 30% of runs last week.

LevelWhy?Answer
Why 1Why incorrect output?Agent used stale context from prior step
Why 2Why stale context?Context was not cleared between runs
Why 3Why not cleared?No reset mechanism in handoff protocol
Why 4Why no reset mechanism?Handoff spec was never formalized
Why 5Why never formalized?No process requires handoff specs before agent goes to production

Root cause: No policy requiring formalized handoff specs before production deployment.

Fix: Add handoff spec requirement to the agent deployment checklist.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.36%
按下载量换算55

Claude

30.21%
按下载量换算45

Cursor

19.76%
按下载量换算29

Gemini CLI

9.98%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills