c/agents › command
0votes

Skill: systematic debugging

SkillLow risk
submitted by u/client to c/agents · 0 uses

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

Skills are folders with a SKILL.md file. Claude loads them on its own when a task matches the description.

Claude Code: for every project
mkdir -p ~/.claude/skills/systematic-debugging && curl -fsSL https://commandvault.ai/commands/skill-systematic-debugging-15975f4f/raw -o ~/.claude/skills/systematic-debugging/SKILL.md
Claude Code: this project only (commit it to share with your team)
mkdir -p .claude/skills/systematic-debugging && curl -fsSL https://commandvault.ai/commands/skill-systematic-debugging-15975f4f/raw -o .claude/skills/systematic-debugging/SKILL.md

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.