systematic-debugging

Diagnose software defects through a four-phase debugging protocol.

1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/hjemmesidekongen/ai --skill systematic-debugging-hjemmesidekongen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/hjemmesidekongen/ai/tree/main/plugins/smedjen/skills/systematic-debugging
Command: npx skills add https://github.com/hjemmesidekongen/ai --skill systematic-debugging-hjemmesidekongen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured, four-phase protocol to systematically identify and resolve bugs, preventing superficial fixes and ensuring root cause understanding.

Core Features & Use Cases

  • Phased Debugging: Follows a clear process: gather evidence, identify patterns, form hypotheses, validate fix.
  • Symptom-Based Diagnosis: Maps common software symptoms (render loops, memory leaks, race conditions) to specific debugging tools and techniques.
  • Use Case: When encountering an intermittent bug in production, use this Skill to guide the investigation from initial error logs to a validated fix with a regression test.

Quick Start

Follow the systematic debugging protocol to investigate the bug reported in ticket #123.

Frequently Asked Questions about systematic-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a systematic approach to debugging software defects and finding root causes?

A systematic debugging protocol guides investigations through four phases: gather evidence, identify patterns, form hypotheses, and validate the fix. This structured process prevents superficial patches by ensuring true root cause understanding before implementing a solution.

How do I diagnose intermittent bugs like memory leaks or race conditions in production?

You can diagnose intermittent bugs like memory leaks or race conditions by mapping specific symptoms to diagnostic tools and techniques. The protocol analyzes common software symptoms to guide your investigation from initial error logs to a validated fix.

How do I validate a bug fix to prevent regression in software troubleshooting?

To validate a bug fix and prevent recurrence, ensure fixes are validated with regression tests. The debugging protocol mandates this final validation phase to confirm the root cause is resolved without introducing new software defects.

What's the best way to troubleshoot render loops without applying superficial patches?

The best way to troubleshoot render loops is following a phased debugging protocol that gathers evidence and forms hypotheses before acting. This method ensures you identify the underlying root cause rather than applying a superficial patch to the symptom.

Does systematic root cause analysis work for complex issues like race conditions?

Yes, systematic root cause analysis works for complex issues like race conditions by mapping these specific software symptoms to targeted diagnostic tools. This ensures a structured investigation process from initial detection to a fully validated fix.