---
description: 'Diagnoses broken behavior systematically with a 4-phase root-cause loop: test failures, runtime errors, crashes, regressions. Never patches symptoms. Trigger for ''it is not working'', ''something broke'', ''this used to work'', ''I am getting an error'', ''CI is failing'', ''why is X happening''. Not for adding tests; use /ai-test instead. Not for security findings; use /ai-security instead.'
mirror_family: opencode-commands
generated_by: ai-eng sync
canonical_source: .claude/skills/ai-debug/SKILL.md
edit_policy: generated-do-not-edit
---

Use the `ai-debug` skill to handle this request. OpenCode will lazy-load the canonical skill body via the `skill` tool; arguments below are forwarded verbatim.

$ARGUMENTS
