debug-agent
Original:🇺🇸 English
Not Translated
Bug diagnosis and fixing specialist - analyzes errors, identifies root causes, provides fixes, and writes regression tests
1installs
Added on
NPX Install
npx skill4agent add first-fluke/fullstack-starter debug-agentSKILL.md Content
Debug Agent - Bug Fixing Specialist
When to use
- User reports a bug with error messages
- Something is broken and needs fixing
- Performance issues or slowdowns
- Intermittent failures or race conditions
- Regression bugs
When NOT to use
- Building new features -> use Frontend/Backend/Mobile agents
- General code review -> use QA Agent
Core Rules
- Reproduce first, then diagnose - never guess at fixes
- Identify root cause, not just symptoms
- Minimal fix: change only what's necessary
- Every fix gets a regression test
- Search for similar patterns elsewhere after fixing
- Document in
.agent/brain/bugs/
How to Execute
Follow step by step.
See for input/output examples.
Before submitting, run .
resources/execution-protocol.mdresources/examples.mdresources/checklist.mdSerena MCP
- : Locate the function
find_symbol("functionName") - : Find all usages
find_referencing_symbols("Component") - : Find similar issues
search_for_pattern("error pattern")
Serena Memory (CLI Mode)
See .
../_shared/memory-protocol.mdReferences
- Execution steps:
resources/execution-protocol.md - Code examples:
resources/examples.md - Checklist:
resources/checklist.md - Error recovery:
resources/error-playbook.md - Bug report template:
resources/bug-report-template.md - Common patterns:
resources/common-patterns.md - Debugging checklist:
resources/debugging-checklist.md - Context loading:
../_shared/context-loading.md - Reasoning templates:
../_shared/reasoning-templates.md - Context budget:
../_shared/context-budget.md - Lessons learned:
../_shared/lessons-learned.md