five-whys

GitHub

Finds the root cause of a bug, failure or recurring problem by asking "why" until the answer is a cause you can fix. Use when the user asks why something keeps happening, or wants the root cause rather than a quick fix.

solutions/i-1/dot-claude/skills/five-whys/SKILL.md wesammustafa/Claude-Code-Quest

安装

npx skills add wesammustafa/Claude-Code-Quest --skill five-whys -g -y
更多选项

非标准路径

npx skills add https://github.com/wesammustafa/Claude-Code-Quest/tree/main/solutions/i-1/dot-claude/skills/five-whys -g -y

不安装直接使用

npx skills use wesammustafa/Claude-Code-Quest@five-whys

指定 Agent (Claude Code)

npx skills add wesammustafa/Claude-Code-Quest --skill five-whys -a claude-code -g -y

安装 repo 全部 skill

npx skills add wesammustafa/Claude-Code-Quest --all -g -y

预览 repo 内 skill

npx skills add wesammustafa/Claude-Code-Quest --list

SKILL.md

Frontmatter
{
    "name": "five-whys",
    "description": "Finds the root cause of a bug, failure or recurring problem by asking \"why\" until the answer is a cause you can fix. Use when the user asks why something keeps happening, or wants the root cause rather than a quick fix.",
    "argument-hint": "[problem]"
}

Find the root cause of this problem: $ARGUMENTS

If no problem is given, ask for one in a single sentence, then stop.

  1. Restate the problem as a symptom someone can observe: what happens, where and when.
  2. Ask "Why does this happen?" Answer from evidence: the code, tests, logs and git history. Mark any answer you can't back with evidence as a guess.
  3. Ask "Why?" of that answer, and keep going until the answer is a cause the team can change. That often takes about five rounds; stop sooner if you get there, and say so if you need more.
  4. Check the chain backwards: each cause must explain the step before it.
  5. Report the chain as a numbered list, the root cause in one sentence, then one fix for the root cause and one for the symptom.

Don't change any files. Propose the fixes and let the user decide.

版本历史

  • 7bb7ec3 当前 2026-11-07 15:33

同 Skill 集合

.claude/skills/claude-md-review/SKILL.md
solutions/a-capstone/dot-claude/skills/team-review/SKILL.md
solutions/i-1/dot-claude/skills/tdd/SKILL.md
solutions/i-3/dot-claude/skills/changelog/SKILL.md
solutions/i-capstone/dot-claude/skills/check-links/SKILL.md

元信息

文件数
0
版本
7bb7ec3
Hash
0dadec96
收录时间
2026-11-07 15:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-17 12:20
浙ICP备14020137号-1