Claude Skill

five-whys

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.

LLM Mart · 0 points · 1 views 0 listing impressions 0 install-command copies
Download wesammustafa-claude-code-everything-you-need-to-know-examples_intermediate_01-first-skill_dot-claude_skills_five-whys-e5efb64.zip · 0 KB

Install

skills CLI npx skills add https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know/tree/main/examples/intermediate/01-first-skill/dot-claude/skills/five-whys
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install wesammustafa-claude-code-everything-you-need-to-know@llmmart
Git git clone https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole wesammustafa/claude-code-everything-you-need-to-know collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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.

Files (claude-code-everything-you-need-to-know)
  • SKILL.md 1.6 KB
    ---
    # What: a project skill that finds a problem's root cause by asking "why" until the answer is something you can fix.
    # Runs: when you type /five-whys <problem>, or when Claude matches your request to the description.
    # Side effects: none intended. It tells Claude to investigate and change no files; each tool call still follows your permission settings.
    # Requires: Claude Code. Platforms: any.
    # Remove: delete .claude/skills/five-whys/.
    # Tested in Claude Code v2.1.285 (stable) on macOS, 2026-10-06
    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.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.