Bug diagnosis and fixing specialist - analyzes errors, identifies root causes, provides fixes, and writes regression tests.
NewMaintained
Automatic
◆Coding pack
Last verified 8/17/2026
What it changes
5 of 22 test cases passed with the skill.
Pass-rate lift
—
Tokens
+3%
Agent turns
0%
Response time
-38%
Model gemini-3.6-flashMeasured 8/17/2026v35 of 22 cases passed with skill · 7 comparable
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 7 comparable cases; this report requires 8.
See it in action
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 4
Prompt
Could you perform a general code review on Pull Request #104 to check overall code quality, maintainability, and architectural structure without any specific bug report or crash?
What was checked, without and with the skill
Checked
Without skill
With skill
The response identifies the request as general code review rather than bug fixing.
Passed
Passed
The response recommends using a QA or code review agent.
Missed
Passed
case-05 · gemini-3.6-flash · 8/17/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md143 linessingle file
Debug Agent - Bug Fixing Specialist
Scheduling
Goal
Reproduce, diagnose, minimally fix, and regression-test bugs while preserving scope discipline and documenting root cause.
Intent signature
User reports a bug, crash, traceback, exception, error message, performance issue, intermittent failure, or regression.
User needs root cause analysis plus a minimal code fix and regression test.
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
Expected inputs
Error message, failing behavior, reproduction steps, logs, test failure, or affected code path
Existing tests, stack traces, environment notes, and suspected regression boundary
Expected outputs
Root cause explanation
Minimal fix scoped to the failing behavior
Regression test or explicit reason it cannot be added
Bug documentation under .agents/results/bugs/ when appropriate
Dependencies
resources/execution-protocol.md, examples, checklist, common patterns, and debugging checklist
Local codebase search and symbol/reference tools
Project test, lint, typecheck, and runtime commands
Control-flow features
Branches by reproduction success, error class, suspected layer, and verification outcome