fix
Skill0 starsChanged 6 days agoMITView on GitHub
Use when the user says fix, broken, failing, erroring, crashed or slow, or pastes an error or a failing command, even when the fix looks like one line, because a guessed fix without a reproduction is what this stops. Reproduces, shows the cause, fixes, shows it working. A page that looks or behaves wrong without an error goes to /improve.
97 other projects use a version of this.
Adopted by
Most recently taken up by
- sammollaei/law-firm-skillstheir own version, first seen Nov 29, 2026
- BipBop-Labs/bipbop-skillstheir own version, first seen Nov 29, 2026
- Vulnetix/pix-ai-coding-assistanttheir own version, first seen Nov 29, 2026
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- hacagahasanli/agents-knowtheir own version, first seen Nov 29, 2026
- bmubook/ag-launchpad-artheir own version, first seen Nov 29, 2026
Used with
Projects with it also use genie-hacks, workfly and 10 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.
automagik-devSkillgenie-hacks
Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.
Also in 3 projects that use this
automagik-devSkillworkfly
Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.
Also in 3 projects that use this
VulnesisSkillcontainer-scan
Dockerfile / Containerfile / compose analysis plus optional Trivy / Grype / Syft composition when those binaries are present. Use when reviewing a Dockerfile PR, gating `docker build`, building an image SBOM, evaluating base-image risk, or auditing a registry image for CVEs.
Also in 3 projects that use this
VulnesisSkilldep-resolve
Dependency-conflict resolution when a `fix` version bump fails — diagnose the peer-dep tree, find a compatible safe version set, propose package-manager overrides (`overrides`/`resolutions`/`replace`/`[patch]`), fall back to safe-harbour inline patching. Use when an upgrade is blocked by transitive constraints, a peer-dep conflict surfaces, or you need to override a vulnerable transitive without bumping the parent.
Also in 3 projects that use this
bamlabSkilleol-check
Compare the versions of the platform dependencies this repo runs on (Node, React, React Native, Expo, Next.js, Docusaurus, TypeScript, Firebase Functions runtime) against endoflife.date and npm, and say what to upgrade. Use for an EOL / maintenance / "are we up to date" check, or from the factory's weekly run.
Also in 3 projects that use this
- +7 more from Vulnesis
Other versions97 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 97
- react/react★ 253ksame name
- facebook/react★ 253ksame name
- motiondivision/motion★ 36ksame name
- cloudflare/vinext★ 9.4ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- crbnos/carbon★ 2.9ksame name
- Akylas/OSS-DocumentScanner★ 2.7ksame name
- kdlbs/kandev★ 1.2ksame name
87 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 repository16 other files it gives its agents.
- shared/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- betterSkill
- buildSkill
- claude-videoSkill
- dashboard-designSkill
- github-readmeSkill
- grill-liteSkill
- handoffSkill
- improveSkill
- retroSkill
- shortSkill
- site-designSkill
- skill-auditSkill
- write-docSkill
- writingSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 88 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
If you cannot build one, say so and say what you tried.
- Distinctive: line 20
Show the cause, do not argue it: Use experiments that tell competing explanations apart, and say what you expected versus what happened.
- Distinctive: line 50
When the fix changes page code, look up the current browser feature first, because models lean on old patterns and a native feature can be …
- Very specific: line 58
Keep DISABLE_TELEMETRY=1 and leave app and customer names out of the search, because the tool otherwise reports searches to Google.
- Distinctive: line 84
Read the Set aside list too, so nothing is dropped silently.
- Distinctive: line 86
Check each finding against the code yourself.
- Distinctive: line 107
If one of those is false, say which, and why.
“Common” is measured: kept by at least 6 in 10 of the 88 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
Fix the thing. This file carries only the constraints, because the failure mode here is not ignorance — it is confidence.
The constraints
Get a repeatable reproduction before you change any code. A command that goes red on this bug and green when it is gone. Reading code to build that reproduction is fine; reading code instead of building it is the mistake. Paste the command and its real failing output.
If you cannot build one, say so and say what you tried. A change made without a reproduction is a guess, and it must never be reported as a fix.
Show the cause, do not argue it. Use experiments that tell competing explanations apart, and say what you expected versus what happened. You have it when you can name in one sentence why the reproduction was red, and you have demonstrated that.
When the investigation stops producing new evidence, get a second read rather than trying
harder. Write the symptom, the reproduction, and what is ruled out and how to
/tmp/fix-second-read.md with the Write tool first. Free text goes in a file, never inside the
quoted prompt, because a backtick or $(...) in an error message would run in the shell, and
codex-exec.py gives Codex no stdin to pass it through.
python3 -I ~/.claude/shared/codex-exec.py --skip-git-repo-check --sandbox read-only \
-c model=gpt-6.1-sol -c model_reasoning_effort=medium \
"Read /tmp/fix-second-read.md. What would you check next?" < /dev/null< /dev/null is required. Empty output means it failed, not that it agreed. If you are Codex, that
command would ask your own model again, so hand the evidence to the user for Claude's read instead.
Correct the cause, and stop there. The change is limited to what fixing the demonstrated cause requires — not the smallest possible patch, and not a tidy-up of the code around it. A fix buried inside a cleanup cannot be reviewed.
Inside that limit, write the least code that corrects it. Prefer what the project already
uses, then the standard library, then a dependency already installed. Never cut input checks,
data safety, security or accessibility to make the fix smaller — those fail silently. When the
bug sits in shared code, search its callers before changing it. Leave nearby code, comments and
formatting alone; mention unrelated dead code rather than deleting it. This is here because
evals run without ~/.claude/CLAUDE.md, so the skill has to carry it.
When the fix changes page code, look up the current browser feature first, because models lean on old patterns and a native feature can be the smaller fix:
DISABLE_TELEMETRY=1 npx -y modern-web-guidance@1.0.1 search "<2-5 word capability>"
DISABLE_TELEMETRY=1 npx -y modern-web-guidance@1.0.1 retrieve "<id>"Keep DISABLE_TELEMETRY=1 and leave app and customer names out of the search, because the tool
otherwise reports searches to Google. The reply does not mention this unless a guide changed what
the user will see.
Never make the reproduction pass by changing the reproduction. Loosening a test or its expected output hides the bug instead of fixing it. If the check itself was wrong, say so and show why before touching it.
Stop after three attempts at the same cause. Say what each attempt showed and hand it to the user, or get the second read above. More attempts past that rarely add evidence.
Codex reviews the final diff, because the fix you just wrote is the one you are worst
placed to judge. Mark new files so the diff shows them, and check it is not empty. Write the
symptom and the reproduction (the command and its failing output) to /tmp/fix-review-brief.md
with the Write tool, and leave your diagnosis out, because a reviewer handed the conclusion tends
to agree with it. Over about 400 lines, split the diff by file and send one call per part,
because a reviewer cannot hold a big diff in one read and misses things:
git add -N .
git diff <base> > /tmp/fix-review.diff
python3 -I ~/.claude/shared/codex-exec.py --skip-git-repo-check --sandbox read-only \
-c model=gpt-6.1-sol -c model_reasoning_effort=medium \
"Read the symptom and reproduction at /tmp/fix-review-brief.md, then review the diff at /tmp/fix-review.diff. Find what is wrong with it: does it make that failure go away without hiding it, and does it break anything a caller relies on? Flag code the fix does not need. Also look at the tests in the repo, not only those in the diff, and name any obvious case of this bug (another input that fails the same way, a caller that relies on the changed behaviour) that no test covers. Where the brief says nothing, judge by what a reasonable person using it would expect; silence is not permission. Ignore style. Label each blocker, should or nit. None is a valid answer. End with a Set aside list: one line per behaviour you chose not to judge as out of scope." < /dev/nullRead the Set aside list too, so nothing is dropped silently.
Check each finding against the code yourself. Judge it by what it costs if left: anything that
loses data, exposes a secret or leaves the bug in place gets fixed; the rest is declined in one
line, because a fix that grows during review stops being reviewable. An uncovered case Codex
names is a blocker unless declined in one line with a reason, because you wrote both the fix and
its test, so a case you missed is missing from both. Two rounds at most; a
blocker still open after that means not fixed. If codex is missing or fails, or you are Codex,
say "Codex review: couldn't tell" and why — never report a review that did not happen.
Show it working. The reproduction going green, pasted. Then the real thing running — the script, the page, the command the user actually runs — pasted too. If you could not run it, or ran it and could not tell whether it worked, it is not fixed yet: say "unverified" or "couldn't tell" and why, and never call it fixed, even with a caveat attached.
Done
- The reproduction went red before and green after, and both are on screen
- You can name the cause in one sentence, and you showed it
- The change covers the cause and nothing else
- The real thing ran, not only its test
- Codex reviewed the final diff with no blocker left open, or you said why it could not
If one of those is false, say which, and why. That is a better answer than a fix you cannot stand behind.
Excuses to catch
Each of these has sounded reasonable mid-session and led to a fix that was not one. When you hear yourself think the left column, do the right one.
| The excuse | What to do instead |
| The cause is obvious, so the reproduction can wait | Build it anyway. Guessed causes have twice sent fixes after a problem that wasn't there |
| It's one line, so it doesn't need the Codex review | One line can still break a caller; the review runs on every final diff |
| The test was wrong, so I'll adjust it | Show why the check was wrong first, or it only hides the bug |
| It should work now | Not run means unverified. Run the real thing and paste it |
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.

