五问法问题根因分析
five-whys
通过反复追问‘为什么’,直到找到可修复的根本原因,定位 Bug、故障或反复出现问题的根源。当用户询问某问题为何反复发生,或希望找到根本原因而非权宜之计时使用。
- License 许可
- NOASSERTION
- 最近更新
- 2026-11-14
- Stars
- ★ 3.7k
- Forks
- 418
01 前言 Front Matter
- 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]
03 SKILL.md 正文
Find the root cause of this problem: $ARGUMENTS
If no problem is given, ask for one in a single sentence, then stop.
- Restate the problem as a symptom someone can observe: what happens, where and when.
- 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.
- 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.
- Check the chain backwards: each cause must explain the step before it.
- 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.
04 同仓库更多 Skills
文档链接检查与修复
check-links
对某个文件夹运行链接检查器,并说明发现的每个失效链接,包括所在文件、行号及可能的修复方法。当有人要求检查链接或查找文档中的失效链接时使用。
变更日志条目生成
changelog
为暂存的变更在 CHANGELOG.md 中添加一行条目。当用户要求生成变更日志条目时使用。
TDD 测试驱动开发
tdd
以测试优先的方式构建所请求的功能,一次实现一个行为,并在生成待审查的 diff 时停止。当用户要求新函数或新功能,或提到 test-first 或 TDD 时使用。
linkcheck 变更团队审查
team-review
团队对 linkcheck 变更的审查,在本地笔记本与 CI 中以相同方式运行。适用于已暂存的 diff 或 Pull Request。
linkcheck 变更审查清单
review-checklist
团队用于审查 linkcheck 变更的检查清单。在提交或发起 Pull Request 前使用。
Claude Code 新成员引导
onboard
向新队友讲解本仓库共享的 Claude Code 配置,涵盖哪些内容已提交并共享、哪些保持个人所有,以及 team-kit 插件新增了哪些内容。当有人询问团队的 Claude Code 配置如何运作,或克隆仓库后能获得什么时使用。