Structured bugfix workflow from reproduction through verified fix. Guides reproducing bugs, writing failing tests, root cause analysis, minimal fixes, and documenting on tickets.
Ships in bugfix-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Core philosophy: reproduce before you fix, verify after you fix, link everything to the ticket.
gh issue … / gh pr … below are the GitHub reference. Translate to your
tracker per .agents/profile.md § Project systems (jira / gitlab-issues /
azure-boards / linear) and your code host's CLI per .agents/workflow.md
(GitLab glab, Azure DevOps az repos, Bitbucket bb, Gitea tea). If scout
hasn't recorded them, ask before assuming GitHub.
1. Read & understand the bug
2. Reproduce
3. Write a failing test
4. Root cause analysis
5. Implement the fix
6. Verify
7. Document on ticket
gh issue view <N>. Identify expected vs actual behavior, files involved,
error messages, stack traces, related issues. Post a 🔧 **Investigating**
comment on the ticket so the reporter knows work has started.
Confirm the bug exists and understand the exact conditions that trigger it.
For the full method — UI / API / logic / intermittent attempts and the
CONFIRMED / CANNOT-REPRODUCE confirmation gate — use the reproducing-issues
skill. UI bugs → Playwright MCP snapshots. API bugs → curl. Logic bugs →
minimal reproducer script.
If you cannot reproduce, stop and ask. Do not proceed to fix a bug you cannot observe. Post what you tried and request more details.
Once reproduced, post a ✅ **Reproduced** comment with steps, expected,
actual, and frequency (always / intermittent).
Capture the bug as a regression test before fixing. Run it and confirm it fails — that's the whole point. A passing test for an unfixed bug means the test doesn't exercise the bug.
Trace the bug to its exact cause — for the full method (execution-path
tracing, root-cause classification, confidence, impact/regression analysis)
use the root-cause-analysis skill. Locate the code, trace execution from
entry point to failure, classify the cause (logic / data / concurrency /
config / integration / resource), and assess blast radius — what else uses
this code, could the fix break anything else?
Post a 🔍 **Root Cause** comment with location (file:line), cause, impact,
and fix approach.
Minimal, focused. Fix the root cause — only the root cause. Don't refactor neighboring code, don't clean up unrelated style, don't expand scope. A bug fix is not the place for improvements.
The failing test from step 3 now passes. Full test suite still passes. Lint and type checks clean. If anything fails, fix it before proceeding — don't ship a fix that breaks something else.
Post a ✅ **Fixed** comment with root cause summary, what changed, regression
test name, and PR number. Commit and open the PR. The completing-a-task skill
covers the full commit → PR → notify handoff.
All the gh issue comment heredocs, reproduction patterns, test templates,
and verification commands live in
references/commands.md. Load that file when you
need the exact template text.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
bugfix, workflow, reproduction, testing, verification, debugging
/bugfix-workflow:bugfix-workflowfrom bugfix-workflow
npx claudepluginhub arozumenko/sdlc-skills --plugin bugfix-workflowOther plugins' skills for the same job