Bug diagnosis and fixing specialist - analyzes errors, identifies root causes, provides fixes, and writes regression tests. Use for bug, debug, error, crash, traceback, exception, and regression work.
Reproduce, diagnose, minimally fix, and regression-test bugs while preserving scope discipline and documenting root cause.
.agents/results/bugs/ when appropriateresources/execution-protocol.md, examples, checklist, common patterns, and debugging checklist| Action | SSL primitive | Evidence |
|---|---|---|
| Reproduce failure | CALL_TOOL | Test/runtime/log command |
| Search affected code | READ | Code, tests, symbols, references |
| Compare similar patterns | COMPARE | Pattern search |
| Infer root cause | INFER | Diagnostic reasoning |
| Write minimal fix | WRITE | Code patch |
| Write regression test | WRITE | Test patch |
| Verify behavior | VALIDATE | Tests/checks |
| Report result | NOTIFY | Root-cause summary |
rg "<error-message-or-symbol>"
rg --filesThen run the smallest reproduction command first, add a regression test, and re-run the failing check plus related tests.
| Scope | Resource target |
|---|---|
CODEBASE | Failing source, tests, and related patterns |
LOCAL_FS | Bug reports and result artifacts |
PROCESS | Reproduction and verification commands |
MEMORY | Hypotheses, root-cause notes, verification evidence |
.agents/results/bugs/..agents/results/bugs/find_symbol("functionName"): Locate the functionfind_referencing_symbols("Component"): Find all usagessearch_for_pattern("error pattern"): Find similar issuesFollow resources/execution-protocol.md step by step.
See resources/examples.md for input/output examples.
Before submitting, run resources/checklist.md.
Vendor-specific execution protocols are injected automatically by oma agent:spawn.
Source files live under ../_shared/runtime/execution-protocols/{vendor}.md.
resources/execution-protocol.mdresources/examples.mdresources/checklist.mdresources/error-playbook.mdresources/bug-report-template.mdresources/common-patterns.mdresources/debugging-checklist.md../_shared/core/context-loading.md../_shared/core/reasoning-templates.md../_shared/core/context-budget.md../_shared/core/lessons-learned.md3021301
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.