5whys

通过连续五次问“为什么”的方法进行根本原因分析,适用于调试、故障排查或理解问题发生的深层原因。

仓库最近推送
GitHub Stars
127
Forks
21
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "5whys":https://skillpi.com/zh/skills/deepskill-f1db11157a0e5a47626fef6478cbd7607224c46dc56875a4d2e8341fa2b10ab3。安装前核对上游来源和版本:https://github.com/neurofoo/agent-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

通过连续五次问“为什么”的方法进行根本原因分析,适用于调试、故障排查或理解问题发生的深层原因。

0 下载

介绍来源: third_party · neurofoo · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
翻译待完成,请参阅来源文档。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
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

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

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

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

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供完整的根本原因分析方法论
  • 包含多个真实场景示例
  • 输出格式清晰结构化
触发精准90/100

亮点

  • 触发描述清晰明确
  • 覆盖多种使用场景
  • 边界定义清楚
结构规范95/100

亮点

  • 步骤划分清晰完整
  • 包含端到端示例
  • frontmatter信息完整
执行可靠95/100

亮点

  • 无外部依赖风险
  • 方法论可靠可重复
  • 示例验证执行流程
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。