fix-bug
Skill0 starsChanged 2 months agoMITView on GitHub
Fix a specific bug — diagnose the root cause, apply the fix, confirm the bug is actually gone, quality check, push, then hand off a PR. Lighter than ship-feature (no test-writer, no parallel stages, no ui-checker unless the bug is visual).
- Commits and pushes
21 other projects use a version of this.
Adopted by
Most recently taken up by
- tddworks/ClaudeBartheir own version, first seen Oct 5, 2026
- hawkyre/hawk-skillstheir own version, first seen Sep 28, 2026
- mthines/agent-skillstheir own version, first seen Sep 25, 2026
- mgiovani/cc-arsenaltheir own version, first seen Sep 25, 2026
- rmstdope/cerebrotheir own version, first seen Sep 24, 2026
- ConsolaDev/Consolatheir own version, first seen Sep 23, 2026
Used with
Projects with it also use implement-feature, changelog and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tddworksSkillimplement-feature
Guide for implementing features following architecture-first design, TDD, rich domain models, and Swift 6.2 patterns. Use this skill when: (1) Adding new functionality to a Swift app (2) Creating domain models that follow user's mental model (3) Building SwiftUI views that consume domain models directly (4) User asks "how do I implement X" or "add feature Y" (5) Implementing any feature that spans Domain, Infrastructure, and App layers
Also in 4 projects that use this
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 3 projects that use this
ElasticSkillcreate-skill
Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.
Also in 3 projects that use this
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- JetBrains/Exposed★ 9.3ksame name
- bytebase/dbhub★ 3.6ksame name
- tddworks/ClaudeBar★ 1.5ksame name
- danielvm-git/bigpowers★ 252same name
- tddworks/SkillsManager★ 168same name
- AlemTuzlak/skills★ 42same name
- hawkyre/hawk-skills★ 30same name
- nowsprinting/unity-coding-skills★ 20same name
- YehudaFrankel/clankbrain★ 16same name
- hellotern/Sextant★ 15same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- brainstormingSkill
- commit-messageSkill
- dev-verifySkill
- diff-reviewSkill
- env-doctorSkill
- git-workflowSkill
- refactorSkill
- ship-featureSkill
- workSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Follow git-workflow to create a fix/...
- Very specific: line 26
Use the commands it reports.
- Very specific: line 52
If the bug had a visual symptom, use dev-verify to hand the user a checklist confirming the fix, and wait for their answer.
- Very specific: line 69
Commit per commit-message — fix: ..., one line.
“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fix a bug
You're fixing the specific bug described in this skill's arguments.
Smaller than ship-feature — no parallel stages, no test-writer. Ends at a
pull request the user opens; you never merge to the base branch.
Step 0 — worktree
Follow git-workflow to create a fix/... branch in its own worktree off the
base branch.
Step 1 — detect the stack
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/detect-stack.py"Use the commands it reports. If ecosystem is unknown, ask the user.
Step 2 — diagnose
Launch the debugger subagent with the bug description. It reproduces the
issue and reports a root cause plus a recommended fix. It does not edit code.
If it says it couldn't reproduce the bug, stop and report that. Don't have
code-writer implement a fix for a cause nobody confirmed — you'd be changing
working code on a guess and calling the bug fixed.
Step 3 — fix
Launch code-writer with the debugger's root-cause report. It implements the
recommended fix, touches nothing unrelated, and must not weaken or delete any
test to make it pass.
Step 4 — confirm
Two separate things, and the second is the one that matters:
- The project's checks — run whatever Step 1 found (
test,lint,typecheck,build). Report exactly what ran; skip and name what's absent. - The actual bug — reproduce it the way the debugger did in Step 2 and confirm it's gone. Lint and build don't know what the bug was.
If the bug had a visual symptom, use dev-verify to hand the user a checklist
confirming the fix, and wait for their answer.
Step 5 — quality check
Launch code-quality-reviewer on the diff. If the bug was visual, also launch
ui-checker on the same diff — otherwise skip it.
A bug fix deserves one extra question: is this the root cause or the symptom? A fix that adds a null check where the null shouldn't have existed will pass every check here and leave the real bug in place.
Step 6 — decide
Fixed, and no blocking review feedback:
diff-reviewthe working diff.- Commit per
commit-message—fix: ..., one line. - Rebase onto the current base per
git-workflow, then push the branch. - Report and stop: root cause, what changed, what verification ran, and the
gh pr createcommand. The user opens the PR.
Still wrong: return to Step 2 with the new failure information, up to 2 total attempts. After that, stop and report the current state rather than retrying — this needs a human look. Leave the work on the branch.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

