Value: Feedback -- systematic investigation produces understanding. Understanding produces correct fixes. Correct fixes prevent recurrence. Skipping investigation produces symptom fixes that hide bugs.
Teaches a disciplined 4-phase debugging process that enforces root cause analysis before any fix attempt. Prevents the most common debugging failure mode: jumping to a fix without understanding why the problem exists.
Never change code to fix a bug until you have completed root cause investigation. When you see an error and immediately know the fix, that is exactly when you are most likely to be wrong. Investigate first.
Débogage systématique en 4 phases : comprendre la panne, formuler des hypothèses, tester une modification à la fois, corriger en toute confiance. Activez-le lorsque les tests échouent de manière inattendue, que des erreurs se produisent, que le comportement est incorrect ou que quelque chose qui fonctionnait auparavant est désormais défectueux. Se déclenche sur : "débogage", "pourquoi cet échec", "échec du test", "erreur inattendue", "bug", "cassé". Source : jwilger/agent-skills.