agentleFS
waldekmastykarzwaldekmastykarz/skillfid/.github/skills/bump-version/SKILL.md

bump-version

Skill1 starsChanged 3 months agoMITView on GitHub

Use when asked to bump the version, prepare or create a release, update the version number, or determine a semantic version increment from recent commits.

  • Commits and pushes

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use oss-pr, pr-automation and 7 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.
  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • volovelySkill

    pr-fix

    This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 4 projects that use this

  • AnthropicSkill

    architecture

    Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.

    Also in 4 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 5 projects that use this

  • +2 more from CES-Ltd

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these steps in order.

    line 13
  2. Very specific:

    Run git tag --list 'v*' --sort=-v:refname | head -1.

    line 17
  3. Distinctive:

    Stop if there are no unreleased commits.

    line 21
  4. Very specific:

    Read the current version from package.json and calculate the proposed version.

    line 33
  5. Very specific:

    After confirmation, read CHANGELOG.md if it exists and preserve its style.

    line 44
  6. Distinctive:

    Add the new release below the heading using today's date.

    line 47
  7. Distinctive:

    When a previous tag exists, link the version heading to:

    line 52
  8. Very specific:

    Commit the changelog, then run npm version:

    line 60

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

Bump Version

Analyze unreleased commits, recommend a semantic version bump, and apply it with npm version only after the user confirms.

Workflow

Follow these steps in order.

1. Identify the release range

Run git tag --list 'v*' --sort=-v:refname | head -1. If a tag exists, inspect git log <latest-tag>..HEAD --oneline. Otherwise, inspect git log --oneline and treat this as the initial release.

Stop if there are no unreleased commits.

2. Recommend the bump

Choose the highest applicable level:

  • major: a breaking change, including BREAKING CHANGE, BREAKING:, or ! after a conventional commit type
  • minor: new functionality, including feat: or feat(scope):
  • patch: fixes, documentation, dependencies, maintenance, refactoring, tests, CI, or performance improvements

Read the current version from package.json and calculate the proposed version.

3. Confirm with the user

STOP. Do not modify files, commit, or tag without confirmation.

Show the unreleased commits, recommended bump with reasoning, and current and proposed versions. Ask the user to confirm or choose another bump type.

4. Update the changelog

After confirmation, read CHANGELOG.md if it exists and preserve its style. If it does not exist, create it with a # Changelog heading.

Add the new release below the heading using today's date. Include only applicable sections from Features, Bug fixes, and Maintenance. Describe user-facing changes rather than copying commit messages. Skip internal changes unless they affect users.

When a previous tag exists, link the version heading to:

https://github.com/waldekmastykarz/knowledge-eval/compare/vPREVIOUS...vNEW

Stage CHANGELOG.md.

5. Apply the version bump

Commit the changelog, then run npm version:

git commit -m "docs: update changelog for vX.Y.Z"
npm version <patch|minor|major>

npm version requires a clean working tree. Do not discard unrelated changes to make it clean; stop and explain what must be committed first.

6. Publish

Remind the user to push the commits and tag:

git push && git push --tags

The tag triggers .github/workflows/publish.yml, which publishes to npm.

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.