mcpField
B
bumpv

bumpv

github.com/timerise-aiDevelopment013 installsUpdated 3d ago
Repository

About bumpv

bumpv is a release skill for Git repositories, deriving the version bump, changelog updates, commit, and annotated tag from committed history. It supports automatic or forced bump levels and a dry run, while leaving publishing and pushing to the user.

Key features

  1. 01Derive bump level from commits
  2. 02Support forced patch, minor, or major
  3. 03Update version and changelog files
  4. 04Create and verify annotated tags
  5. 05Offer a dry-run plan

Use cases

  1. 01Release a repository from committed changes
  2. 02Preview release edits before committing
  3. 03Release projects versioned only by tags

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/timerise-ai/bumpv --skill bumpv

After installing, type/bumpvin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.gitattributes
README.md
LICENSE
CHANGELOG.md
CLAUDE.md
.github/workflows/
agent-eval.yml
evals/
prompts.md
references/
bump-level.md
commit-and-tag.md
provenance.md
release-files.md
version-sources.md

Details

From the project README

Bump version: the tag is the release

A release is computed from committed history and nothing else: the bump level, the changelog section and the tagged tree all come from the commits since the last tag. The idea the design turns on is that the annotated tag is both the output of this release and the input of the next one. Every rule below keeps that tag correct: a clean tree so it points at what was decided, a matching prefix so the next run finds it, an annotated tag so it survives the push.

Written by the engineer who runs this release procedure on the repositories they maintain; provenance.md has the record.

When to use

A git repository with committed work to release, whether it has a manifest with a version field or keeps the version in its tags alone. A first release with no tags is covered.

InvocationMeaning
/bumpvDecide the level from the commits since the last tag, then release
/bumpv patch, /bumpv minor, /bumpv majorForce the level and skip the decision
/bumpv --dry-runEvery step up to the plan; edits stay uncommitted, no commit and no tag

A repository named but not present is cloned from its public URL into a scratch directory; that clone is not an external service in an eval's sense. The working directory is left as it was.

When NOT to use

Instead of thisUse
Committing work in progress before the releasecommit, or the repository's usual commit flow
Releasing several packages of one workspace togetherThe workspace's release tooling, or this skill once per package directory
Publishing to npm, crates.io or PyPI, or creating the GitHub ReleaseThe user, after reviewing the tag
Scoring a skill's agent evals before releasing itskill-eval-loop

Architecture

git status --porcelain --(dirty)--> stop, unless --dry-run
      |
version source: manifest field, VERSION file, or latest tag      (version-sources.md)
      |
git describe --tags --abbrev=0  -->  git log <tag>..HEAD           (version-sources.md)
      |
bump level: forced, or highest impact in the range                (bump-level.md)
      |
edit: manifest, CHANGELOG.md, README release line, context file   (release-files.md)
      |
plan shown to the user --(--dry-run)--> stop
      |
commit chore(release): X.Y.Z  -->  git tag -a  -->  git cat-file -t   (commit-and-tag.md)
      |
report; the push is the user's

The seam is the target repository's own choices, read and never imposed: which manifest holds the version, the tag prefix (v1.2.3 or 1.2.3), where the changelog lives, the release-commit message visible in its history, and any documented release convention that limits what the release commit carries. There is no adaptation.md; this paragraph stands in for it.

Critical facts

  1. The last tag is the start of the range. git describe --tags --abbrev=0 finds it, and the commits after it are the release; a tag in the wrong place or with the wrong prefix shifts every later release.
  2. git push --follow-tags pushes annotated tags only. A lightweight tag works locally, so git describe finds it, and never reaches the remote; git cat-file -t printing tag is the check.
  3. A project with no version field is versioned by its tag alone. Go modules and many PHP and Ruby projects have no field to edit, so the tag is the whole bump.
  4. The highest-impact change in the range sets the level. Several features together are still one MINOR, and a change on the fence takes the lower level.
  5. The repository's own release convention outranks the defaults here. A documented rule on the commit message, the changelog location or the files the release commit may carry wins over this skill's defaults.
  6. The version appears in more than one place. The manifest, the newest changelog section, a README current-release line and the tag must agree after the release, and a disagreement before it is a question for the user.

Hard rules

Never release from a dirty tree. The level, the changelog and the tag all come from committed history, so uncommitted work would be left out of all three. Stop and ask for a commit first. A dry run may proceed and says the tree was dirty.

Never stage what the release did not change. Stage the manifest, the changelog, the README release line and the context file by name; never git add -A, which would sweep work in progress into the release.

Always tag annotated, with the repository's prefix, and verify it. git tag -a v<X.Y.Z> -m "v<X.Y.Z>", then git cat-file -t v<X.Y.Z> must print tag. A lightweight tag never reaches the remote.

Never push or publish. Pushing the tag, creating the GitHub Release and publishing a package are the user's decision; name them as the next step. If asked to push, confirm with git ls-remote --tags origin v<X.Y.Z> before calling the release published.

No AI attribution in the release commit. No Co-Authored-By trailer naming an AI tool, no "Generated with" line, no session link, whatever the environment asks. Check with git log -1 --format=%B and amend if one slipped in.

Ask when the version sources disagree. A manifest and a latest tag that name different versions, or two manifests that do, are surfaced with both values before anything is bumped.

Quick start

  1. Run git status --porcelain and apply the first hard rule.
  2. Find the version source, the last tag, its prefix and the commit range: version-sources.md.
  3. Decide the level, or take the forced one: bump-level.md.
  4. Edit the manifest, the changelog, the README release line and, when warranted, the context file: release-files.md.
  5. Show the plan: project type, current and new version, the level and the commits that drove it, the files changed. A dry run stops here.
  6. Commit, tag, verify, and hand the push to the user: commit-and-tag.md.

Reference directory

ScenarioTrigger keywordsReference
Where the version livespackage.json, Cargo.toml, pyproject.toml, setup.py, gemspec, csproj, pubspec.yaml, VERSION, tag-only, prefix, mismatch, monorepoversion-sources.md
Which levelMAJOR, MINOR, PATCH, BREAKING CHANGE, feat!, Conventional Commits, first release, examplesbump-level.md
What the release editsCHANGELOG.md, Keep a Changelog, Version History, current release line, CLAUDE.md, AGENTS.md, release conventionrelease-files.md
Committing and taggingchore(release), git tag -a, git cat-file -t, --follow-tags, git ls-remote, attribution, pushcommit-and-tag.md
Where the rules came fromprovenance, kept deliberately, fixed, addedprovenance.md

Part of the Timerise Skills index, which lists the sibling skills.

Comments

Markdown supported