--- name: debug aliases: ["/debug", "investigate failure", "diagnose issue", "fix the bug"] primaryRole: debugger description: Reproduce or inspect a failure, isolate root cause, and validate a fix. --- # Debug Skill (oh-my-product) Use this skill for regressions, failing tests, broken CLI behavior, or suspicious state. ## Debug loop 1. Reproduce the problem or gather the smallest failing evidence. 2. Narrow the cause with file, command, and output evidence. 3. Apply the minimum credible fix. 4. Re-run the relevant validation. ## Expected output - failure summary - root cause - files touched - validation evidence - residual risk