From vgv-wingspan
Applies a minimal, targeted fix for emergency bugs with enforced testing and review, skipping planning phases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vgv-wingspan:hotfix bug description, issue link, or error messagebug description, issue link, or error messageThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply a minimal, targeted fix fast. No brainstorm document, no plan document — but tests and review are still non-negotiable.
Apply a minimal, targeted fix fast. No brainstorm document, no plan document — but tests and review are still non-negotiable.
<bug_description>$ARGUMENTS</bug_description>
If the bug description above is empty, ask the user: "What's the bug? Paste a description, issue link, or error message."
DO NOT proceed until you have a bug description.
Summarize the bug in one sentence. Identify:
Run a focused codebase exploration to find the problem area:
After the agent returns:
If the root cause is unclear after exploration, use AskUserQuestion to ask the user for additional context before proceeding.
Set up a hotfix branch. Unlike normal feature branches, hotfix branches use the hotfix/ prefix.
Run:
git rev-parse --abbrev-ref HEAD
If already on a hotfix/ branch: skip silently.
Otherwise: infer a branch name in the format hotfix/<kebab-slug> where the slug is derived from the bug description (max 60 characters total). Use AskUserQuestion to confirm:
git checkout -b hotfix/<slug>Before writing any code, outline which files and layers the fix touches.
If >5 files, multiple layers, or new abstractions needed: warn the user and use AskUserQuestion: (1) Proceed with hotfix, (2) Switch to /plan.
If contained (≤5 files, single layer): proceed directly.
Write the minimal change that addresses the root cause. Change only what is necessary — no drive-by refactors. If you touch unrelated code, stop and flag scope creep. Leave // TODO(hotfix): <description> comments for out-of-scope issues. Match surrounding code style.
Tests are non-negotiable, even for hotfixes:
Follow the validation and fix procedure.
// TODO(hotfix): <description of known limitation and its severity> comment in the code and note it in the PR description. The goal is to stop the bleeding, not achieve perfection.Run review agents in parallel to validate the fix. Use a reduced set — speed matters, but quality is non-negotiable.
Each agent prompt must include the review agent instructions with REPORT_DIR set to docs/hotfix-review/.
The 2 agents and their report filenames:
| Agent | Report file |
|---|---|
| @vgv-review-agent | docs/hotfix-review/vgv-review.md |
| @test-quality-review-agent | docs/hotfix-review/test-quality-review.md |
Follow the review consolidation procedure: fix critical issues, present important issues to the user, and record suggestions.
Remove review reports after findings are addressed:
rm -rf docs/hotfix-review/
Run the project's formatter, linter, and test runner one last time. Fix any failures before proceeding.
Create a single, cherry-pick-friendly commit. Stage only fix-related files (no unrelated changes). Use this commit format:
fix: <concise description of what was fixed>
<Root cause explanation in 1-2 sentences>
Bug: <original bug description or issue link, truncated if long>
Push the branch and create a PR. Title: fix: <concise description> (under 70 chars). Body: Use the PR template.
Use AskUserQuestion to present options:
/plan → /build.hotfix/ prefix, not fix/. Other skills use fix/ — do not mix them.docs/hotfix-review/ already exists from a previous interrupted hotfix, delete it before running Phase 4 to avoid stale reports contaminating the review./plan → /build.npx claudepluginhub verygoodopensource/very-good-claude-code-marketplace --plugin vgv-wingspanFinds and fixes bugs: default careful mode reproduces, investigates, tests changes; --fast mode creates hotfix branch from production, minimal fix, ships PR.
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.
Analyzes urgent production defects: builds reproduction paths, performs root cause analysis with 5 Whys, defines minimal safe fix boundaries, syncs status, hands off to hf-test-driven-dev. For hotfix scenarios excluding code changes.