Install
openclaw skills install skills-sh:lingzhi227/agent-research-skills/code-debuggingCode Debugging Systematically debug experiment code with structured error categorization and fix strategies. ## Input - $0 — Error message, stderr output, or code file with issues - $1 — Optional: the code that produced the error ## References - Debug patterns and state…
openclaw skills install skills-sh:lingzhi227/agent-research-skills/code-debuggingSystematically debug experiment code with structured error categorization and fix strategies.
$0 — Error message, stderr output, or code file with issues$1 — Optional: the code that produced the error~/.claude/skills/code-debugging/references/debug-patterns.md| Category | Examples | Severity |
|---|---|---|
| SyntaxError | Invalid syntax, indentation | Low |
| ImportError | Missing module, wrong name | Low |
| RuntimeError | Division by zero, shape mismatch | Medium |
| TimeoutError | Infinite loop, too slow | Medium |
| OutputError | Missing files, wrong format | Medium |
| LogicError | Wrong results, 0% accuracy | High |
For syntax/import errors: Direct fix, single attempt For runtime errors: Fix and rerun, up to 4 retries For logic errors: Reflect on approach, consider alternative methods For timeout: Reduce dataset size, optimize bottleneck, add early stopping
After fixing:
Stage 0 (first attempt) → repost code as fresh
Stage 1 (second attempt) → repost or leave depending on severity
Stage 2 (third attempt) → regenerate from scratch if still failing
9e6c085d65e3