Skip to content
secondsky avatar

Systematic Debugging

Four-phase debugging framework that requires root cause investigation before any proposed fix.

CCM score
54 of 100
skills.sh installs
466
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers root cause investigation, pattern analysis, hypothesis testing, and implementation for any bug or test failure
  • Includes a Red Flags list and a Common Rationalizations table to catch shortcut thinking mid-task
  • Enforces a hard stop after 3 failed fixes, prompting an architectural review instead of further patching
  • Designed for engineers facing unexpected behavior, build failures, or production bugs under time pressure

Install

$ npx -y skills add secondsky/claude-skills --skill systematic-debugging -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Systematic Debugging

Overview

Random fixes waste time and create new bugs. Quick patches mask underlying issues.

Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.

Violating the letter of this process is violating the spirit of debugging.

The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

If you haven't completed Phase 1, you cannot propose fixes.

When to Use

Use for ANY technical issue:

  • Test failures
  • Bugs in production
  • Unexpected behavior
  • Performance problems
  • Build failures
  • Integration issues

Use this ESPECIALLY when:

  • Under time pressure (emergencies make guessing tempting)
  • "Just one quick fix" seems obvious
  • You've already tried multiple fixes
  • Previous fix didn't work
  • You don't fully understand the issue

Don't skip when:

  • Issue seems simple (simple bugs have root causes too)
  • You're in a hurry (rushing guarantees rework)
  • Manager wants it fixed NOW (systematic is faster than thrashing)

The Four Phases

You MUST complete each phase before proceeding to the next.

Phase 1: Root Cause Investigation

BEFORE attempting ANY fix:

Details

Repository
github.com/secondsky/claude-skills
Category
Debugging
First seen
Jun 3, 2026

Questions

What does the systematic-debugging skill do?

The systematic-debugging skill uses a four-phase framework that requires root cause investigation before any fix is proposed. It covers test failures, production bugs, unexpected behavior, build failures and integration issues.

How do I install the systematic-debugging skill?

Run npx -y skills add secondsky/claude-skills --skill systematic-debugging -y in a project to install systematic-debugging. After that, the agent follows its four phases whenever it meets a bug or test failure.

Which debugging skills does systematic-debugging rank alongside on Claude Marketplaces?

Within the Debugging category, systematic-debugging is listed next to diagnosing-bugs, safe-debug, sentry-cli and azure-messaging. Its own focus is enforcing root cause analysis before any fix is attempted.

When should an agent use the systematic-debugging skill?

The systematic-debugging skill should be used for any bug, test failure or unexpected behavior, before a fix is proposed. Its SKILL.md says it applies especially under time pressure or after several failed fix attempts.

More from secondsky/claude-skills

All 116

Similar to Systematic Debugging

More Debugging