bugfix

Solid

Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix.

AI & Automation 11 stars 2 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Bug Debugging Diagnose bugs, plan fixes, and execute - end-to-end. ## Argument Routing | 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. ## Execution 1. **Diagnose**: - **Self-execute (default)**: Spawn `Agent({ subagent_type: "coral:debugger", prompt: "--deep " + prompt })`. Wait for the agent to return its diagnosis in `<Output_Format>` structure. - **Delegate (`--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. 2. **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, Fi...

Details

Author
kangig94
Repository
kangig94/coral
Created
5 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category