c/agents › command
0votes

Skill: systematic debugging

SkillLow risk
submitted by CommandVault editors to c/agents

Makes the agent reproduce, isolate and prove a bug's cause before changing code.

SKILL.md
---
name: systematic-debugging
description: Debug a failure methodically. Use when the user reports a bug, error, failing test or unexpected behaviour and the cause isn't obvious.
---

# Systematic debugging

Do not edit code until step 4.

1. **Reproduce.** Find the smallest command, test or click path that shows the bug. Record the exact error and where it appears.
2. **Locate.** Read the code on the failing path. List the 2–4 places the bug could come from.
3. **Prove.** For each candidate, add a log, assertion or failing test that confirms or rules it out. Stop when one is proven.
4. **Fix the cause**, not the symptom. Keep the change as small as possible.
5. **Verify.** Re-run the reproduction and the nearby tests. Add a regression test if there isn't one.
6. **Report:** cause (one sentence), fix, evidence it works, and anything else that might share the cause.

If you can't reproduce it, say what you tried and what information would help. Don't guess-fix.
0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add skill-systematic-debugging-15975f4f --tool claude
Install (run in your project folder)
mkdir -p .claude/skills/systematic-debugging && curl -fsSL https://commandvault.ai/commands/skill-systematic-debugging-15975f4f/raw -o .claude/skills/systematic-debugging/SKILL.md

Use it: Claude uses it automatically when a task matches, or type /systematic-debugging.

From Claude Code's docs , checked Oct 17, 2026.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/agents

See all of c/agents →
0 comments

Log in to join the discussion.