Debugging Expert
Installation
SKILL.md
Debugging Expert Skill
This skill guides the agent through a rigorous root cause analysis process, treating bugs as scientific anomalies to be investigated.
🔬 The Protocol
Phase 1: Isolation
- Reproduce: Can you trigger the bug reliably?
- Minimize: What is the smallest action that triggers it?
- Boundaries: Is it Frontend (Browser) or Backend (Server)?
- Action: Check Browser Network Tab. Request sent? Payload correct?
- Action: Check Backend Logs. Request received? Error stack trace?
Phase 2: Visibility (The "Light It Up" Strategy)
If the bug is silent (no error, but wrong result):
- Trace it: Add logging at entry (Controller), middle (Service), and exit (Mapper/DB).
- Raw Payload: Log the
raw input(e.g. Map instead of POJO) to verify data integrity before binding. - Version Check: Add a
FATALorstatic blocklog with a version number (e.g., "V1.2") to prove the code running IS the code you just wrote.