safe-debug

SkillDev tools

Your AI can debug code and diagnose errors step by step. safe-debug is a skill in the dev-tools category that walks the agent through a problem in ordered steps. Once added, your agent can work out what went wrong in your code and why.

Available today. Use it from your connected AI after setup.

After adding the skill, share the code and the error message you are seeing, then ask your AI to diagnose the problem step by step.

Then ask your AI: use the safe-debug skill

What your AI can do with it

  • Debug code when something goes wrong
  • Diagnose errors step by step
  • Find the likely cause of an error message
  • Explain what went wrong in your code

What this skill tells your AI

The instructions your AI receives, as published by lllllllama/rigorpilot-skills in skills/safe-debug/SKILL.md and read by ahel’s review.

Use this as the Rigor Debug / Rigor Audit skill. The installed slug remains safe-debug for compatibility.

Use the shared operating principles in ../../references/agent-operating-principles.md; this skill should guide conservative diagnosis without blocking the model from finding the local root cause.

When to apply

  • The user provides a traceback, terminal error, or concrete training or inference failure symptom.
  • The user wants diagnosis, root-cause narrowing, and minimal patch suggestions before code is changed.
  • The user wants a safe debug flow with explicit human approval before mutation.

When not to apply

  • When the user wants a broad repository walkthrough without an active failure.
  • When the task is speculative experimentation or code adaptation.
  • When the user is asking for a large refactor or readability rewrite.

Clear boundaries

  • Diagnose first.
  • Do not modify repository code by default.
  • If a patch is needed, propose the smallest fix and require explicit approval first.
  • Escalate savepoint or branch creation before medium-risk or high-risk changes.
  • A debug fix is not automatically a research contribution; if it changes experiment meaning or comparability, say so explicitly.

Output expectations

  • debug_outputs/DIAGNOSIS.md
  • debug_outputs/PATCH_PLAN.md
  • debug_outputs/status.json

Notes

Use references/debug-policy.md, ../../references/research-rigor-principles.md, and the shared ../../references/research-pitfall-checklist.md.

Signals

GitHub stars
487
Forks
17
Last commit
Sep 2026
Installs
311k installs
Advanced
Catalog kind
skill
Gateway key
safe-debug
Source
github.com/lllllllama/rigorpilot-skills