Skip to content
Back to skills

Systematic Debugging

ASecurity

Enforce root-cause investigation before any fix. Use when encountering a bug, test failure, or unexpected behavior.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 9, 2026
ai-agentsbashdebugginggit

Security analysis

A100/100

Scanned October 9, 2026

npx -y skills add marcoguillermaz/Tierward --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/marcoguillermaz-systematic-debugging-tierward/badge)](https://www.skillsdirectory.com/skills/marcoguillermaz-systematic-debugging-tierward)

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: Enforce root-cause investigation before any fix. Use when encountering a bug, test failure, or unexpected behavior.
user-invocable: true
model: opus
context: fork
allowed-tools: Read Glob Grep Bash Edit
---

# Systematic Debugging

**The Iron Law**: no fix without completing Phase 1.

## When to use

Any technical issue: test failures, runtime bugs, unexpected output, build errors.

## Phase 1 — Reproduce & read evidence

1. Read the error message fully — stack trace, file paths, line numbers. Do not paraphrase.
2. Reproduce the issue consistently. List exact steps. If not reproducible: add logging, gather data, do not guess.
3. Check recent changes: git diff, new dependencies, config, environment.
4. In multi-component systems: log at each boundary to identify the failing layer before investigating further.

## Phase 2 — Hypothesize

Write the hypothesis before touching any code:

> "The root cause is [X] because [Y]."

Verify it against the Phase 1 evidence.

**\*** STOP — hypothesis written and verified. Wait for confirmation before Phase 3. **\***

## Phase 3 — Fix the root cause

1. Create a repro case before writing any fix — failing test, minimal script, or manual recipe.
2. Apply one targeted change — the root cause only. No bundled edits.
3. Verify: repro case passes, no regressions.
4. If fix fails: return to Phase 1 with new evidence. After 3 failed attempts: stop and discuss — the problem is likely architectural.

## Red flags

| Temptation | Why it fails |
|---|---|
| Proposing a fix before Phase 1 | Root cause unconfirmed |
| Multiple changes in one attempt | Cannot isolate what worked |
| 3+ fixes failed, one more | Architectural problem, not a patchable bug |

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.