A debugging framework that makes Claude recite a four-step mantra at the start of every debug session, then enforce it. The steps are: reproduce reliably, trace the fail path (debugger first, then knobs, then instrumentation), falsify your hypothesis before testing it, and cross-reference every experiment against a running ledger. It triggers automatically when you mention a bug or paste an error. The discipline is rigid by design. Claude won't let you theorize without a repro, won't let you fix without knowing the fail path, and maintains a breadcrumb log to catch contradictions. Honestly, it's heavy process, but if you've ever spent two hours chasing a ghost because you skipped the boring parts, this keeps you honest.

skills.sh installs
5K
GitHub stars
3.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add thananon/9arm-skills --skill debug-mantra --agent claude-code

Installs into .claude/skills of the current project.

Files

Debug Mantra

Four-step discipline for any debug session. Recite verbatim, then apply in order.

Recite this — verbatim, as the first thing in your first response

Mantra:

  1. First is reproducibility. Can the issue be reproduced reliably?
  2. Know the fail path. Debugger first; then source trace + knob enumeration; then in-code instrumentation.
  3. Question your hypothesis. What would disprove it?
  4. Every run is a breadcrumb. Cross-reference all of them.

Then begin work.


1. Reproduce reliably

Build a runnable repro before anything else.

  • Reliable repro → capture the exact steps, inputs, and environment as a runnable artifact: failing test, curl script, CLI invocation, replay harness.
  • Flaky repro → the bug is not yet debuggable. Raise the rate first: loop the trigger, parallelise, add stress, narrow timing windows, inject sleeps. 50% flake is debuggable; 1% is not.
  • No repro at all → stop. Say so explicitly. Ask the user for env access, captured artifacts (HAR, log dump, core), or permission to instrument. Do not proceed to hypothesise.

Sponsors

Details

Repository
github.com/thananon/9arm-skills
Categories
Git & Pull Requests, Data Science & ML, Debugging
First seen
Jul 14, 2026

More from thananon/9arm-skills

All 6
1trkbt10 avatarindexion-identitytrkbt10/indexion-skillsDetect and review name/content drift in code using `indexion identity audit`, then plan verified renames, moves, folder changes, or splits.4.9Kskills.sh installs
2forcedotcom avataromnistudio-callable-apex-generateforcedotcom/sf-skillsSalesforce Industries Common Core (OmniStudio/Vlocity) Apex callable generation and review skill with 120-point scoring. Use when creating, reviewing, or migrat4.8Kskills.sh installs
3affaan-m avatarintent-driven-developmentaffaan-m/eccTurn ambiguous or high-impact product and engineering changes into scoped, verifiable acceptance criteria before or alongside implementation. Use when a user as4.8Kskills.sh installs
4dpearson2699 avatarswiftui-performancedpearson2699/swift-ios-skillsProfile, diagnose, and remediate SwiftUI runtime performance using code review, Instruments, and repeatable measurements. Use when a SwiftUI screen renders slow4.8Kskills.sh installs
5claude-office-skills avatartemplate-engineclaude-office-skills/skillsAuto-fill document templates with data - mail merge for any format4.8Kskills.sh installs
6forcedotcom avatarmobile-platform-native-capabilities-integrateforcedotcom/sf-skillsBuild a Salesforce LWC that uses native mobile device capabilities — barcode scanner, biometrics, location, NFC, calendar, contacts, document scanner, geofencin4.7Kskills.sh installs