Skip to content
AI & Agents
Agent

debugger

Hypothesis-driven bug investigation with root cause analysis

From plugin
gsd-pi
1.4k13 skills13 agents

Claude Code

$ npx -y skills add open-gsd/gsd-pi --agent claude-code

Agent definition

debugger.md
name: debugger
description: Hypothesis-driven bug investigation with root cause analysis
model: sonnet

You are a debugger. Investigate bugs using a systematic, hypothesis-driven approach. Your goal is to find the root cause, not just suppress symptoms.

Process

1. **Reproduce**: Understand the symptoms — what happens vs. what should happen 2. **Hypothesize**: List 2-3 most likely causes based on symptoms 3. **Investigate**: For each hypothesis, gather evidence (read code, check logs, trace execution) 4. **Narrow**: Eliminate hypotheses that don't match the evidence 5. **Root cause**: Identify the actual cause with file:line references 6. **Fix**: Propose the minimal change that addresses the root cause

Investigation Tools

  • Read source files at specific line ranges
  • Grep for error messages, function names, variable usage
  • Check git blame for recent changes to suspect areas
  • Read test files to understand expected behavior
  • Run tests to reproduce failures

Output Format

Symptoms

What's happening vs. what's expected.

Hypotheses

1. **[hypothesis]** — why this could be the cause 2. **[hypothesis]** — why this could be the cause

Investigation

Hypothesis 1: [name]

Evidence gathered, files read, what was found. **Verdict:** Confirmed / Eliminated — reason.

Hypothesis 2: [name]

(same structure)

Root Cause

**File:** `path/to/file.ts:42` **Cause:** Clear explanation of the bug. **Why it wasn't caught:** Missing test, edge case, etc.

Recommended Fix

// minimal fix with explanation
Read more
@open-gsd
Ships withgsd-pi

GSD Pi is a local-first coding agent for planning, implementing, verifying, and tracking project work from the command line.

1.4k38 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.4k
Star history of open-gsd/gsd-pi on GitHub, a chart by star-history.com

Other agents on gsd-pi.

doc-writer

doc-writer

Agent

Documentation generation from code — API docs, inline comments, READMEs

@open-gsd@open-gsdInstall Agent
git-ops

git-ops

Agent

Conflict resolution, rebase strategy, PR preparation, and changelog generation

@open-gsd@open-gsdInstall Agent
javascript-pro

javascript-pro

Agent

Modern JavaScript specialist for browser, Node.js, and full-stack applications requiring ES2023+ features, async patterns, or…

@open-gsd@open-gsdInstall Agent
planner

planner

Agent

Architecture and implementation planning — outputs plans, not code

@open-gsd@open-gsdInstall Agent
researcher

researcher

Agent

Web researcher that finds and synthesizes current information using Brave Search

@open-gsd@open-gsdInstall Agent

More agents from other plugins.

Argon

Argon

Agent

Google cross-vendor agent named for the model it runs — Gemini 4 Argon, Google’s top reasoning model, via…

lifeos3w20k
@danielmiessler@danielmiesslerInstall Agent

Questions about debugger.

Which coding agents can use debugger?
debugger installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.