Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Debug?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hbrancalhao-debug)
---
name: debug
description: Investigate an error or unexpected behavior, identify the root cause, and coordinate a minimal verified fix. Use for "$debug" requests.
---
# Debug workflow
Treat the text after `$debug` as the error, stack trace, or reproduction report.
1. Spawn `bug-investigator` with the complete report and context pack. Require its structured root-cause analysis before editing.
2. Present the cause, affected files, confidence, and lowest-risk fix. Ask for missing reproduction details before guessing.
3. When implementation is requested, give the confirmed diagnosis to `implementer`; require a regression test and scoped validation.
4. Run `qa-runner`, then `code-reviewer` on the resulting diff.
5. Report cause, changed files, regression coverage, validation, and any remaining risk.