fix-bug
Skill1 starsChanged 6 months agoMITView on GitHub
Diagnose and fix a bug methodically — reproduce, find root cause, write a failing test, fix, verify. Use when the user reports something broken or behaving incorrectly.
50 other projects use a version of this.
Adopted by
Most recently taken up by
- BG-Software-LLC/SuperiorSkyblock2their own version, first seen Nov 30, 2026
- pierrebelin/claude-code-toolkittheir own version, first seen Nov 29, 2026
- KonghaYao/peritheir own version, first seen Nov 29, 2026
- cano721/ai-harnesstheir own version, first seen Nov 29, 2026
- awcameron/skillstheir own version, first seen Nov 29, 2026
- rmstdope/cerebrotheir own version, first seen Nov 26, 2026
Used with
Projects with it also use improvement, build-feature and 9 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.
kiminmonacoSkillimprovement
Guide for making improvements to existing ClaudeBar functionality using TDD. Use this skill when: (1) Enhancing existing features (not adding new ones) (2) Improving UX, performance, or code quality (3) User asks "improve X", "make Y better", or "enhance Z" (4) Small enhancements that don't require full architecture design For NEW features, use implement-feature skill instead.
Also in 4 projects that use this
sirakinbSkillbuild-feature
Autonomous task loop that picks ready tasks, implements them, updates progress.txt, commits, and repeats. Use when asked to 'build feature', 'run the loop', or 'implement these tasks'.
Also in 7 projects that use this
SentrySkillwrite-tests
Write tests following project conventions. Use when adding new tests or modifying existing ones.
Also in 6 projects that use this
DockerSkillreview-changes
Review uncommitted or recently committed documentation changes for correctness, coherence, and style compliance. Use before creating a PR to catch issues. "review my changes", "review the diff", "check the fix before submitting", "does this look right".
Also in 4 projects that use this
JasonPaffSkillimplement-plan
Execute implementation plan with structured tracking and validation using subagent architecture
Also in 3 projects that use this
JetBrainsSkillcreate-plan
Research the codebase and create an implementation plan with architecture notes, design document, and track decomposition. Use when starting a new feature or large change.
Also in 4 projects that use this
Other versions50 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 50
- remix-run/react-router★ 57ksame name
- ktorio/ktor★ 15ksame name
- JetBrains/Exposed★ 9.3ksame name
- bytebase/dbhub★ 4ksame name
- The-OpenROAD-Project/OpenROAD★ 3.3ksame name
- tddworks/ClaudeBar★ 1.6ksame name
- Harry-kp/vortix★ 807same name
- Doist/todoist-ai★ 568same name
- torrust/torrust-tracker★ 539same name
- tddworks/asc-cli★ 405same name
40 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 repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- implement-featureSkill
- refactor-safelySkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 48 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use git log/git blame on the suspect lines — recent changes are prime suspects.
- Distinctive: line 31
Check for sibling bugs: the same mistake often repeats elsewhere in the codebase.
“Common” is measured: kept by at least 6 in 10 of the 48 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 Bug
Resist the urge to patch the symptom. Find and fix the cause.
1. Reproduce
- Get an exact reproduction: inputs, steps, expected vs. actual behavior.
- Reproduce it yourself (a failing test, a script, or running the app). If you can't reproduce it, you can't confirm a fix — say so and ask for details.
2. Localize
- Trace from the symptom back toward the source. Read the stack trace fully.
- Use
git log/git blameon the suspect lines — recent changes are prime suspects. - Form a hypothesis about the root cause and confirm it with evidence (logs, a debugger, a targeted print). Don't guess-and-edit.
3. Write a failing test
- Capture the bug as a test that fails now. This proves you understand it and
prevents regression (
rules/03-testing.md).
4. Fix the root cause
- Make the minimal change that addresses the actual cause, not the symptom.
- Check for sibling bugs: the same mistake often repeats elsewhere in the codebase.
5. Verify
- The new test passes; the full relevant suite still passes; lint and types are clean.
- Confirm the original reproduction now behaves correctly.
6. Summarize
- Explain the root cause, the fix, and why it won't recur. Note any related code that shares the risk. Do not commit unless asked.
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.

