用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/laicluse/agent-fieldkit --skill whywhy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when corrective work, migrations, living docs, or temporary diagnostic tests leave superseded residue, or before handoff.
Use when corrective work, migrations, living docs, or temporary diagnostic tests leave superseded residue, or before handoff.
Reference for git-discipline commit bodies, trailers, hook denials, examples, and escape hatches.
正在显示 SKILL.md
| name | whywhy |
| user-invocable | true |
| description | Drill repeated why-questions into a goal, root cause, or unclear decision to find a better direction. |
| args | [count] <question, goal, or statement> |
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
node "${CLAUDE_PLUGIN_ROOT}/bin/check-broadcast"
fi
If the command produces output, the whywhy plugin was updated since the last time you saw the broadcast on this machine. Show the output verbatim in a markdown block, prefixed with one short sentence ("whywhy was updated; here is what changed."). Then continue with the rest of this skill.
If the command produces no output, say nothing about updates and proceed.
The helper writes the sentinel only when stdout was non-empty, so a silent
run does not mark the version as seen. /whats-new whywhy
re-shows the section on demand without touching the sentinel.
Ask yourself "why?" N times and answer each layer yourself. Then analyze the chain for a direction that better approaches the original goal. Based on Toyota's 5 Whys, extended to 10 layers by default.
/whywhy [count] <question>
10), use that as the number of layers and the rest as the statement.Examples:
/whywhy does this still work? → 10 layers/whywhy 13 does this still work? → 13 layers/whywhy 5 why is this PR so large? → 5 layersTake the question, goal, or statement the user provides as layer 0.
Ask yourself a sharp "why?" and answer it. Build each next question on the previous answer.
Bad why: "Why?" (bare, lazy) Good why: "Why is that speed more important than structural quality?" (specific, confronting)
The questions may be uncomfortable. The goal is depth, not comfort. Do not rationalize. If an answer contains an uncomfortable truth, name it instead of talking around it.
Use sources. Answers must not come purely from model weights when they are verifiable. Reach for whatever code-search, file-reading, and web tools the host provides where relevant. A "why does our deploy run so slowly?" deserves a look at the codebase, not just reasoning.
Replace N with the actual number of layers in the heading and in the final layer.
## Nx Why: [original statement]
**0.** [statement]
**1.** Why [question]?
[answer]
**2.** Why [question]?
[answer]
...
**N.** Why [question]?
[answer]
Look for patterns in the chain:
| Pattern | Meaning |
|---|---|
| Convergence | Multiple layers point to the same theme. That is the core. |
| Breakpoint | A layer where the answer changes direction. An unspoken assumption lives there. |
| Circle | An answer repeats an earlier layer. The circle itself is the insight. |
| Deepening | Each answer goes one layer deeper. The final layer is the most valuable. |
Formulate:
The direction is a proposal, not a conclusion. The user decides.