com um clique
ase-meta-why
Five-Whys Root-Cause Analysis.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Five-Whys Root-Cause Analysis.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Adjust communication style in four intensivity levels of token usage. The <persona> can be either the decorative, eloquent, and explaining "writer", the concise, factual, and accurate "engineer" (default), the brief, factual, and abbreviating "telegrapher", the terse, rough and stuttering "caveman". Use when user says "persona <persona>" or "be <persona>".
Update changes entries in CHANGELOG.md files
Delete the current or given task plan. Use when the user calls to "delete", "remove" or "clear" the "task", "plan", "spec", or "specification".
Get or set unique task id <id>. Use when user requests to work on a certain task or wants to know what the current task is.
Implement current or given task plan. Use when the user calls to "implement", "realize" or "apply" the "task", "plan", "spec", or "specification".
Reboot the current or given task plan by re-creating it from scratch. Use when the user calls to "reboot", "recreate" or "refresh" the "task", "plan", "spec", or "specification".
| name | ase-meta-why |
| argument-hint | [--help|-h] [--depth|-d <N>] [--width|-w <M>] <fact> |
| description | Five-Whys Root-Cause Analysis. |
| user-invocable | true |
| disable-model-invocation | false |
| effort | high |
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
Five-Whys Root-Cause Analysis$ARGUMENTS
Apply the *Five-Whys* *root-cause analysis* technique to investigate the following problem:Why ?
For this, iteratively ask "why" to drill down from symptoms to the root-cause. This helps to identify the fundamental reason behind a problem rather than just addressing surface-level symptoms.
State the problem statement.
Find the root-cause of by following the following iteration cycle. Start with a set equal to the .
Determine the maximum chain length from : set to ; if is non-numeric or less than or equal to 0, use the default 5 instead.
Determine the maximum chain width from : set to ; if is non-numeric or less than or equal to 0, use the default 1 instead.
Walk a single causality chain (the classic Five-Whys):
Start with 1 (set iteration counter to one).
Ask <question/> and document the answer in <answer/> with the following template:
Don't stop at symptoms, keep digging for systemic issues.
Consider technical, domain-specific, process-related, or organizational causes.
<template>
<ase-tpl-bullet-secondary/> **WHY <n/>**: <answer/>
</template>
Then, for the next iteration set <question/> now to be the last <answer/>.
The magic is NOT in exactly <depth/> "Why" -- you can <break/>
the iteration when you already reached the root-cause.
Finally, set <n/> to <n/> + 1 (increment iteration counter).
Walk a widened causality chain: at each "why" level, surface up to candidate sub-causes, then commit to the single most significant one and descend into it (the chain stays single-rooted -- the extra candidates are not each drilled to their own root-cause). Their purpose is to guard against premature commitment to the wrong sub-cause: by enumerating the plausible alternatives at each level, the chosen descent is a justified selection rather than the first plausible answer, and the unchosen candidates remain on record as fallbacks to backtrack into (see STEP 3) should the chosen path fail validation.
Remember the unchosen candidates of every level (keep them in , tagged by their level ), so STEP 3 can backtrack into them.
Start with 1 (set iteration counter to one).
Ask <question/> and surface up to <width/> *distinct*,
*non-overlapping* candidate sub-causes, each documented in <answer-k/>.
Let <count/> be the number of candidates you actually surfaced
(at least one, at most <width/>).
Don't stop at symptoms, keep digging for systemic issues.
Explore *different* candidates -- technical, domain-specific,
process-related, or organizational causes -- and avoid restating
the same cause in different words.
Start with <k>1</k> (set candidate counter to one).
<while condition="<k/> is less than or equal to <count/>">
<template>
<ase-tpl-bullet-secondary/> **WHY <n/>.<k/>**: <answer-k/>
</template>
Set <k/> to <k/> + 1 (increment candidate counter).
</while>
Then choose, among the <answer-k/>, the *most causally-significant*
candidate -- the one most likely to lead to the true root-cause --
set <chosen-k/> to its candidate index (the <k/> of the chosen
<answer-k/>), and *justify* the choice in one line (state explicitly
*why* it beats the other candidates, e.g. it alone also explains the
timing, scope, or magnitude of the level's fact). A bare "most
significant" is *not* sufficient; if no candidate clearly dominates,
say so.
<template>
<ase-tpl-bullet-secondary/> **WHY <n/> → chosen <n/>.<chosen-k/>**: <justification/>
</template>
Record the remaining candidates as <fallbacks/> for level <n/>.
Then, for the next iteration, set <question/> to the chosen candidate.
You can <break/> the iteration when the chosen candidate already
reached its root-cause.
Finally, set <n/> to <n/> + 1 (increment iteration counter).
Validate the root-cause by working backwards along the chosen causality chain: check, level by level, that each chosen sub-cause genuinely causes the fact above it (and that fixing the final root-cause would dissolve the whole chain up to the original ).
When is greater than 1 and this backward validation fails at some level -- i.e. the chosen sub-cause does not adequately explain the fact above it -- backtrack: discard the chosen sub-cause (and every chosen sub-cause below it) from level downward, pick the next-best candidate from level 's , and resume the STEP 2 widened descent: set to (reset the iteration counter to the failed level), set to the picked candidate, and re-enter STEP 2's loop at that level -- so the original budget is honored from downward. Repeat until a chain survives backward validation or level 's are exhausted (then report the strongest chain found and note that no candidate fully validated). This is the payoff of greater than 1: the enumerated alternatives let the analysis recover from a wrong turn instead of committing to a mis-rooted chain.
Propose a solution that addresses and solves the validated root-cause. For the proposed solution, optionally directly propose corresponding source code changes.