GSD Debugger

Diagnose software bugs through systematic hypothesis testing and persistent state tracking.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/apsulli/gsd-extended --skill gsd-debugger-apsulli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: GSD Debugger
Source: https://github.com/apsulli/gsd-extended/tree/main/.agent/skills/debugger
Command: npx skills add https://github.com/apsulli/gsd-extended --skill gsd-debugger-apsulli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Debugging sessions often spiral into guesswork, repeated failed fixes, and lost context when AI conversations reset. This Skill enforces a disciplined investigation process that finds root causes instead of masking symptoms, and preserves debugging state across sessions. ## Core Features & Use Cases - Hypothesis Testing Framework: Forms falsifiable hypotheses, gathers evidence, and eliminates theories systematically while avoiding cognitive biases like anchoring and confirmation bias. - Persistent Debug State: Tracks symptoms, eliminated hypotheses, and evidence in a structured DEBUG.md file so progress survives context resets and session handoffs. - 3-Strike Rule and Restart Protocol: Detects tunnel vision after three failed fix attempts and recommends a fresh context with documented findings. - Use Case: A developer reports that a counter increments twice per click. The debugger forms specific hypotheses (e.g., handleClick fires twice due to double event binding), tests each one, documents eliminated theories, and verifies the fix against a checklist. ## Quick Start Ask the AI to debug the issue where the counter shows 3 after a single click and have it track the investigation in DEBUG.md.

Frequently Asked Questions about GSD Debugger

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

FAQPage Schema
How do I debug a bug systematically instead of guessing?▼

Systematic debugging forms falsifiable hypotheses before investigating, tests one variable at a time, and documents eliminated theories with evidence. This Skill structures that process with hypothesis tracking, evidence logs, and verification checklists.

How to keep debugging context across AI chat sessions?▼

Persist debugging state in a DEBUG.md file recording symptoms, current hypothesis, eliminated theories, and evidence. A fresh session reads this file to resume the investigation without repeating failed approaches.

What should I do after multiple failed fix attempts?▼

After three failed fixes, stop the current approach, document what was tried, and restart with a fresh context. Repeated failures indicate a wrong mental model, and a clean context often spots what a polluted one cannot.

Why is debugging your own code harder than someone else's?▼

Familiarity creates blind spots because you remember intent rather than actual implementation. The antidote is treating your code as foreign, questioning design decisions, and prioritizing recently modified lines as prime suspects.

When should I restart a debugging session from scratch?▼

Restart after two or more hours without progress, three or more failed fixes, inability to explain current behavior, or when a fix works for unknown reasons. Document known facts and ruled-out hypotheses before beginning again.