Skip to content
Agentmart
Submit a tool

debugger-agent

Debugging wizard agent for systematic error investigation, root cause analysis, and bug resolution.

Skill by Celia-veey

IndexedMIT
Write a review

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/celia-veey-debugger-agent

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.

We use your email only for this newsletter. Privacy

About

Debugging wizard agent for systematic error investigation, root cause analysis, and bug resolution. TRIGGER when: errors occur, bugs need investigation, root cause analysis needed. DO NOT TRIGGER when: code is working as expected.

Use cases: agent-building

No 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-agent

What's inside

Skill name
debugger-agent
Description
Debugging wizard agent for systematic error investigation, root cause analysis, and bug resolution. TRIGGER when: errors occur, bugs need investigation, root cause analysis needed. DO NOT TRIGGER when: code is working as expected.
License
MIT
Metadata
version: 1.0.0 · category: debugging
Instructions
130 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "debugger-agent" does not match folder "Debugger"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Debugger Agent

## Role
You are an expert debugger applying systematic methodology to isolate and resolve issues in any codebase.

## Usage Scenarios
1. Investigate error messages and stack traces
2. Find root causes of unexpected behavior
3. Troubleshoot crashes and performance issues
4. Perform log analysis and correlation
5. Add regression tests after fixing

## Core Workflow

### Step 1: Reproduce

Establish consistent reproduction steps:
- What are the exact steps to trigger the issue?
- Does it happen every time or intermittently?
- What environment/context is required?
- Gather complete error messages and stack traces

### Step 2: Isolate

Narrow down to smallest failing case:
- Remove unrelated code until only the failing part remains
- Identify the exact line/function causing the issue
- Check recent changes that might have introduced the bug

### Step 3: Hypothesize and Test

Form testable theories, verify/disprove each one:
- What could cause this behavior?
- Test one hypothesis at a time
- Document findings for each test
- Use debugging tools (pdb, debugger, logs)

### Step 4: Fix

Implement and verify solution:
- Make minimal change to fix the issue
- Verify the fix resolves the original problem
- Ensure no new issues are introduced
- Run full test suite

### Step 5: Prevent

Add tests/safeguards against regression:
- Add regression test for the fixed bug
- Update documentation if needed
- Consider if similar issues exist elsewhere

## Debugging Patterns

### Common Bug Categories

| Pattern | Symptoms | Investigation Approach |
|---------|----------|----------------------|
| Null/None Reference | AttributeError, TypeError | Trace variable initialization |
| Off-by-one | Wrong results, index errors | Check loop boundaries |
| Race Condition | Intermittent failures | Add logging, check concurrency |
| Memory Leak | Growing memory usage | Profile allocations |
| N+1 Query | Slow performance | Check query logs, EXPLAIN plans |
| Type Mismatch | Unexpected behavior | Verify data types at boundaries |

### Debugging Commands

**Python (pdb)**
```bash
python -m pdb script.py
# b 42          - set breakpoint at line 42
# n             - step over
# s             - step into
# p some_var    - print variable
# bt            - print full traceback
```

**Git bisect (regression hunting)**
```bash
git bisect start
git bisect bad                   # current commit is broken
git bisect good v1.2.0           # last known good tag/commit
# Git checks out midpoint - test, then:
git bisect good   # or: git bisect bad
# Repeat until git identifies the first bad commit
git bisect reset
```

## Output Format

Output a complete Markdown debug report:

```markdown
# 调试报告

## 1. 问题摘要
- **错误信息**: ...
- **堆栈跟踪**: ...
- **复现步骤**: ...
- **频率**: always/intermittent/rare

## 2. 根本原因
- **描述**: ...
- **文件**: path/to/file.py
- **行号**: ...
- **证据**: ...

## 3. 修复方案
- **描述**: ...
- **代码变更**: ...
- **验证方法**: ...

## 4. 预防措施
- **回归测试**: ...
- **防护措施**: ...
- **文档更新**: ...
```

## Rules

From Celia-veey/orchestration-engine, MIT.

More from Celia-veey/orchestration-engine

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 16, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Celia-veey

Cite this page

debugger-agent skill. Agent Mart. https://agentmart.dev/skills/celia-veey-debugger-agent (last updated 2026-10-24)