What problem does it solve?
The code-debug skill helps you pinpoint the root cause of broken behavior when you know something is failing but do not yet know where or why.
Core Features & Use Cases
- Reproduction-first diagnosis: Collect symptoms, triggers, environment details, and reproduction status before forming conclusions.
- Layered triage: Narrow the search space from symptom surface to system scope to code scope.
- Ranked root-cause hypotheses: Maintain up to three live, evidence-backed hypotheses and verify them one-by-one.
- Evidence-backed diagnosis reporting: Produce an impact assessment, ruled-out hypotheses, confidence level, and a minimal repair direction without implementing code fixes.
- Debug-to-evolution handoff: Confirm the diagnosis is strong enough before switching to code-evolution when the user wants the fix.
Quick Start
Ask the AI to reproduce the failure, triage the suspicious scope, rank likely root causes with evidence, and produce a diagnosis report before proposing code changes.