From wtf
Traces root causes of errors, stack traces, test failures, and build issues by gathering evidence, following call chains backward, and explaining the full causation narrative in structured format.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wtf:went-wrongThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Something broke. Figure out what, why, and how we got here.
Something broke. Figure out what, why, and how we got here.
Gather the evidence. If $ARGUMENTS describe the problem or point to something specific (a PR, a CI failure, a log URL), start there. Otherwise, check for error output or stack traces in the recent conversation, run failing commands to reproduce, and review recent file changes.
Trace the causation chain. Don't stop at the symptom:
Explain the chain of events. Deliver a narrative, not just a diagnosis:
**The Symptom:** [What the user sees — the error, the failure, the broken behavior]
**The Actual Problem:** [Root cause — what's really going on under the hood]
**How We Got Here:** [The chain of causation — what led to this state]
**The Evidence:** [Specific code references, log lines, or behavior that confirms the diagnosis]
**Suggested Fix:** [What to do about it — specific and actionable]
wtf:fix-it for the actual repair.$ARGUMENTS include "it started failing after..." — that's a huge clue. Check what changed at that point.npx claudepluginhub pacaplan/wtf --plugin wtfGuides systematic root cause analysis for bugs, test failures, unexpected behavior, and technical issues before implementing fixes.
Applies systematic root-cause analysis to debug errors, test failures, and unexpected behavior across frontend, backend, database, network, and performance.
Guides developers through systematic root cause investigation of bugs and failures. Use when encountering test failures, errors, or unexpected behavior.