update-package-skill
Skill336 starsChanged 54 days agoMITView on GitHub
Updates an existing package Skill for a new release of its npm or local package by testing only what changed since the version the Skill names. Use when a maintainer asks to refresh a package Skill after a release, or when a SKILL.md names an older tested version than the package.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- harlan-zw/skilldword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- harlan-zw/skilld★ 336100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- generate-package-skillSkill
- generate-project-skillSkill
- review-skillSkill
- skilldSkill
- skilld-tui-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 12 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
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 18
If the tested version equals the new version, change nothing and report that.
- Distinctive: line 24
Read the changelog or release notes between the two versions.
- Distinctive: line 33
If no change is relevant, leave the copy byte-identical and stop.
- Very specific: line 37
Create one consumer fixture outside the package source, with its own pnpm-workspace.yaml.
- Distinctive: line 38
Run each affected example and claim, and each example you add.
- Distinctive: line 39
Run each with one failure input as well, such as a bad option or an unreachable URL.
- Distinctive: line 40
Do not re-run untouched examples.
- Distinctive: line 47
Delete lines the release made false, and version limits it fixed.
- Distinctive: line 48
Update the tested version in the first paragraph.
- Distinctive: line 49
Keep the wording, order, and formatting of untouched lines exactly.
- Distinctive: line 50
Update the description only when a trigger changed, such as a renamed export or a new config key.
- Distinctive: line 52
Keep the format rules:
- Distinctive: line 56
Remove generic compatibility filler.
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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
Update a package Skill
Bring an existing package Skill to a new package version with the smallest correct edit.
The current Skill was tested against an earlier version. Trust what the release did not touch.
To write a Skill from nothing, use generate-package-skill.
Inputs
- The current Skill directory, and the package at the new version: a name and version, a directory, or prepared source.
- The tested version is the version the Skill's first paragraph names. If it names none, stop and report that the Skill needs a full rewrite.
- If the tested version equals the new version, change nothing and report that.
1. Copy, then diff
- Copy the current Skill to the destination unchanged. Edit only the copy.
- Diff the two published versions:
npm diff --diff=PACKAGE@OLD --diff=PACKAGE@NEW. For a local package, diff the old tarball against the packed build. - Read the changelog or release notes between the two versions.
- List what changed for a consumer: exports, types, options and their defaults, config keys, error messages, CLI flags, peer ranges, engines, and behaviour the notes describe.
2. Map changes to the Skill
For each change, find the Skill lines it affects: a claim, an example, a trap, a version limit. A change is relevant when it affects a Skill line, or when it adds or breaks something an Agent would get wrong: a new trap, a renamed call, a new required setup step. Internals, refactors, and fixes the Skill never mentioned are not relevant.
If no change is relevant, leave the copy byte-identical and stop. Report "no change needed" with a one-line diff summary.
3. Test the affected lines
- Create one consumer fixture outside the package source, with its own
pnpm-workspace.yaml. Install the new version and the documented peers. - Run each affected example and claim, and each example you add. Compare output with the claim: return values, type errors, build logs, exit codes.
- Run each with one failure input as well, such as a bad option or an unreachable URL.
- Do not re-run untouched examples. The earlier version's tests cover them.
- Wrap every run in
timeout 120. Start servers from your own script, record each process ID you start, and stop only those. Never kill by port or withpkill -f. - Spend about 20 tool calls on testing. Report an affected claim you could not test as untested; never claim it passed.
4. Edit
- Change only affected lines, and add what the release needs: a new trap, an old call → new call row, a new common task.
- Delete lines the release made false, and version limits it fixed.
- Update the tested version in the first paragraph. Other version literals go stale; avoid them.
- Keep the wording, order, and formatting of untouched lines exactly. The diff must show only what the release changed.
- Update the description only when a trigger changed, such as a renamed export or a new config key.
Keep the format rules:
- The frontmatter contains
nameanddescription, with optionallicense,compatibility,metadata, andallowed-tools. The name matches the directory. - Preserve the source license. Keep
compatibilityonly for specific environment requirements, at most 500 characters. - Remove generic compatibility filler. Keep package version coverage in the body.
metadatamaps string keys to string values.allowed-toolsis an experimental space-separated string.- The description is one plain YAML line without double quotes, backticks, or
%. SKILL.mdstays under 500 lines. Write at most eight reference files, each linked fromSKILL.md.
5. Report
- The tested version, old → new, and the files you changed.
- Each changed line with the diff hunk or release note behind it.
- Each affected claim left untested.
- Each mismatch between the new docs and observed behaviour: example, documented result, observed result. These are package bugs.
For a direct run, show the Skill diff for review. A direct run has no Harness checks; never claim it passed 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.

