agentleFS
shawn-sandyshawn-sandy/cm-agent/.claude/skills/bump/SKILL.md

bump

Skill0 starsChanged 3 months agoMITView on GitHub

Moves a plugin's version through scripts/version.mjs, records the change in CHANGELOG.md, and revalidates. Use when releasing or when CI reports that a changed plugin was not bumped.

  • Commits and pushes

6 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. pandazki/pneuma-skills★ 162same name
    2. GeoloeG-IsT/agents-reverse-engineer★ 21same name
    3. maxwellsdm1867/wheeler★ 12same name
    4. atournayre/claude-marketplace★ 9same name
    5. soderlind/skills★ 3same name
    6. zanellig/skills★ 1same 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 repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Look at the diff first — git diff origin/main...HEAD --stat — then apply this repo's policy, which is stricter than a default semver …

    line 16
  2. Distinctive:

    Never hand-edit the numbers.

    line 36
  3. Very specific:

    Add an entry to CHANGELOG.md under ## [Unreleased], Keep a Changelog format.

    line 55
  4. Distinctive:

    Ask before pushing tags.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 5 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Bumping a plugin version

Arguments: $ARGUMENTS — the plugin name and the step (major, minor, patch, or an explicit X.Y.Z). Default plugin is cm-agent.

1. Choose the step from what actually changed

Look at the diff first — git diff origin/main...HEAD --stat — then apply this repo's policy, which is stricter than a default semver reading:

ChangeStep
A skill was addedminor
An existing skill was rewritten, renamed, or removedmajor
Wording, a reference file, or a script was fixedpatch

Major for a rewrite is not optional. Installed agents route on skill descriptions, so changing one changes behavior for everyone who already has it. CI checks only that a version moved, not that it moved by the right amount — this call is yours, so state your reasoning before running anything.

2. Bump

node scripts/version.mjs <plugin> <step>

Never hand-edit the numbers. The plugin version is the same string in two files, and one of those files also holds the catalog version as that same string, so a find-and-replace hits the wrong one.

The script reads the current version from plugin.json (the one that wins at install), writes both plugin fields, steps the catalog by the same amount, and reads the files back to confirm. Both outputs are built and validated in memory first, so a failed bump leaves neither file changed.

Two behaviors worth expecting:

  • An explicit X.Y.Z names the plugin's version. The catalog gets a patch bump instead, because assigning it directly could move it backwards.
  • Versions only move forward. A target that does not increase is rejected, and --check-bumped treats a downgrade as a failure. A deliberate rollback means editing both files by hand — ask before doing that.

3. Record it

Add an entry to CHANGELOG.md under ## [Unreleased], Keep a Changelog format. Describe the user-visible change, not the file that moved.

4. Verify

claude plugin validate . --strict
node scripts/version.mjs --self-test
node scripts/version.mjs --check-bumped origin/main

The first catches drift between plugin.json and the marketplace entry. The last is the exact CI gate.

Releasing

Merging to main is what ships — both /plugin marketplace add and npx skills add read the default branch. Tags are for humans reading history:

git tag -a v<version> -m "<plugin> <version>" && git push --tags

Ask before pushing tags.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.