fix-bug
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Repair an established bug mechanism and prove the failing behavior is corrected without breaking affected behavior. Use when the cause and expected behavior are known. Do not use for diagnosis alone, new feature behavior, structural refactoring, or staged compatibility migration.
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
- abigayleh/claude-workflow-plugintheir own version, first seen Sep 27, 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
Used with
Projects with it also use implement-feature, refactor and 2 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
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 6 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-prototypeSkill
- challenge-planSkill
- design-interfaceSkill
- evaluate-skillSkill
- implement-test-firstSkill
- improve-skillSkill
- investigate-bugSkill
- map-decisionsSkill
- migrate-systemSkill
- model-domainSkill
- refactor-codeSkill
- reframe-explanationSkill
- review-requirementsSkill
- split-workSkill
- synthesize-evidenceSkill
- write-agent-guidanceSkill
- write-commit-messageSkill
- write-skillSkill
- write-specSkill
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 21 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 14
Check that the supplied cause explains the failing path and that the expected result has an independent basis.
- Distinctive: line 28
Verify the correction and affected behavior through the relevant boundary.
“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 Bug
Correct the established mechanism at the boundary that owns the behavior, with credible regression evidence.
- Check that the supplied cause explains the failing path and that the expected result has an independent basis. Reuse credible diagnostic evidence; reopen only the uncertainty that would change the repair. If the mechanism remains unknown, resolving it is a separate outcome.
- Repair the owning behavior rather than masking its symptom in a caller. The responsible change may span files or layers; the fewest changed lines is not the goal. Account for callers that share the mechanism and preserve their valid behavior, including consequential boundaries and failure paths.
- Choose regression proof that distinguishes the defect from the correction. Reuse an existing check when it already detects the defect. Add a focused test when recurrence risk warrants it; otherwise preserve a concrete reproduction, before/after observation, or equivalent evidence. Derive the expected result from the contract, not from the changed algorithm. A check that passes on the faulty version cannot alone prove this repair.
- Verify the correction and affected behavior through the relevant boundary. Distinguish an unavailable check, an unrelated baseline failure, and a failure caused by the change. A mock or unit result does not establish an external integration guarantee. Report the remaining limit instead of weakening the expected behavior to make a check pass.
Complete when the established failure is corrected and the available regression and affected-behavior evidence supports that claim; state any material unverified part precisely. This Skill does not prescribe test-before-code ordering. Compose requested test-first work when that sequence matters; independent interface choices, new features, structural refactoring, and compatibility transitions keep their own outcomes.
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.

