askill
systematic-debugging

systematic-debuggingSafety 95Repository

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

16 stars
1.2k downloads
Updated 3/6/2026

Package Files

Loading files...
SKILL.md

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:

  1. Read Error Messages Carefully

    • Don't skip past errors or warnings
    • They often contain the exact solution
    • Read stack traces completely
    • Note line numbers, file paths, error codes
  2. Reproduce Consistently

For detailed guidelines and examples, see reference.md.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

35/100Analyzed 3/10/2026

Well-intentioned debugging methodology with excellent structure and principles, but critically incomplete - cuts off mid-Phase 1. The four-phase framework shows good thinking but user cannot complete the process. Located in deleted-skills archive with internal path, but content is broadly applicable. Needs completion of Phase 1 and full Phases 2-4 to be useful."

95
65
70
20
35

Metadata

Licenseunknown
Version-
Updated3/6/2026
PublisherKaimingWan

Tags

ci-cdtesting