/epic:debugfrom epic
Systematic root-cause isolation for test failures, runtime errors, or unexpected behavior. Guides hypothesis formation, scope narrowing, binary search, and recording resolutions to avoid re-debugging.
Ships in epic. 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.
None: SKILL.md is the whole skill.
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST. Symptom fixes are whack-a-mole debugging.
epic mem search "ERROR_MESSAGE_OR_FILE" for the error message or file nameresolution or pattern node exists for this error categoryWhy: Past resolutions save 10-30 minutes of re-investigation. The knowledge graph exists so you don't repeat work.
Why: Precise observation prevents misdiagnosis. Most debug loops start from skimming the error instead of reading it fully.
Flaky or visual failures: make the failure reproducible before hypothesizing. Pin the seed, clock and timezone; capture the failing state as text (state dump, snapshot diff, HTTP transcript, text profiler output) instead of describing a screen. A failure you cannot replay twice is not yet observed.
Form 2-3 possible causes. Rank by likelihood.
Why: Ranked hypotheses prevent random code changes. Even a wrong hypothesis narrows the search space.
git log --oneline -10 — when did it last work?Why: Isolation proves the cause before you touch any code. Without it, you're guessing.
Why: Root cause fixes are permanent. Symptom patches rot and hide the real bug.
Why: A passing fix without verification is wishful thinking. The full suite catches side effects.
resolution node via epic mem add --title "..." --type resolution --body "..."Why: Recording turns one-time debugging into institutional knowledge. Future sessions benefit from your effort.
/go execution| Excuse | Rebuttal | What to do instead |
|---|---|---|
| "Let me just try again" | Retrying without changing anything is not debugging. | Form a new hypothesis before each attempt. |
| "It works on my machine" | Environment differences are bugs too. | Reproduce in the actual target environment first. |
| "I'll just catch the exception" | That hides the bug, doesn't fix it. | Fix the root cause. Only catch what you can handle meaningfully. |
| "It's probably a flaky test" | Flaky tests hide real bugs. Prove it's flaky before dismissing. | Run it 3x in isolation. If it fails consistently, it's real. |
| "I'll add more logging" | Logging without a hypothesis is fishing. | Hypothesize first, then add targeted logging to confirm/deny. |
| "It's probably just a typo" | Assumptions are the enemy of debugging. Reproduce first, then diagnose. | Read the full error, reproduce it, and verify before assuming simplicity. |
| "Let me just try changing this one thing" | Whack-a-mole debugging creates more bugs. Follow the hypothesis → isolate → fix cycle. | Form a hypothesis, isolate the cause, then fix with evidence. |
| "The error message tells me everything" | Error messages describe symptoms, not root causes. Investigate the chain. | Trace the error to its origin. The message is the starting point, not the answer. |
Before claiming the bug is fixed, show ALL of these:
"It works now" without root cause = symptom patch, not a fix.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub epicsagas/epic-harness --plugin epic27 skills in this plugin
/agent-introspectionLoop-breaking self-diagnosis. Use when 3+ consecutive failures occur, circular retries persist, or context overwhelms the session./auditAudit phase. Parallel review: code quality + security + tests + runtime behavior probe. Read-only evaluator agents. Semantic dedup of cross-mode findings. Outputs PASS/WARN/FAIL per dimension. Validates spec coverage./commitConventional Commits 1.0 generator. Stages relevant files, infers type(scope): description, never uses --no-verify./contextWorking-state snapshot guidance. Restates task/files/decisions in one block so state survives context compaction. Compaction timing is the host's job./council4-voice parallel deliberation (Architect · Skeptic · Pragmatist · Critic) for architecture, tech selection, or design decisions with no clear answer. Anti-anchoring: each voice gets independent context. Records decision in harness-mem./_criticHarnessX Critic (Tier 2.1) — adversarial review of evolved-skill proposals against trace evidence. Detects reward hacking and manifest/evidence contradictions. Out-of-band LLM counterpart to the in-loop deterministic critic in src/evolve/critic.rs.Other plugins' skills for the same job