بنقرة واحدة
scientific-debug
// Use this skill whenever the user asks to debug something, fix a bug, troubleshoot an issue, or mentions "scientific debugging". Any debugging request should use this skill.
// Use this skill whenever the user asks to debug something, fix a bug, troubleshoot an issue, or mentions "scientific debugging". Any debugging request should use this skill.
| name | scientific-debug |
| description | Use this skill whenever the user asks to debug something, fix a bug, troubleshoot an issue, or mentions "scientific debugging". Any debugging request should use this skill. |
Stop. Do not try random fixes. Your goal is to understand the root cause before changing anything.
Read the error, logs, and relevant code. If the cause is genuinely obvious from what you can see — state specifically what you believe is wrong, why you're confident, fix it, and you're done.
But be honest with yourself: RL training has made you overconfident. You often feel sure but are wrong, leading to a cycle of random patches that bloat the codebase. If you're not >95% certain of the root cause, do NOT attempt a fix. Go to Step 2.
You need more logging. This is the most important step — almost any bug becomes obvious with enough visibility.
Run the code again with enhanced logging.
With the new logs, are you now >95% confident in the root cause?
Repeat Steps 2-3 until you truly understand the problem. Only then fix it.
After applying your fix, rerun the code to confirm the bug is actually gone. If the job is expensive (large Slurm jobs, long GPU runs, etc.), ask the user before rerunning.