agentleFS
nerymurillohndnerymurillohnd/claude-essentials/.claude/skills/plugin-versioning/SKILL.md

plugin-versioning

Skill0 starsChanged 56 days agoMITView on GitHub

Decides whether a change needs a plugin release, which bump level, and whether it goes through a pull request or a direct push. Use when changing anything in plugins/ or .claude-plugin/marketplace.json, writing changelog notes, bumping or tagging a plugin, or before committing, pushing or opening a pull request.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. azborgonovo/ai-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 repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Only plugins are versioned.

    line 21
  2. Distinctive:

    Direct push to main: only for docs, scripts, tests, rules, ADRs and the root README, and only with the maintainer's approval of that …

    line 32
  3. Very specific:

    Every commit is signed and follows Conventional Commits.

    line 38
  4. Very specific:

    Never edit version by hand: bump_version.py also moves the notes, dates the section in UTC and regenerates the README badge.

    line 63

≈ “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.

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

Plugin versioning and release flow

docs/releasing.md and .claude/rules/releasing.md are the full procedure and win over this skill if they ever differ. scripts/check_pr.py enforces every pull request rule below, and scripts/check.py every repository rule.

When to bump

Claude Code caches each plugin by name and version and delivers a new copy only when version in plugin.json changes. A plugin change merged without a bump gives users of the same version different files, so:

ChangeRelease
Any file inside plugins/<name>/ (skills, agents, hooks, MCP, README, CHANGELOG, plugin.json)Bump that plugin in the same pull request
New pluginNo bump: it starts at 0.1.0; new_plugin.py adds the catalog note
marketplace.json entry (description, category, tags) or renamesNo bump: add a dated note to the root CHANGELOG.md
Scripts, tests, CI, docs/, .github/, root README, rules, ADRsNo bump

Only plugins are versioned. The catalog has no version (neither top-level nor metadata.version) and no tags.

Bump levels

  • MAJOR: breaking for the user: a renamed or removed component, changed hook behavior, a new required setting. Needs a non-empty ### Migration section.
  • MINOR: a new compatible component or feature, or a component marked deprecated.
  • PATCH: a fix or documentation change inside the plugin, including a README typo.

Pull request or direct push

  • Pull request for plugins/**, .claude-plugin/marketplace.json, .github/workflows/**, CODEOWNERS: check_pr.py and the security review only run on pull requests.
  • Direct push to main only for docs, scripts, tests, rules, ADRs and the root README, and only with the maintainer's approval of that exact push.
  • Branches for pull requests are short-lived and deleted on merge, prefixed with the commit scope: <plugin>/<topic> (for example <plugin>/add-license), or marketplace/, scripts/, ci/ or docs/ plus <topic> for other work. The release-plugin skill creates plugin branches and runs the whole release flow.
  • The merge is the release: users receive main, cached by version, so a merged bump reaches them on their next update. The tag after the merge is the signed record; Claude Code does not read it to install.

Checklists

Every commit is signed and follows Conventional Commits; run the project skill verify (scripts/check.py) before each commit.

Direct push:

- [ ] scripts/check.py passes; fix every failure
- [ ] Changed scripts: shebang ⇔ mode 755, checked with git ls-files -s (100755)
- [ ] Signed commit; push to main only after the maintainer approves that push, then confirm the Validate workflow passes on main

Plugin pull request:

- [ ] For each changed plugin: user-facing notes under ## [Unreleased] in plugins/<name>/CHANGELOG.md (### Migration for a MAJOR)
- [ ] scripts/bump_version.py plugin <name> <major|minor|patch> --dry-run, then without --dry-run
- [ ] Review git diff: [Unreleased] is empty, the new section matches plugin.json
- [ ] scripts/check.py and scripts/check.py test-install (after committing: it tests HEAD)
- [ ] Exactly one semver: label: the highest bump among the released plugins (none for a new plugin or a non-plugin change)
- [ ] Title scope is the plugin name when one plugin changes, for example fix(<name>): <subject>; a ! title needs semver:major
- [ ] After the merge, for each released plugin: claude plugin tag plugins/<name>, then git tag -v <name>--v<version>
- [ ] Push the tag only when the maintainer approves that exact push

Gotchas

  • Never edit version by hand: bump_version.py also moves the notes, dates the section in UTC and regenerates the README badge; a hand edit fails check_pr.py.
  • bump_version.py refuses an empty ## [Unreleased]: write the notes first.
  • A skipped version (1.0.0 → 1.2.0) fails: one pull request is exactly one bump per plugin.
  • [Unreleased] is always empty on main; notes never wait there for a later release.
  • Executable bit: ruff EXE001 fails a shebang without the bit and EXE002 the bit without a shebang. Git versions the bit and CI sees only the index, so set both (commands and the 644 rule for imported modules: .claude/rules/repo-scripts.md).

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.