Diagnose a reproducible failure, fix its cause, and verify the regression. Use for crashes, incorrect behavior, and failing tests.
64
75%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/oma-debug/SKILL.mdReproduce, 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/Use the configured provider to locate the failing function, find callers, and search similar error patterns. Native search and scoped reads are supported fallbacks; see the shared capability contract.
Local code tools: ../_shared/core/code-intelligence.md (code search/navigation)
Execution steps (follow for the selected task): resources/execution-protocol.md
Checklist (pre-submit self-verification): 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 (investigation guide, used during Steps 1-2): resources/debugging-checklist.md
Context loading: ../_shared/core/context-loading.md
Context budget: ../_shared/core/context-budget.md
Lessons learned: ../_shared/core/lessons-learned.md (matching prior failure or requested retrospective)
Observability handoff: ../oma-observability/SKILL.md §Integrations — traces/logs by trace_id, 6-dim forensics
580da66
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.