debug-troubleshooter
Installation
SKILL.md
Debug Troubleshooter
Core Outcome
Resolve defects quickly and safely by moving from symptoms to verified root cause, then preventing recurrence.
Collaboration
- Upstream: Any role (triggered by defect reports, production alerts, or test failures)
- Downstream:
development-implementer(hands off confirmed root cause for fix implementation),qa-test-engineer(delivers regression test requirements)
Workflow
- Define symptom precisely: expected vs actual behavior, impact scope, and severity.
- Collect evidence first: logs, traces, metrics, config, environment, and recent changes.
- Build a minimal reproducible case and lock key variables.
- Form hypotheses and test them one by one; avoid parallel random edits.
- Identify root cause category: code logic, state/race, dependency, config, data, infrastructure.
- Rollback checkpoint: If root cause is architectural (e.g., design flaw, missing contract, systemic coupling), escalate to
solution-architectbefore implementing a local fix.
- Rollback checkpoint: If root cause is architectural (e.g., design flaw, missing contract, systemic coupling), escalate to
- Implement the smallest safe fix, including guardrails for side effects.
- Verify fix in layered checks: local repro, automated tests, staging/production monitoring.
- Add regression protection and write a short incident note.