debug
Systematic root-cause isolation for test failures, runtime errors, or unexpected behavior.
Skill by epicsagas
Chalk Labs
Need help deploying debug?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/epicsagas-debug
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/debug
What's inside
- Skill name
debug- Description
- Systematic root-cause isolation for test failures, runtime errors, or unexpected behavior. Narrow hypothesis → verify → fix.
- License
- Apache-2.0
- Instructions
- 91 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Debug — Systematic Debugging ## Iron Law NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST. Symptom fixes are whack-a-mole debugging. ## Process ### 0. Recall - Query the knowledge graph: `epic mem search "ERROR_MESSAGE_OR_FILE"` for the error message or file name - Check if a `resolution` or `pattern` node exists for this error category - If a past resolution exists, apply it directly instead of re-debugging from scratch **Why**: Past resolutions save 10-30 minutes of re-investigation. The knowledge graph exists so you don't repeat work. ### 1. Observe - Read the full error message and stack trace - Identify: What was expected? What actually happened? - Note the exact file, line, and function **Why**: Precise observation prevents misdiagnosis. Most debug loops start from skimming the error instead of reading it fully. ### 2. Hypothesize Form 2-3 possible causes. Rank by likelihood. **Why**: Ranked hypotheses prevent random code changes. Even a wrong hypothesis narrows the search space. ### 3. Isolate - **Narrow the scope**: Binary search through recent changes - **Reproduce minimally**: Smallest input that triggers the error - **Check assumptions**: Print/log intermediate values - **Bisect**: `git log --oneline -10` — when did it last work? **Why**: Isolation proves the cause before you touch any code. Without it, you're guessing. ### 4. Fix - Fix the root cause, not the symptom - If the fix is a workaround, add a TODO with explanation **Why**: Root cause fixes are permanent. Symptom patches rot and hide the real bug. ### 5. Verify - Run the failing test — must pass now - Run the full test suite — no regressions - If this was a bug, the regression test stays **Why**: A passing fix without verification is wishful thinking. The full suite catches side effects. ### 6. Record - If the fix involved 3+ debug steps, record a `resolution` node via `epic mem add --title "..." --type resolution --body "..."` - Include: error category, root cause, solution approach - This enables future sessions to skip re-debugging the same class of issues **Why**: Recording turns one-time debugging into institutional knowledge. Future sessions benefit from your effort. ## When to Trigger - Any test failure during `/go` execution - Runtime error in tool output - "Unexpected" in any output ## Anti-Rationalization | 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. | ## Evidence Required Before claiming the bug is fixed, show ALL of these: - [ ] Root cause identified: one sentence explaining WHY it broke - [ ] Fix applied: diff showing the change - [ ] Previously failing test now passes (show output) - [ ] Full test suite passes (no regressions) - [ ] If bug came from a pattern, regression test added to prevent recurrence **"It works now" without root cause = symptom patch, not a fix.** ## Red Flags - Changing random things hoping something works - More than 3 retry attempts without forming a new hypothesis - Suppressing errors instead of fixing them
From epicsagas/epic-harness, Apache-2.0.
More from epicsagas/epic-harness
- 0.629score
vuln-scan
epicsagas
Systematic vulnerability scan across injection, auth, data exposure, and dependencies — traced by reading code, not grepping for keywords.
SkillAFreshness: A★ 19Claude Code +9 - 0.629score
agent-introspection
epicsagas
Loop-breaking self-diagnosis.
SkillAFreshness: A★ 19Claude Code +9 - 0.629score
team
epicsagas
Org-level agent team designer via `epic team` CLI (cross-project, append-merge).
SkillAFreshness: A★ 19Claude Code +9 - 0.629score
triage
epicsagas
Adversarial validation of vulnerability findings.
SkillAFreshness: A★ 19Claude Code +9 - 0.629score
threat-model
epicsagas
Threat modeling and attack surface analysis.
SkillAFreshness: A★ 19Claude Code +9 - 0.629score
benchmark
epicsagas
Executes Bare-vs-Epic A/B benchmarking, Ring 0 Guard 50 challenge, and full golden set evaluation for epic-harness.
SkillAFreshness: A★ 19Claude Code +9 - 0.629score
document
epicsagas
Documentation generator for public APIs, functions, and modules.
SkillAFreshness: A★ 19Claude Code +9 - 0.626score
context
epicsagas
Working-state snapshot guidance.
SkillAFreshness: A★ 19Claude Code +9 - 0.626score
orchestrate
epicsagas
Trigger: active multi-agent run.
SkillAFreshness: A★ 19Claude Code +9 - 0.626score
reflect
epicsagas
On-demand human self-assessment of AI usage quality.
SkillAFreshness: A★ 19Claude Code +9 - 0.626score
orbit
epicsagas
State-persisted autonomous pipeline: spec → go → audit → eval → ship → evolve in one command.
SkillAFreshness: A★ 19Claude Code +9 - 0.626score
go
epicsagas
Go phase.
SkillAFreshness: A★ 19Claude Code +9
Signals
- Stars
- 19
- Forks
- 5
- Open issues
- 3
- Last commit (this folder)
- Jun 25, 2026 (4 months ago)
- Last release
- Oct 23, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/epicsagas/epic-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from epicsagas
- 0.641score
book-visuals
epicsagas
Book visual system: art bible and look lock, figure plan per chapter, code-rendered diagrams/charts/technical drawings, diffusion-generated illustrations and…
SkillAFreshness: A★ 38Claude Code +9 - 0.638score
book-game
epicsagas
Game narrative craft reference: branching architecture, quest design, dialogue systems, lore bible, player agency, and game-writing AI tells.
SkillAFreshness: A★ 38Claude Code +9 - 0.638score
book-academic
epicsagas
Academic writing craft reference: IMRAD and discipline structures, literature review, argument chains, citation integrity, academic register in en/ko/ja, and…
SkillAFreshness: A★ 38Claude Code +9 - 0.638score
book-draft
epicsagas
Phase 3: Drafting.
SkillAFreshness: A★ 38Claude Code +9 - 0.638score
book-fiction
epicsagas
Fiction craft reference for all subgenres: structure options, scene design, character depth, dialogue, POV and distance, the fiction-specific AI tells, and…
SkillAFreshness: A★ 38Claude Code +9 - 0.638score
book-edit
epicsagas
Phase 4: Editing.
SkillAFreshness: A★ 38Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get debug running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
debug skill. Agent Mart. https://agentmart.dev/skills/epicsagas-debug (last updated 2026-10-24)