From debug-fix
Finds and fixes bugs: default careful mode reproduces, investigates, tests changes; --fast mode creates hotfix branch from production, minimal fix, ships PR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/debug-fix:debug-fix [issue, error, or description] [optional: --fast][issue, error, or description] [optional: --fast]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Find and fix the following issue:
Find and fix the following issue:
Problem: $ARGUMENTS
Check $ARGUMENTS for --fast. Strip it before parsing the problem description.
hotfix/* branch from production, minimal-change discipline, critical-tests-only verification, and ships a [HOTFIX] PR. Before committing to fast mode, briefly confirm with the user that this is genuinely emergency-grade. If not, suggest dropping --fast.gh issue view $ARGUMENTS (or the project's issue tracker).If unclear, ask clarifying questions before proceeding.
In --fast mode only:
git symbolic-ref refs/remotes/origin/HEAD or git remote show origin.hotfix/<short-description> branched from production.In default mode, skip this. Branch creation happens in Step 7.
In --fast mode, skip this step. Trust the report and move to Step 5.
git log for recent commits mentioning the issue.In --fast mode, skip this and go to Step 5. Trust the report and minimize investigation depth.
Don't skip ahead to guessing:
git log --oneline -20 -- <file>, git log --all --grep="<keyword>".git bisect or targeted grep.In --fast mode specifically:
Default:
--fast:
Default:
fix: <what was wrong and why> (#number).--fast:
hotfix: <short description>. ASK the user to confirm.git push -u origin hotfix/<description>.[HOTFIX] <description>.hotfix label: gh pr create ... --label hotfix. Fall back to no label on failure.--fast mode (branch name, commit message, push).--fast mode specifically: if the fix turns out to be complex, tell the user and suggest dropping --fast to use the careful path.npx claudepluginhub poshan0126/dotclaude --plugin debug-fixApplies a minimal, targeted fix for emergency bugs with enforced testing and review, skipping planning phases.
Step-by-step bug fix workflow: diagnose root cause, implement minimal fix, write regression test. Use when fixing bugs or working on bug report issues.
Diagnose and fix a bug in an isolated git worktree with reproduce-first, test-first methodology