Skip to content
Back to skills

Systematic Debugging

ASecurity

Use when a bug, failing test, crash, performance regression, build failure, or unexplained behavior needs diagnosis.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agentsdebuggingrefactoringperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 13, 2026

npx -y skills add z-Zihan/Evir --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/z-zihan-systematic-debugging/badge)](https://www.skillsdirectory.com/skills/z-zihan-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: Use when a bug, failing test, crash, performance regression, build failure, or unexplained behavior needs diagnosis.
---

# Systematic Debugging

Adapted for Evir from Superpowers `systematic-debugging`.

## Core rule

Find evidence for the root cause before changing production behavior. A plausible symptom fix
is not a diagnosis.

## Phase 1: Reproduce and locate

1. Read the full error, stack, exit code, and surrounding warnings.
2. Reproduce with the smallest stable command or user path. If it is intermittent, record the
   conditions instead of guessing.
3. Inspect recent changes, configuration, environment differences, and a working analogue.
4. At each component boundary, compare validated input, output, and state. Log safe metadata,
   never credentials or full private content.
5. Trace the bad value or state backward to its first incorrect origin.

## Phase 2: Form one hypothesis

State: "The root cause is X because evidence Y distinguishes it from alternatives Z." Test one
variable with the smallest reversible experiment. If it fails, discard the hypothesis rather
than stacking another speculative change.

## Phase 3: Fix and prove

1. Add the narrowest regression test or deterministic reproduction.
2. Verify it fails for the expected reason.
3. Implement one root-cause fix without unrelated refactoring.
4. Re-run the focused test, affected suite, and original user path where possible.
5. Report the cause, change, evidence, and any unverified environment.

After three failed fix attempts, stop adding patches and reassess the architecture or missing
observability. Preserve user changes and never disable checks to manufacture a pass.

Files in this skill

  • SKILL.md1.7 KB
  • manifest.json1.2 KB

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.