From magician
Debugs systematically with hypothesis preflight, single-change iterations, and regression tests. Use for bugs, errors, exceptions, regressions, test failures, or production outages.
How this skill is triggered — by the user, by Claude, or both
Slash command
/magician:unravel <bug or error description><bug or error description>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Debug systematically. No random changes in the hope something helps.
Debug systematically. No random changes in the hope something helps.
Scale /effort to bug complexity — use xhigh for deep, multi-layer root-cause hunts. See lore/models.md.
Describe the symptom — exact error message, stack trace, reproduction steps
State what you believe is wrong — one sentence: "I believe X is failing because Y"
State what evidence would confirm or refute it
Hypothesis gate (AskUserQuestion). Put the hypothesis to the user via AskUserQuestion (never bare prose) — "Does this hypothesis match what you're seeing?":
End your turn at the tool call. Do not read any code or make any change until the user picks or redirects. Treat a free-form "yes / matches / looks right" as Matches — investigate.
Once the hypothesis is agreed at the Phase 1 gate, run Phases 2–4 autonomously: reading code, grep, kg query/blast/neighbors, adding targeted logging, running the failing case (incl. under Monitor), and running the test suite NEVER pause for permission. Re-gate only on the real side effect — the commit (git add/commit/push, per Phase 4). This does not weaken the Phase 1 HARD-GATE. See lore/autonomy.md.
kg query "<symptom/error/symbol>" to jump straight to the relevant file:line (and kg neighbors/kg blast to see what interacts with it) instead of broad greps — then read just those ranges.
file:line and often the fix itself; the top frame shows where it blew up, but the first frame in your own code is usually the real culprit. Feed that symbol straight into kg query./magic (context7 + web) to gather external evidence — known issues, version-specific bugs, correct API usage — and fold it into the hypothesis ranking in Phase 3.fix: <root cause>, not just symptom — in auto mode, confirm with the user before committing (the commit is a side effect)."Root cause confirmed: . Fix applied and regression test added. Run /certify."
npx claudepluginhub alexander-tyagunov/magician --plugin magicianForces a scientific-method loop (Observe → Hypothesize → Experiment → Conclude) to debug non-trivial bugs. Prevents guessing by ensuring evidence before fixes.
Enforces systematic root cause investigation for bugs, test failures, and unexpected behavior through four phases: investigation, pattern analysis, hypothesis testing, and implementation.
Enforces systematic root cause analysis for bugs, test failures, and unexpected behavior. Requires proof of root cause before any fix.