bugfix
Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
One-touch install of Coral companion tooling and KB runtime
Install or remove coral HUD statusline
Use when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate.
Submit a bid or speech in an active --user discuss session
Use when code needs simplification — recently modified code by default, or a specified scope.
Use when a topic benefits from multiple perspectives debating before a decision.
| name | bugfix |
| description | Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix. |
| argument-hint | [--delegate] <bug description or error message> |
Diagnose bugs, plan fixes, and execute - end-to-end.
| Argument | Mode |
|---|---|
<prompt> | Self-execute on current host (default) |
--delegate | Delegate to the other host (Codex when current is Claude, Claude when current is Codex; current host comes from SessionStart Current host:) |
--delegate <prompt> | Same with prompt |
Strip the --delegate flag before passing the prompt to the execution path.
Diagnose:
Agent({ subagent_type: "coral:debugger", prompt: "--deep " + prompt }).
Wait for the agent to return its diagnosis in <Output_Format> structure.--delegate): Run coral-cli <other-host> debugger -i "<--deep prompt>" --work-dir "<work_dir>" -d (<other-host> = Codex if current is Claude; Claude if current is Codex).
Capture job from Job <job> <launchState> (session <session>), then run coral-cli wait jobs <job> --embed → the terminal output always includes Result path: <path>; read that path for the full artifact and treat inline preview text as optional convenience for findings.
On error, stop with the error message.
Verify cited file:line references. Drop findings with incorrect references.Record diagnosis: Write the diagnosis to CORAL_PROJECT/plans/debug-{short-bug-description}.md
using the debugger's output format (Symptom, Reproduction Path, Hypothesis Log, Root Cause, Fix Specification).
Gate on hypothesis verdicts:
Plan fix: Invoke Skill({ skill: "coral:plan", args: (if --delegate: "--delegate ") + "round=3 --no-handoff fix-{short-bug-description}" }).
The plan references CORAL_PROJECT/plans/debug-{short-bug-description}.md for diagnosis context.
Plan should include: what to change, why, and how to verify the fix.
Execute fix: Invoke Skill({ skill: "coral:ralph", args: (if --delegate: "--delegate ") + "implement the plan from step 3" }).
Project validation: If project instructions define workflow rules (e.g., review gates, post-implementation steps), follow them.