Skip to content
D

debug-mantra

Four-mantra debugging discipline

by thananonFree

#5253in AI Skills
0In stores

Description

Debug Mantra is an agent skill that gives a coding agent a fixed four-step discipline for debugging. Before it begins, the skill asks the ag…

Highlights

  • Four ordered steps: reproduce, trace, falsify, cross-reference
  • Requires a runnable repro before any fix
  • Debugger first, then source trace and instrumentation
  • Keeps agent debugging sessions to a fixed method

Ratings & Reviews

No ratings yet

Be the first to rate debug-mantra.

People also visit

D

debug

Run /debug to find and fix a bug's root cause: a test failing

AI Skills
Get
D

diagnose

Structured debugging workflow for reproducing, minimizing

AI Skills
Get
D

debug

Structured debugging session — reproduce, isolate, diagnose, and fix

AI Skills
Get
S

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior

AI Skills
Get
P

principle-fix-root-causes

Apply when debugging

AI Skills
Get
D

debugging-and-error-recovery

Guides systematic root-cause debugging

AI Skills
Get

debug-mantra FAQ

What does the debug-mantra skill make the agent do?

It makes the agent recite a four-step debugging mantra and then work through reproduce, trace the fail path, falsify its hypothesis and cross-check every run.

When should I use it?

When a bug is intermittent or its cause is unclear, and you want the agent to reproduce it and test its theory before changing code.

How do I install it?

Run npx skills add https://github.com/thananon/9arm-skills --skill debug-mantra in your project.

What does the first step require?

A runnable reproduction of the issue, built before anything else, so every later check can be repeated.

What tools does the second step use?

A debugger first, then a source trace with enumeration of the knobs that affect the code path, and finally instrumentation added to the code.

Is it free?

The listing shows no fee, and the source is public in the thananon/9arm-skills repository on GitHub.

What are the security audit results?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best debug-mantra alternatives?

Popular alternatives to debug-mantra include debug, diagnose and debug. See all debug-mantra alternatives

Developer Stuff

Badges