skill-fixer
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Fix the findings in a skill-reviewer report by editing the reviewed skill on a new git branch. Use this whenever someone wants to remediate, fix, address, or resolve the issues a skill review surfaced, or asks to "apply the fixes from the report" / "clean up this skill based on the review". Takes the JSON report from skill-reviewer's review_skill.py plus the skill folder. It applies safe deterministic fixes automatically, drafts fixes for judgement items, and flags anything unsafe to auto-fix (hardcoded secrets, confirmed-malicious code) for the user. Trigger after a skill has been reviewed and the findings need fixing.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- alumpe/skillstheir own version, first seen Sep 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- alumpe/skills★ 0same name
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 repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auto-mergeSkill
- auto-shipSkill
- backlog-burn-downSkill
- cloud-infra-plannerSkill
- daily-statusSkill
- decision-briefSkill
- deploy-shieldSkill
- eddSkill
- expo-build-and-sdk-upgrade-checkerSkill
- git-workflowSkill
- handle-reviewSkill
- hr-resume-screenerSkill
- img-prompt-genSkill
- instagram-carouselSkill
- integratekitSkill
- investor-deck-builderSkill
- investor-form-fillerSkill
- playwright-test-generationSkill
- qa-handoffSkill
- razorpay-integrationSkill
- resume-hiring-managerSkill
- resume-recruiterSkill
- review-queueSkill
- safe-push-workflowSkill
- ship-issueSkill
- skill-reviewerSkill
- tech-mentorSkill
- your-skill-nameSkill
- test-case-generatorSkill
- test-case-reviewerSkill
- test-scenario-planningSkill
- triage-issuesSkill
- ui-consistencySkill
- wp-maintenance-conductorSkill
- x-twitter-scraperSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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 32
Do NOT activate when: there is no review report yet — run skill-reviewer first to produce the findings.
- Distinctive: line 42
Write the artifacts this skill produces into that same folder, so review and fix output stay together:
- Very specific: line 52
Use the unified report - the one skill-reviewer produced with its --instruction-findings folded in - so the mandatory LLM-judge instruction …
- Distinctive: line 95
If the git note says the tree is dirty or the folder is not a repo, relay that to the user and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Fixer
Take a skill-reviewer JSON report and remediate the findings on an isolated git branch, so the user can review a clean diff before merging. The work is split: the script does the deterministic, always-safe fixes; you do the judgement fixes; neither you nor the script ever silently "fixes" something unsafe.
When to use
- Activate when: the user wants to remediate, fix, address, or resolve the findings from a skill review (e.g. "apply the fixes from the report", "clean up this skill based on the review").
- Activate when: a skill has just been reviewed by skill-reviewer and its findings need fixing.
- Do NOT activate when: there is no review report yet — run skill-reviewer first to produce the findings.
Inputs
You need two things: the JSON report from skill-reviewer and the path to the
skill folder it reviewed. skill-reviewer writes its artifacts to
.skill-review/<skill-name>/, so the report is .skill-review/<skill-name>/findings.json
— read it from there by default. If you have only the skill, run skill-reviewer first
to produce the report. If either is missing, ask once and pause.
Write the artifacts this skill produces into that same folder, so review and fix output stay together:
.skill-review/<skill-name>/
├── findings.json # from skill-reviewer (input)
├── fix-manifest.json # the auto/draft/human plan (step 1)
└── post-fix-findings.json # re-judged still-open instruction findings (step 3)Use the unified report - the one skill-reviewer produced with its
--instruction-findings folded in - so the mandatory LLM-judge instruction findings
(check = instruction:*, Major/Minor) are present and get fixed, not just the
mechanical ones. They route to the draft bucket like any other finding.
Safety boundaries (non-negotiable)
- Never auto-edit a hardcoded secret. A text edit cannot rotate a leaked credential, so rewriting it would falsely imply the leak is resolved. Secrets go to the user with instructions to remove and rotate, regardless of any request to "fix everything".
- Never auto-fix a security pattern you have not confirmed. Any
REVIEWfinding - ascan:code pattern, aprose:instruction flag, or a flagged binary artifact - is a question, not a defect. If you confirm it is malicious, stop and tell the user; do not quietly rewrite it. - The reviewer's
ADVICErows are pointers, not fixes. They are non-authoritative leads from the static checker, not findings — skip them. The substantive instruction-quality findings arrive as Major/Minor (often as draft items you read from the review report) and are fixed like any other finding. - Only branch from a clean tree. The script refuses to create a branch if the working tree is dirty, and never commits to the existing branch, pushes, or deletes anything.
Steps
The commands below use python3 for brevity. On Windows the interpreter is usually
python (not python3), so substitute your platform's interpreter name; paths use
forward slashes, which work on Windows too.
1. Prepare the branch and apply deterministic fixes
python3 scripts/prepare_fixes.py --skill <skill-folder> \
--report .skill-review/<skill-name>/findings.json \
--json .skill-review/<skill-name>/fix-manifest.jsonThis classifies every finding into auto (applied + committed now), draft
(for you to fix), or human (flagged, never auto-fixed). It creates branch
skill-fix/<name>-<timestamp> off the current branch, applies the auto-fixes
(insert a missing TOC, sync a name/folder mismatch), and commits them. Read the
printed plan and the manifest JSON before continuing.
If the git note says the tree is dirty or the folder is not a repo, relay that to
the user and stop. They commit/stash (or init git) and re-run; you do not work
around it by editing files outside a branch unless they ask. (The .skill-review/
artifact folder is exempt from the dirty check: the script git stash push -ues it
out of the way before branching - so it can't block the checkout or be swept into the
auto-fix commit by git add -A - then pops it straight back onto the new branch. The
git note says so when it happens; if a pop ever fails, the note tells you to recover
with git stash pop.)
2. Fix the draft items on the branch
Work through draft_todo in the manifest. Read the actual file before each edit;
see references/fix-strategies.md for how to handle each finding type. Common
ones: rewrite a weak description to state what + when (the biggest triggering
lever); fix a non-compiling script; split a bloated SKILL.md body into
references/; declare an undisclosed dependency in compatibility or a
requirements file; rename a skill that collides with a bundled name.
3. Re-review to confirm
Re-run skill-reviewer on the now-fixed folder and verify you did not regress it. The
script re-runs the mechanical checks itself, but instruction findings are yours to
re-judge - it cannot regenerate them. So re-read the fixed skill's instructions (as
in a review), write the ones that are still open to
.skill-review/<skill-name>/post-fix-findings.json (an empty array [] if you
resolved them all), and pass it:
python3 scripts/verify_fixes.py --before .skill-review/<skill-name>/findings.json \
--skill <skill-folder> --reviewer <path/to/review_skill.py> \
--after-instruction-findings .skill-review/<skill-name>/post-fix-findings.jsonreview_skill.py ships with the skill-reviewer skill (the same checker that produced
the report), usually installed alongside this one under <skills-dir>/skill-reviewer
in its scripts/ folder. If you can't find it, ask the user for skill-reviewer's
path rather than guessing.
This folds your re-judged findings into a fresh review, then confirms the target
problems cleared, no new problem appeared, and the gate/score did not drop; it exits
non-zero on any regression. If the before report had instruction findings and you
omit --after-instruction-findings, it reports INCOMPLETE and exits non-zero
rather than falsely clearing them - it will not judge instructions for you. If it
reports a regression, fix or revert the offending change before reporting back; never
leave the branch worse than you found it. Anything still present that is not a
regression is a human-required item or needs another pass.
4. Report back
Tell the user, in plain prose: the branch name, what was auto-fixed, what you fixed by hand, what they must handle themselves (each secret with a rotate-it instruction), and the before/after gate and score. Do not merge the branch or push - that is the user's call.
Output
A new git branch skill-fix/<name>-<timestamp> containing:
- an auto-fix commit (deterministic fixes such as an inserted TOC or a name/folder sync),
- your hand-applied draft fixes, and
- the artifacts under
.skill-review/<skill-name>/(fix-manifest.json,post-fix-findings.json).
Plus a plain-prose summary to the user: the branch name, what was auto-fixed, what you fixed by hand, what they must handle themselves (each secret with a rotate-it instruction), and the before/after gate and score. The branch is left for the user to review and merge — it is never merged or pushed automatically.
Example
Input: .skill-review/changelog-gen/findings.json flags a short description (MAJOR),
a missing TOC (MINOR), and a hardcoded AWS key (BLOCKER).
prepare_fixes.pybranches, inserts the TOC, commits. Manifest: 1 auto, 1 draft (description), 1 human (secret).- You rewrite the description to add when-to-use cues.
- Re-review: the description and TOC findings clear, but the gate stays FAILS SPEC because the secret is a Blocker the fixer must not touch - it drops to NEEDS REVIEW only once the user removes and rotates the key.
- Report: branch
skill-fix/..., TOC auto-added, description rewritten, and a clear note that the AWS key inscripts/x.py:12must be removed and rotated by them.
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.

