debug-mantra

Agent skill from thananon/9arm-skills.

thananon ↓ 3.3k
Claude Code
View source ↗

What it does

  • Reliable repro → capture the exact steps, inputs, and environment as a runnable artifact: failing test, curl script, CLI invocation, replay harness.
  • config flags, env vars, feature toggles
  • branch conditions, input shape
  • timing, concurrency, build options
  • Does it actually explain the symptom end-to-end? Walk it through.
  • What is the simplest proof? What is the cleanest disproof?
  • Run the disproof first. If the hypothesis survives, it's real. If it dies, you saved yourself from chasing a phantom.

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

debug-mantra FAQ

What does the debug-mantra skill do?

Four-mantra debugging discipline — reproduce, trace the fail path, falsify the hypothesis, cross-reference every breadcrumb. Recite the mantra block verbatim at the start of any debugging session, then apply the four steps in order before proposing any fix. Trigger on /debug-mantra and proactively whenever debugging starts — user reports a bug, says something is broken/throwing/failing, asks to debug/diagnose/investigate an issue, or pastes a stack trace or error log. Reliable repro → capture the exact steps, inputs, and environment as a runnable artifact: failing test, curl script, CLI invocation, replay harness. config flags, env vars, feature toggles

How do I install debug-mantra?

Run: npx -y skills add https://github.com/thananon/9arm-skills --skill debug-mantra --agent claude-code — the source lives at github.com/thananon/9arm-skills.

Maintain debug-mantra?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[debug-mantra on getagentictools](https://getagentictools.com/skills/thananon-9arm-skills-debug-mantra?ref=badge)
npx agentictools info skills/thananon-9arm-skills-debug-mantra

The second line is the CLI lookup for this page — handy in READMEs and docs.