
Systematic Debugging
Walks an agent through root-cause investigation of bugs before any fix is applied
Systematic Debugging is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 6
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Systematic Debugging
This skill gives an AI coding agent a four-phase method for investigating bugs, failing tests and unexpected behavior. The agent reads the full error and stack trace first without touching code, then reproduces the failure with the exact command, gathers evidence such as data flow and recent git changes, and only then applies a targeted repair. The workflow centres on an iron rule that no fix is made until the root cause is understood.
The guidance also covers the fix itself. The agent is asked to write a failing test before changing code, keep the change small, check for regressions across the suite, and add validation and logging at the boundary where bad data enters. A table of common rationalizations and a list of anti-patterns, such as changing several things at once, editing tests to pass, or silencing errors with try/catch, help steer the agent away from shotgun debugging.
The skill is written for Claude Code and is limited to the Read, Grep, Glob and Bash tools. It references a shared code-quality rule file and a /verify command for driving the running app, which are not included in this folder, and it lists related skills such as a quality guardian and a code reviewer for integration.
When your agent uses it
Use when investigating bugs, test failures, or unexpected behavior. 4-phase root cause investigation before attempting any fix. Enforces the Iron Law: no fixes without root-cause investigation first. Prevents shotgun debugging and cargo-cult fixes.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Grep, Glob, Bash(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 1 file (5 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the hefesto plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add joaoariedi/hefesto
/plugin install hefesto@hefestoOr copy only this skill to ~/.claude/skills/systematic-debugging:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/joaoariedi/hefesto.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/systematic-debugging &&
cp -R "$tmp/skills/systematic-debugging" ~/.claude/skills/systematic-debugging &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/systematic-debugging inside it instead.
Copy the skill folder to ~/.agents/skills/systematic-debugging to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/joaoariedi/hefesto.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/systematic-debugging &&
cp -R "$tmp/skills/systematic-debugging" ~/.agents/skills/systematic-debugging &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/systematic-debugging inside it instead.
Copy the skill folder to ~/.cursor/skills/systematic-debugging to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/joaoariedi/hefesto.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/systematic-debugging &&
cp -R "$tmp/skills/systematic-debugging" ~/.cursor/skills/systematic-debugging &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/systematic-debugging inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/joaoariedi/hefesto.git --path skills/systematic-debuggingOr copy the folder to ~/.gemini/skills/systematic-debugging yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/systematic-debugging:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/joaoariedi/hefesto.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/systematic-debugging &&
cp -R "$tmp/skills/systematic-debugging" ~/.copilot/skills/systematic-debugging &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/systematic-debugging inside it instead.
Get the folder:
git clone --depth 1 https://github.com/joaoariedi/hefesto.gitThen copy hefesto/skills/systematic-debugging into your agent's skills folder as systematic-debugging. Agents that support SKILL.md read one folder per skill.
What it does
- Four-phase investigation process
- Walks the agent through observing errors, reproducing the failure, gathering evidence and then fixing.
- Root-cause-first rule
- Forbids code changes until the agent can explain why the bug occurs.
- Reproduction steps template
- Provides a structured format for documenting the command, expected result, actual result and error.
- Defense-in-depth guidance
- Suggests fixing at the source, validating inputs at the boundary and logging at entry points.
- Anti-pattern checklist
- Lists common debugging mistakes such as changing several things at once or silencing errors.
- Rationalization prevention table
- Pairs common excuses for quick fixes with the phase the agent should return to instead.
Good for
- Investigate why a failing test suddenly started breaking
- Debug an intermittent or flaky test without guessing at fixes
- Find the cause of behavior that worked before a recent change
- Trace an unexpected runtime error back to its origin in the code
- Reproduce a bug reliably before writing a regression test
Systematic Debugging FAQ
What tools does Systematic Debugging need?
It is allowed to use Read, Grep, Glob and Bash.
When does the skill trigger?
It is meant for requests about bugs, test failures or unexpected behavior, such as asking why something is broken, debugging a test, or handling a flaky test.
Does Systematic Debugging run any scripts?
No scripts are included in the skill folder. It consists of a single SKILL.md file with instructions.
Which environments does Systematic Debugging support?
The skill is distributed through the hefesto Claude Code plugin marketplace.
How do I install Systematic Debugging in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/systematic-debugging to use it in all your projects, or to .claude/skills/systematic-debugging in one project. Or install the hefesto plugin, which includes it: /plugin marketplace add joaoariedi/hefesto, then /plugin install hefesto@hefesto.
Does Systematic Debugging run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Systematic Debugging?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Systematic Debugging?
The closest alternatives to Systematic Debugging are Debug, Debug, Principle fix root causes, Debug hypothesis and Debugging and error recovery.
Where this comes from
- Description: from the skill's own SKILL.md.
More from joaoariedi/hefesto

Lint, format, type-check and test commands for common languages and CI gates
- Open source
- 6 GitHub stars
- Developer tools

Guides when to use subagents, agent teams or workflows to split work across agents
- Open source
- 6 GitHub stars
- Developer tools

Guidance for vetting, configuring and hardening MCP servers and third-party skills
- Open source
- 6 GitHub stars
- Security

Guides choosing and comparing CI/CD security scanners for SAST, DAST, SCA and secrets
- Open source
- 6 GitHub stars
- Security

Scores a code change's effort and risk from git metadata, read-only
- Open source
- 6 GitHub stars
- Developer tools





