/dev:fixfrom dev
Use when fixing a specific bug, small tweak, lint error, or compilation error. Also use when the user says "fix this", "fix that bug", "make it work", or any variation of wanting a specific issue resolved quickly. Do NOT use for: a full green-the-repo verification sweep (the project's verify skill); a well-scoped implementation task that needs a plan (task skill); a multi-file feature that needs a spec (feature skill); or a large/architectural change (build skill).
Ships in dev. 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.
None: SKILL.md is the whole skill.
Quick bug-fix pipeline: diagnose the root cause, get the diagnosis approved, then fix and verify. Skips the spec and plan phases — but keeps the diagnosis approval gate, because an unapproved fix that treats the wrong cause wastes more time than the gate costs.
Announce: "Using /dev:fix to resolve this issue. I'll diagnose the root cause first and get your approval before changing any code."
Verifying and landing the fix go through the project's verify and git-workflow skills
(${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/contracts.md). If either is missing, say so
before you start — /dev:setup writes verify, /git:setup writes git-workflow — rather than diagnosing a bug you cannot then land.
The bug is the scope, so the task comes first: when git-workflow → start requires every change
to sit on a task and the work is not on one, tell the user which task you are opening and run
start before the first edit — diagnosis already edits (logging, the red-first test).
Check these in order against the work in front of you:
| The change… | Use instead |
|---|---|
| touches 3+ packages (excluding test files), OR changes a public contract (an exported signature, endpoint shape, or DB schema), OR diagnosis reveals a design flaw (the bug is the design, not a slip) | /dev:task — or /dev:feature if it also needs a spec (unclear requirements / multiple valid approaches) |
| is a clearly-scoped implementation unit (add an endpoint, create a component, refactor a module) with no bug to diagnose | /dev:task |
| is a new subsystem / architectural change spanning 8+ files with design trade-offs | /dev:build |
| is "make the whole repo green" / run all checks, with no single bug identified | the project's verify skill |
Everything else — one identified defect, small tweak, lint or compile error — stays here.
WHY this boundary is structural, not size-in-hours: a model cannot estimate "how long" reliably, but it CAN count packages, spot a changed export, and recognize when the fix is really a redesign. Escalating there keeps a fix from silently becoming an unplanned architecture change (see "Escalate mid-fix" below — this same test applies if you only discover the blast radius while diagnosing).
Prove the cause; do not guess. Run these phases strictly in order — you cannot understand a bug you haven't isolated, and you can't isolate one you can't reproduce. Do not skip ahead to a fix.
Narrow to the smallest failing unit: which file, which function, which line.
git blame on the failing line: was it changed recently, or did a dependency bump land near it?git blame / the surrounding code if unclear)?You do not leave Phase 3 until you can name the root cause in one sentence. That sentence is what the user approves in Step 2 and what the applicable test evidence supports.
Before Phase 4, classify the defect using ${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/defect-classification.md and record the category for Step 2. Review discovery does not change the category.
The failing test is your proof that Phase 3 is right — it is the last thing you do before the approval gate.
CLAUDE.md).${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/test-requirements.md; the mandatory categories bind wherever the fix touches them) and what will discharge it, then write that after approval.Do not edit any production code until the user approves the diagnosis. This gate exists because the user wants to read the root cause and sign off on the proposed fix before anything changes — a fix aimed at the wrong cause is worse than no fix.
Present all of this in one message, using the 4-part question format (re-ground → simplify → recommend → options) from ${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/socratic-protocol.md:
Classify the reply against the canonical approval whitelist — feedback is never approval; the default classification for ANY reply is feedback. Run the gate exactly as written in ${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/approval-gate.md.
While the fix is the only outstanding work, run scoped checks on what you touched — not the full protocol (that wastes tens of minutes mid-fix). Run the verify skill's scoped mode — it owns the exact commands and how scope is derived from the changed paths. Fix every scoped failure.
Then run prune over the fix — name the files you changed and say it is an implementation run — and run the scoped checks again. It was green a moment ago and nothing else touched the tree, so anything red now is prune's, and the remedy is to put the deletion back. Only then go to Step 5.
Invoke the project's verify skill and run its full protocol exactly as written there — it is the single authoritative step list. verify defines the protocol; fixing every error it surfaces is this skill's job — do not hand failures back to the user while any remain fixable.
After verification passes, commit → push → ready-for-review → PR changeset → tracker comment → confirm → completion options, without pausing to ask, each command from the project's git-workflow. Step 1c verifies the branch is on its remote before reporting done — do not claim "pushed" until it is. Your Step 2 diagnosis approval is the authorization for these finalization steps; the standing "don't change code without asking" preference governs the pre-implementation gate, NOT this finalization. WHY source for the changeset and tracker text = the approved diagnosis (the bug and its root cause). Run it exactly as written in ${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/post-pipeline.md.
An attempt = one distinct hypothesis about the cause, implemented and tested. Re-editing the same hypothesis (tweaking the same fix that failed) is NOT a new attempt — it's the same strike.
After 3 distinct hypotheses fail, STOP. You are treating a symptom, not the cause — a 4th variation of the same wrong idea won't help. Do this instead:
git blame for recent changes in the affected area.Between the approved diagnosis and a green fix, run autonomously — the approved diagnosis is your boundary. The one thing that stops you: discovering the fix is bigger than the diagnosis assumed — it meets a trigger from the "When NOT to use" table (3+ packages, a changed public contract, or a design-flaw root cause). That is a novel, material problem the diagnosis didn't settle, so surface it per ${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/escalation-protocol.md (problem + evidence + options + recommendation) rather than either pushing through silently or guessing at the redesign:
"This is bigger than the approved fix — it [touches N packages / changes the X contract / the root cause is a design issue in Y]. Options: A) upgrade to
/dev:taskfor proper planning; B) [narrower fix that stays in the current blast radius, if one exists]; C) [other]. I lean A because …"
WHY: a fix that quietly grows into a redesign skips the planning and approval that a change that size requires. Catching it mid-fix is expected — the blast radius often only becomes visible during diagnosis.
Each row: the trap, why it burns you, and what to do the moment you catch yourself.
| If you catch yourself… | Why it's a trap | Recover by |
|---|---|---|
| Editing production code before the Step 2 diagnosis is approved | You may be fixing the wrong cause; the user hasn't seen your reasoning | Revert the edit, finish the diagnosis, present the Step 2 gate |
| Applying a fix before you can state the root cause in one sentence | A fix without a cause is a guess; it hides the real bug | Go back to Phase 3; do not fix until the sentence exists |
| Fixing a symptom while the real bug is elsewhere | The symptom returns via another path; you've added noise | Re-run Phase 2 (Isolate) at the boundary one layer up |
| Making the same class of change a 3rd time ("maybe THIS will work") | You're out of hypotheses on this theory — variations won't converge | Invoke the 3-strike rule: stop, reset assumptions, escalate with evidence |
| The fix now spans 3+ packages or changes a public contract | It's no longer a fix; it's unplanned architecture | Escalate to /dev:task (or /dev:feature) — see "Escalate mid-fix" |
| Thinking "this is probably fine" without running verification | "Probably" is not evidence; green is | Run scoped checks (Step 4), then the full verify protocol (Step 5) |
${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/defect-classification.md — read before Phase 4: classify the defect before deciding whether red-first applies.${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/approval-gate.md — read when running the Step 2 gate: the canonical whitelist and the feedback-is-default loop.${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/socratic-protocol.md — read when composing the Step 2 diagnosis message: the 4-part question format.${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/escalation-protocol.md — read when escalating mid-fix: the problem + options + recommendation format for a novel problem the diagnosis didn't settle.${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/test-requirements.md — read at Phase 4: what must be protected, what may discharge it, and the red-first policy.${CLAUDE_PLUGIN_ROOT}/skills/prune/SKILL.md — read at Step 4: the subtractive pass over the fix, between the two scoped runs.verify skill — scoped mode at Step 4, the full protocol at Step 5.${CLAUDE_PLUGIN_ROOT}/skills/pipeline/references/post-pipeline.md — read at Step 6: commit → push → ready-for-review → PR changeset → tracker flow and its auto-run authorization; the commands come from the project's git-workflow.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kedrzu/skills --plugin dev15 skills in this plugin
/buildUse for large features, new subsystems, architectural changes, or cross-cutting work that introduces new patterns or requires significant design decisions. Examples: adding a new actor system, redesigning the auth layer, building a new app module from scratch, or any work spanning 8+ files with architectural trade-offs. Do NOT use for: bug fixes or one-file tweaks (/dev:fix), a well-scoped single unit of work with no spec needed (/dev:task), a medium multi-file feature that fits one spec+plan without architecture-level design (/dev:feature), or building a closed design from docs/design/<slug>/ (/dev:deliver). When unsure between /dev:feature and /dev:build, the deciding signal is architectural design work, not file count./deliverBuild a closed design from `docs/design/<slug>/` in one run on one tracker issue: agree a high-level overview of the work, implement it milestone by milestone — each milestone something the user can see and try, not read — stop to bring back every gap, divergence or better idea the design did not settle, and land the whole thing as one PR (a stacked chain only where the project's `git-workflow` uses stacks). Use whenever the user wants a design folder built — "implement design X", "roll out X from the design", "build docs/design/<slug>", "do what we have in the design", a handoff from /dev:design — even if they do not name this skill. Do NOT use to write or change a design (/dev:design), for large work with no design folder (/dev:build designs it itself), to turn a design into tracker issues, or to fan many tasks out across worktrees.