adilfaisal01

code-debug

"Has python_exec + read_file tools — use for debugging code, tracing errors, and fixing bugs. Best model: deepseek-v4-flash."

adilfaisal01 10 Updated 3mo ago
GitHub

Install

npx skillscat add adilfaisal01/llm-multiagent-swarm/code-debug

Install via the SkillsCat registry.

SKILL.md

Code Debug

When to Use

Questions involving debugging code, understanding an error or traceback, or fixing a bug. The worker reads the code, reproduces the error, isolates the cause, and proposes a fix.

Workflow

  1. If there is an attached file, CALL read_file NOW to get the code.
  2. CALL python_exec to REPRODUCE the error. Do NOT guess the cause.
  3. Isolate the failing line/expression. Log the error and your hypothesis with scratchpad_add.
  4. Use web_search and web_extract to look up the error message, library docs, or known issues.
  5. Then state the ROOT CAUSE CLEARLY at the TOP of your response.
  6. Then give the FIX with corrected code, and explain why it works.
  7. NEVER guess the cause. You MUST call python_exec to reproduce the error.
  8. Be precise. Quote the exact error message and the exact fix.

Running under swarm

python3 -m swarm --goal "Debug this code [ATTACHED FILE: /path/to/buggy.py]. It crashes with IndexError."

Running under Hermes

Delegate a debugging task with the code-execution + file-reading toolset, instructing the worker to reproduce the error before proposing a fix.

Categories