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.
Debug sistematico in 4 fasi: comprendere l'errore, formulare ipotesi, testare una modifica alla volta, risolvere con sicurezza. Attivalo quando i test falliscono in modo imprevisto, si verificano errori, il comportamento è sbagliato o qualcosa che funzionava prima ora non funziona più. Si attiva su: "debug", "perché non funziona", "fallimento del test", "errore imprevisto", "bug", "rotto". Fonte: jwilger/agent-skills.