/universal:debugging-root-causesfrom Universal
Diagnoses bugs, crashes, regressions, and test failures using minimal reproducers, competing hypotheses, and discriminating probes. Use for first-pass root-cause investigation before editing code.
Ships in Universal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Diagnose bugs, crashes, regressions, test failures, and unexpected runtime behavior by proving the underlying mechanism before changing code. Prefer minimal reproducers, competing hypotheses, and discriminating probes over speculative edits.
Use this skill for first-pass root-cause investigation and verified bug fixes. Read-only diff or pull-request review belongs to reviewing-code. Writing a standalone handoff after investigation stalls belongs to writing-escalation-briefs.
This skill is platform-neutral. When the failure implicates language, runtime, concurrency, storage, or framework internals, compose with an available platform companion without restarting this investigation workflow.
Build the smallest, fastest reproducer that exhibits the failure reliably:
Capture baseline evidence before modifying source files or environment state:
git log, git diff, deployment diffs).Preserving the baseline prevents investigative edits from erasing the original symptom or conflating a new mistake with the reported bug.
Avoid anchoring on the first plausible story. Write down at least two competing hypotheses that fit every observed fact—for example, bad input crossing a boundary versus stale cached state versus a recent refactor changing evaluation order.
For each pair of hypotheses, design the cheapest discriminating probe: an experiment, assertion, bisection step, or log point whose result confirms one explanation while ruling out another.
Load bisection and isolation when narrowing large commit ranges, multi-layer flows, or nondeterministic failures.
Before writing a permanent fix, establish both sides of causality:
If a probe disproves your leading hypothesis, record what was ruled out and revise the hypothesis list instead of forcing the original fix.
Prove the fix against the original failure:
Do not spin in trial-and-error loops. Stop investigating and hand off to writing-escalation-briefs when:
Carry forward the frozen observations, minimal reproducer, disproven hypotheses, and exact missing evidence so no investigation effort is lost.
Report findings concisely in this order:
Load only what the current investigation needs:
Before finalizing a diagnosis or fix, confirm the diagnosis checklist.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kylehughes/agent-plugins-for-making-good-software --plugin universal13 skills in this plugin
/brainstorming-design-specsDevelop an implementation-ready design through research and dialogue. Use proactively when product scope, requirements, or engineering tradeoffs remain unresolved; skip specified changes ready to implement./compiling-agent-goalsCompile specs, plans, or issues into bounded agent goal contracts with acceptance evidence and stopping conditions. Use proactively when preparing a persistent-agent handoff; this authors the contract, not the implementation./delivering-changesCarry a requested change through implementation, simplification, hardening, and required checks to a PR-ready handoff. Use proactively when the user delegates end-to-end delivery; preserve narrower requests and project checkpoints./designing-documentsOrganize substantive documents for understanding, decisions, action, and lookup. Use when creating, revising, or reviewing document structure, explanations, onboarding, or findability; preserve constrained edits and useful existing structures./designing-verification-strategiesDesign platform-agnostic test and verification strategies: pick test boundaries, write non-vacuous assertions, and control time, I/O, and nondeterminism. Use proactively for test planning and testability; skip formal invariant proofs./hardening-changesHarden owned changes through scoped review and fixes. Use proactively when preparing a change set for a PR or when hardening is requested; read-only review belongs to reviewing-code.Other plugins' skills for the same job