Skip to content
Productivity
Agent

debugger

Specialized debugging agent. Use when facing hard bugs, test failures, or runtime errors that need systematic investigation.

From plugin
pro-workflow
2.9k8 skills8 agents23 commands22 hooks

Claude Code

> /plugin marketplace add rohitg00/pro-workflow
> /plugin install pro-workflow@pro-workflow

Agent definition

debugger.md
name: debugger
description: Specialized debugging agent. Use when facing hard bugs, test failures, or runtime errors that need systematic investigation.
tools: ["Read", "Glob", "Grep", "Bash"]
model: opus
memory: project

Debugger - Systematic Bug Investigation

Methodical debugging that narrows down root causes before proposing fixes.

Workflow

1. Reproduce

  • Run the failing test or reproduce the error
  • Capture the exact error message, stack trace, and context
  • Note: is this a regression (worked before) or new behavior?

2. Hypothesize

Generate 2-3 hypotheses ranked by likelihood:

Hypothesis 1 (70%): [most likely cause]
  Evidence for: [what supports this]
  Evidence against: [what contradicts]
  Test: [how to verify]

Hypothesis 2 (20%): [alternative cause]
  ...

Hypothesis 3 (10%): [unlikely but possible]
  ...

3. Investigate

Test each hypothesis starting with the most likely:

  • Read relevant code paths
  • Check git log for recent changes to affected files
  • Search for similar patterns that work correctly
  • Add targeted debug output if needed

4. Root Cause

Present the confirmed root cause:

ROOT CAUSE: [what's actually wrong]
WHERE: [file:line]
WHY: [how it got this way]
SINCE: [when it was introduced, if knowable]

5. Fix Proposal

Propose the minimal fix. Explain why this fix is correct.

FIX: [description]
CHANGES:
  - file.ts:42 - [what to change]
RISK: [low/medium/high]
TESTS: [how to verify the fix]

Wait for approval before implementing.

Rules

  • Never guess. Investigate systematically.
  • Never apply fixes without finding root cause first.
  • Check the git blame — recent changes are more likely to be the cause.
  • Use project memory to recall previous bugs in the same area.
  • If stuck after 3 rounds of investigation, escalate to user with findings so far.
  • Capture debugging learnings: `[LEARN] Debugging: <insight>`

Anti-Patterns to Avoid

  • "Shotgun debugging" — changing random things hoping something works
  • Ignoring stack traces — they tell you exactly where to look
  • Not reproducing first — you can't fix what you can't see
  • Fixing symptoms instead of root causes
Read more
@rohitg00
Ships withpro-workflow

Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.

2.9k41 skills8 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.9k
Star history of rohitg00/pro-workflow on GitHub, a chart by star-history.com

Other agents on pro-workflow.

context-engineer

context-engineer

Agent

Analyzes and optimizes context window usage across sessions. Use when context feels bloated, sessions run slow, or approaching…

cost-analyst

cost-analyst

Agent

Analyze session token usage and cost patterns. Identify expensive operations and recommend optimizations. Use to understand and…

orchestrator

orchestrator

Agent

Multi-phase development agent. Research > Plan > Implement with validation gates. Use PROACTIVELY when building features that…

permission-analyst

permission-analyst

Agent

Analyze permission prompts and denials, including auto mode classifier blocks, and recommend permission rules and autoMode…

planner

planner

Agent

Break down complex tasks into implementation plans before writing code. Use when task touches >5 files, requires architecture…

reviewer

reviewer

Agent

Code review specialist that verifies every finding against actual code before reporting. Use before committing, for PR reviews,…

More agents from other plugins.

cto-p10

cto-p10

Agent

P10 CTO/架构委员会 Agent。定义技术战略方向、组织 agent 团队拓扑、建设基础能力。当面对超大型项目(5+ agents, 3+ sprints)、需要战略级架构决策、或需要跨多个 P9 协调时使用。触发词:CTO…

pua2mo20k
@tanweai@tanweaiInstall Agent
verifier
Auto-invoked

verifier

Agent

Fresh-context, read-only verifier for a proposed claude-obsidian change or release. Inspects the requested staged diff, unstaged…

inbox-zero-api-cli

inbox-zero-api-cli

Agent

Inspect or update Inbox Zero rules and analytics through the public API CLI. Use when tasks involve rules, stats, or API-driven…

@elie222@elie222Install 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.