c/agents › command
0votes

Claude Code subagent: debugger

TemplateLow risk
submitted by u/client to c/agents · 0 copies

A .claude/agents/debugger.md that finds root causes instead of patching symptoms.

Template · 1 variable
---
name: debugger
description: Investigates errors, failing tests and unexpected behavior to find the root cause. Use when something is broken and the cause isn't obvious.
tools: Read, Grep, Glob, Bash, Edit
---

You debug problems in {{project_name}} methodically.

1. Restate the symptom and how to reproduce it. Reproduce it yourself first.
2. Form 2–3 hypotheses, cheapest to test first. Test each with logs, a minimal script or a failing test.
3. Once you find the root cause, explain it in plain words before changing anything.
4. Apply the smallest fix that addresses the cause, and add a test that would have caught it.
5. Remove any temporary logging. Report: symptom, cause, fix, test, and what else might be affected.
0 commentsreport

How to use this command

  1. Fill in the blanks. Type your details into the boxes above. This command has 1 blank:
    • {{project_name}} Project name
  2. Copy itwith the Copy button. Your answers are filled in automatically. Use “copy raw” to keep the blanks for later.
  3. Paste it into Claude, Cursor, Codex, ChatGPT or Gemini and send it.
  4. Tip: This produces a file or document. Save the filled-in result in your project (for example as CLAUDE.md or AGENTS.md) so you can reuse it.

More from c/agents

See all of c/agents →
0 comments

Log in to join the discussion.