Help us improve
Share bugs, ideas, or general feedback.
Enforces a structured bug-fix workflow: reproduce, isolate, apply smallest fix, and verify. Helps investigate errors, debug crashes, and make failing tests pass.
npx claudepluginhub bravekingzhang/agent-coding-playbook --plugin agent-coding-playbookHow this skill is triggered — by the user, by Claude, or both
Slash command
/agent-coding-playbook:acp-bug-fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user asks you to fix a bug, investigate an error, or explain why something is failing.
Root cause based one-shot bug fix. Runs a full investigation pipeline: debugger diagnosis, gap analysis, requirements generation, execution, and verification. Includes QA suggestions after successful fix.
Share bugs, ideas, or general feedback.
Use this skill when the user asks you to fix a bug, investigate an error, or explain why something is failing.
The goal is not to guess the cause quickly.
The goal is to reproduce, isolate, fix, and verify.
Before changing code, identify:
If the bug report is vague, ask for the missing reproduction details.
Do not fix a bug that has not been reproduced or clearly reasoned about.
Prefer one of these reproduction forms:
If reproduction is impossible in the current environment, state that clearly.
Before editing, explain the likely root cause.
For non-trivial bugs that span multiple files, use the Explore subagent to locate suspect call sites without polluting the main session, then read only the files actually implicated.
Good root cause statements look like:
The crash happens because `user.profile` can be null, but `renderAvatar` reads `user.profile.avatarUrl` without a null check.
Bad root cause statements look like:
This is probably a state issue.
Be specific.
Fix the bug with the smallest safe change.
Do not:
Every changed line must be related to the bug.
Run the most relevant checks available:
If checks cannot be run, explain why.
At the end, summarize:
Root cause:
- ...
Changed:
- ...
Verified:
- ...
Not verified:
- ...
Risk:
- ...
Stop and ask for human confirmation if the bug fix touches: