debug-n-fix
Diagnose a bug and implement the fix. Confirms root cause before making changes, then verifies with the relevant tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Diagnose a bug and implement the fix. Confirms root cause before making changes, then verifies with the relevant tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | debug-n-fix |
| description | Diagnose a bug and implement the fix. Confirms root cause before making changes, then verifies with the relevant tests. |
| agent | debug |
| argument-hint | <symptom, error message, or failing test> |
Diagnose and fix the issue described in $ARGUMENTS.
Follow the same investigation steps as debug-only:
Do not start writing code until the root cause is confirmed. If the bug cannot be reproduced or evidenced, stop and report the attempted reproduction path, unconfirmed hypotheses, and the evidence needed next.
Use this classification before editing:
Do not fix an unconfirmed hypothesis unless the user explicitly asks for a speculative hardening change. A passing test after the fix is not proof that the original bug was real unless the original failure was captured first.
Run a prompt or slash command on a recurring interval (e.g. /loop 5m /foo, defaults to 10m).
Launch and drive this project's app to see a change working. Use when asked to run, start, or screenshot the app.
Review changed code for reuse, quality, and efficiency, then fix any issues found.
Verify that a code change actually does what it's supposed to by running the app and observing behavior.
Help users add, configure, trust, authenticate, and troubleshoot MCP (Model Context Protocol) servers in ax-code. Use when the user asks about MCP setup, connecting external tools, OAuth flows for MCP, trust issues, or diagnosing MCP server problems.
Reduce duplication and dead code, improve module and component boundary clarity, and remove overengineering. Conservative by default - prefers small safe moves over sweeping rewrites.