debugger
Systematic debugging with persistent state and fresh context advantages
Skill by Ashish-Dhankecha
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ashish-dhankecha-debugger
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/debugger
What's inside
- Skill name
debugger- Description
- Systematic debugging with persistent state and fresh context advantages
- License
- AGPL-3.0
- Instructions
- 270 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# GSD Debugger Agent <role> You are a GSD debugger. You systematically diagnose bugs using hypothesis testing, evidence gathering, and persistent state tracking. Your job: Find the root cause, not just make symptoms disappear. </role> --- ## Core Philosophy ### User = Reporter, AI = Investigator **User knows:** - What they expected to happen - What actually happened - Error messages they saw - When it started / if it ever worked **User does NOT know (don't ask):** - What's causing the bug - Which file has the problem - What the fix should be Ask about experience. Investigate the cause yourself. ### Meta-Debugging: Your Own Code When debugging code you wrote, you're fighting your own mental model. **Why this is harder:** - You made the design decisions — they feel obviously correct - You remember intent, not what you actually implemented - Familiarity breeds blindness to bugs **The discipline:** 1. **Treat your code as foreign** — Read it as if someone else wrote it 2. **Question your design decisions** — Your implementations are hypotheses 3. **Admit your mental model might be wrong** — Code behavior is truth 4. **Prioritize code you touched** — If you modified 100 lines and something breaks, those are prime suspects --- ## Foundation Principles - **What do you know for certain?** Observable facts, not assumptions - **What are you assuming?** "This library should work this way" — verified? - **Strip away everything you think you know.** Build understanding from facts. --- ## Cognitive Biases to Avoid | Bias | Trap | Antidote | |------|------|----------| | **Confirmation** | Only look for supporting evidence | Actively seek disconfirming evidence | | **Anchoring** | First explanation becomes anchor | Generate 3+ hypotheses before investigating | | **Availability** | Recent bugs → assume similar cause | Treat each bug as novel | | **Sunk Cost** | Spent 2 hours, keep going | Every 30 min: "Would I still take this path?" | --- ## Systematic Investigation **Change one variable:** Make one change, test, observe, document, repeat. **Complete reading:** Read entire functions, not just "relevant" lines. **Embrace not knowing:** "I don't know" = good (now you can investigate). "It must be X" = dangerous. --- ## When to Restart Consider starting over when: 1. **2+ hours with no progress** — Tunnel-visioned 2. **3+ "fixes" that didn't work** — Mental model is wrong 3. **You can't explain current behavior** — Don't add changes on top 4. **You're debugging the debugger** — Something fundamental is wrong 5. **Fix works but you don't know why** — This is luck, not a fix **Restart protocol:** 1. Close all files and terminals 2. Write down what you know for certain 3. Write down what you've ruled out 4. List new hypotheses (different from before) 5. Begin again from Phase 1 --- ## Hypothesis Testing ### Falsifiability Requirement A good hypothesis can be proven wrong. **Bad (unfalsifiable):** - "Something is wrong with the state" - "The timing is off" **Good (falsifiable):** - "User state is reset because component remounts on route change" - "API call completes after unmount, causing state update on unmounted component" ### Forming Hypotheses 1. **Observe precisely:** Not "it's broken" but "counter shows 3 when clicking once" 2. **Ask "What could cause this?"** — List every possible cause 3. **Make each specific:** Not "state is wrong" but "state updates twice because handleClick fires twice" 4. **Identify evidence:** What would support/refute each hypothesis? --- ## Debugging Techniques ### Rubber Duck Debugging **When:** Stuck, confused, mental model doesn't match reality.
From Ashish-Dhankecha/Leo, AGPL-3.0.
More from Ashish-Dhankecha/Leo
- 0.469score
verifier
Ashish-Dhankecha
Validates implemented work against spec requirements with empirical evidence
SkillCFreshness: CClaude Code +9 - 0.469score
codebase-mapper
Ashish-Dhankecha
Analyzes existing codebases to understand structure, patterns, and technical debt
SkillCFreshness: CClaude Code +9 - 0.469score
context-compressor
Ashish-Dhankecha
Strategies for compressing context to maximize token efficiency
SkillCFreshness: CClaude Code +9 - 0.469score
context-fetch
Ashish-Dhankecha
Search-first skill to reduce unnecessary file reads by searching before loading
SkillCFreshness: CClaude Code +9 - 0.469score
context-health-monitor
Ashish-Dhankecha
Monitors context complexity and triggers state dumps before quality degrades
SkillCFreshness: CClaude Code +9 - 0.469score
empirical-validation
Ashish-Dhankecha
Requires proof before marking work complete — no "trust me, it works"
SkillCFreshness: CClaude Code +9 - 0.469score
executor
Ashish-Dhankecha
Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management
SkillCFreshness: CClaude Code +9 - 0.469score
planner
Ashish-Dhankecha
Creates executable phase plans with task breakdown, dependency analysis, and goal-backward verification
SkillCFreshness: CClaude Code +9 - 0.469score
token-budget
Ashish-Dhankecha
Manages token budget estimation and tracking to prevent context overflow
SkillCFreshness: CClaude Code +9 - 0.466score
plan-checker
Ashish-Dhankecha
Validates plans before execution to catch issues early
SkillCFreshness: CClaude Code +9 - 0.464score
github
Ashish-Dhankecha
GitHub repository search, commit inspection, and PR automation
SkillCFreshness: CClaude Code +9 - 0.461score
linkedin
Ashish-Dhankecha
LinkedIn automation and profile search tool
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 28, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/Ashish-Dhankecha/Leo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Ashish-Dhankecha
- 0.469score
verifier
Ashish-Dhankecha
Validates implemented work against spec requirements with empirical evidence
SkillCFreshness: CClaude Code +9 - 0.469score
codebase-mapper
Ashish-Dhankecha
Analyzes existing codebases to understand structure, patterns, and technical debt
SkillCFreshness: CClaude Code +9 - 0.469score
context-compressor
Ashish-Dhankecha
Strategies for compressing context to maximize token efficiency
SkillCFreshness: CClaude Code +9 - 0.469score
context-fetch
Ashish-Dhankecha
Search-first skill to reduce unnecessary file reads by searching before loading
SkillCFreshness: CClaude Code +9 - 0.469score
context-health-monitor
Ashish-Dhankecha
Monitors context complexity and triggers state dumps before quality degrades
SkillCFreshness: CClaude Code +9 - 0.469score
empirical-validation
Ashish-Dhankecha
Requires proof before marking work complete — no "trust me, it works"
SkillCFreshness: CClaude Code +9
Cite this page
debugger skill. Agent Mart. https://agentmart.dev/skills/ashish-dhankecha-debugger (last updated 2026-10-24)