Skip to content
Back to skills

Systematic Debugging

ASecurity

Find the root cause from evidence instead of guessing at fixes.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
developmentdebugging

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add Andersseen/agentyx --skill systematic-debugging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Systematic Debugging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Systematic Debugging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andersseen-systematic-debugging/badge)](https://www.skillsdirectory.com/skills/andersseen-systematic-debugging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: systematic-debugging
description: Find the root cause from evidence instead of guessing at fixes.
---

# Systematic debugging

A bug is the gap between what the code does and what you believe it does. Close it with evidence,
not with edits.

## Reproduce first

Get a reliable reproduction before changing anything: a failing test, a command, an input. Without
one you cannot know that you fixed it. An intermittent failure still counts — record how often it
happens and under what conditions.

## Gather evidence

Read the real error, the whole stack trace, and the code at the top frame. Then narrow it down:
which input, which branch, which layer. Adding a log line, bisecting the input, or reverting a
recent change all beat reasoning about code you have not read.

Keep what you observed separate from what you inferred.

## Find the root cause

Keep asking why until the answer is a mechanism rather than a symptom. "The value is undefined" is
a symptom; "the loader returns before the cache is populated" is a mechanism. Stop when your
explanation accounts for every detail you saw, including the ones that looked irrelevant. A detail
that does not fit means the explanation is wrong.

## Fix

Change the smallest thing that addresses the cause you identified. Do not fold refactors,
renames, or unrelated cleanups into a bug fix — they hide the fix in the diff.

Never apply a change you cannot justify. Editing until the symptom disappears leaves the bug in
place and usually adds another.

## Verify

Confirm the reproduction passes now, and that it failed before for the reason you claimed. Run the
surrounding tests to catch regressions, and add a test that fails without the fix.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…