بنقرة واحدة
debug
Root-cause analysis — isolate regressions, interpret stack traces, and resolve build/compilation errors
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Root-cause analysis — isolate regressions, interpret stack traces, and resolve build/compilation errors
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage OMA skills — list, add, remove, search, and edit skills
Socratic deep interview with mathematical ambiguity gating before autonomous execution
Remove AI slop - low-quality, generic, or verbose content. Use for "clean up", "remove fluff", and "make concise".
Consensus planning - agree before executing. Use for "ralplan", "consensus", "pre-execution review".
Setup routing and environment configuration. Use for "setup", "configure", and "get started".
N coordinated agents on shared task list using Claude Code native teams, with git worktree isolation per executor
| name | debug |
| description | Root-cause analysis — isolate regressions, interpret stack traces, and resolve build/compilation errors |
| argument-hint | <error message or bug description> |
| trigger | /oma:debug |
| level | 2 |
<Use_When>
<Do_Not_Use_When>
<Why_This_Exists> Blind fixing wastes cycles. Debug applies structured root-cause analysis so fixes are targeted and regressions are prevented. </Why_This_Exists>
<Execution_Policy>
For each hypothesis, gather evidence FOR and AGAINST:
## Hypothesis: <H1 description>
**Evidence FOR:**
- <fact from code/output/logs>
**Evidence AGAINST:**
- <fact that contradicts>
**Verdict:** [CONFIRMED / DISPROVED / UNCERTAIN]
git bisect if regression range is known<Tool_Usage>
Bash to run reproduction commandsRead to examine affected codeGrep to trace symbol referencesgit bisect for regression isolation
</Tool_Usage>Evidence AGAINST:
Verdict: DISPROVED — the issue is file-scoped, not version-wide
</Good>
<Bad>
"Probably a dependency issue. Let's reinstall node_modules."
Why bad: No evidence, no hypothesis testing. Random shooting.
</Bad>
</Examples>
<Escalation_And_Stop_Conditions>
- If root cause is external (OS, hardware, upstream bug): report and stop
- If the fix requires more than isolated changes: escalate to ralph/team
- If bisect takes more than 10 steps: narrow scope first
</Escalation_And_Stop_Conditions>