/assist-plugin:bump [patch | minor | major | auto] [--path PATH] [--no-tag] [--no-commit] [--no-changelog]from assist-plugin
Semantic version bumping with automated changelog generation. Detects version files, determines bump type from commits or explicit input, updates versions, generates changelog, and commits with optional git tag.
Ships in assist-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage semantic versioning and changelog generation for your project or submodules.
/bump auto # Auto-detect bump type from commits
/bump minor # Explicit minor version bump
/bump major --path ./backend # Major bump in backend subfolder
/bump patch --no-tag # Patch bump without git tag
Searches for version in this priority order:
package.json (npm/Node.js)pyproject.toml (Python poetry)Cargo.toml (Rust)pubspec.yaml (Dart)VERSION file (single version file)v* or release-*. Under a --path below the root, the tag fallback reads the latest <tagdir>-v* tag (for example services-auth-v*) and ignores the root v* tagsExplicit mode: Use provided bump type (patch/minor/major)
Auto mode: Parse commit history since last tag/version:
BREAKING CHANGE: in commit body: MAJORfeat: prefix: MINOR (or MAJOR if breaking)fix: prefix or no prefix: PATCHResolves the changelog target first (see step 4), so a stop on the changelog leaves every version file unchanged. Then updates all detected version files atomically:
package.json: version fieldpyproject.toml: version in [tool.poetry]Cargo.toml: version in [package]pubspec.yaml: version fieldVERSION file: plain text versionSkipped with --no-changelog. Resolves the target before any version file changes. The entry goes in place in the project root's or --path directory's CHANGELOG.md, with one exception: a pointer-only CHANGELOG.md sends the entry to the file it points to. A pointer has no ## [x.y.z] heading and exactly one relative link to a local file; external links (such as https://keepachangelog.com) never count. The skill follows the link one hop only when the target is a file named CHANGELOG.md that resolves inside the git root, is not a hidden path, is not an auto-loaded file (CLAUDE.md, CLAUDE.local.md, AGENTS.md), and is not itself a pointer. A file with release headings is never a pointer, and the pointer file gets no release heading.
On any other stop (two or more local links, a link to another file name, a target outside the git root, a hidden or auto-loaded target, or a pointer chain), write nothing, change no version file, and ask the user to choose one answer: write the entry in place, name another CHANGELOG.md that passes the same checks, or skip the changelog. Then continue the same run with the answer. A named target that fails the checks gets the same three answers again. A named target that passes and does not exist yet is created holding the release entry.
Creates or updates the target with:
## [1.2.0] - 2026-08-27)### Breaking Changes### Features### Bug Fixes### Other[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0chore: bump version to X.Y.Z. Under a --path below the root, the message is chore: bump <dir> to X.Y.ZCo-Authored-By line for an AI tool and no "Generated with" line. Human co-authors are fine. The commit-attribution-guard hook denies a commit whose message holds such a line. When attribution.commit is unset or not "", Claude Code's instructions ask you to end the commit message with a Co-Authored-By trailer or a session link. Leave those lines out even then. If your instructions asked for such a line, tell the user once that /assist-plugin:health reports this setting and that {"attribution": {"commit": "", "pr": ""}} in their Claude Code settings turns it off. Never edit a settings file yourself.vX.Y.Z (or release-X.Y.Z if found in existing tags). Under a --path below the root, the tag is <tagdir>-vX.Y.Z<dir> is the --path value after it is normalized and validated, and only then named (see "--path validation" under Constraints). It is the path relative to the repository root with a leading ./ and a trailing / removed and \ read as /. <tagdir> is <dir> with every / replaced by -. A --path that resolves to the repository root (., ./, or the root's own path) counts as no --path: the default names and the root tags apply--no-commit creates no tag, even without --no-tag| Option | Description | Default |
|---|---|---|
patch | Bump patch version (X.Y.+Z) | None |
minor | Bump minor version (X.+Y.0) | None |
major | Bump major version (+X.0.0) | None |
auto | Auto-detect from commits | None |
--path PATH | Directory inside the repository, given as a relative path or an absolute path inside the git root; validated before it is used (see Constraints) | . (root) |
--no-tag | Skip git tag creation | False (creates tag) |
--no-commit | Skip git commit | False (creates commit) |
--no-changelog | Skip changelog update | False (updates changelog) |
See references/bump-strategy.md for:
.git/)vX.Y.Z, release-X.Y.Z, or <tagdir>-vX.Y.Z under a --path below the root): the version is already released. A tag on an older commit does not block the bump--path directory, or in the file a pointer-only CHANGELOG.md points toCo-Authored-By trailer or other attribution line for an AI tool to the bump commit, the tag message, or the changeloggit config user.name/user.email, --author, or -c user.name= / -c user.email=; a drafted command that carries one drops the override and commits with the developer's identity--path validationA --path value passes three ordered steps before the skill reads a version file or writes, commits, or tags anything. A value that breaks a rule stops the run with the message of that rule (R1 to R8), and nothing is changed. The raw --path text never reaches a shell command; only a value that passed checks 1 to 5 reaches one, as <dir>.
R from git rev-parse --show-toplevel (after the git-repository check) and treat it as text only. R is compared as text here and is never pasted into a command. Then work on the value as text:
\ as /./, or with a drive letter, :, and /. A lone / or \ is absolute and names the file-system root../ and one trailing /. It counts as no --path when it is then empty or ../ only when more than the root part (/, or a drive letter, :, and /) remains, so / and C:/ keep their slash. Then, in order: when it equals R it counts as no --path; when it starts with R followed by / the prefix is stripped and the value becomes root-relative (a drive letter compares without case), and it counts as no --path when it is then empty or . (so <root>/. and <root>// mean the root); any other absolute value, the file-system root included (unless R is that root), stops with R1.--path means the default names and root tags apply, and steps 2 and 3 are skipped.^[A-Za-z0-9._-]+(/[A-Za-z0-9._-]+)*$ (R2)... (R3).^\.+$, so . and ... are refused too (R4).- (R5).. or contains .. (R8), so .github and a..b are refused. Such a segment would give an invalid git tag name, so the run stops before any file, commit, or tag changes.test -d "$(git rev-parse --show-toplevel)/<dir>" exits 0 (R6). The operand starts with the absolute root, so it cannot be read as an option and test needs no --.realpath -- "$(git rev-parse --show-toplevel)/<dir>" starts with the output of realpath -- "$(git rev-parse --show-toplevel)" followed by / (R7), so a symlink that leaves the repository is refused. Compare the two printed lines as text.$(git rev-parse --show-toplevel) substitution inside double quotes. Never paste the root into a command: a root name that holds a quote, a $, a backtick, or a space then cannot break the quoting. The characters of a validated <dir> are all literal inside double quotes.<dir> is the validated value and <tagdir> is <dir> with every / replaced by -.Only one leading ./ and one trailing / are removed, so ././x fails R4 and x// fails R2. Each message names the rule, ends with "nothing was changed", and quotes no raw --path text except the validated <dir> of R6:
R1 error: --path is an absolute path outside the git root; nothing was changed
R2 error: --path may hold only letters, digits, ".", "_", and "-" in segments joined by "/"; nothing was changed
R3 error: --path has a ".." segment; nothing was changed
R4 error: --path has a segment made only of dots; nothing was changed
R5 error: --path has a segment that starts with "-"; nothing was changed
R6 error: --path names no directory: <dir>; nothing was changed
R7 error: --path resolves outside the git root; nothing was changed
R8 error: --path has a segment that starts with "." or contains ".."; nothing was changed
Auto-bump a backend service:
/bump auto --path ./services/auth
→ Detects version from ./services/auth/package.json
→ Parses commits since last tag in that subtree
→ Bumps version, updates ./services/auth/CHANGELOG.md
→ Commits chore: bump services/auth to X.Y.Z at the repository root
→ Tags services-auth-vX.Y.Z
Manual patch bump without git operations:
/bump patch --no-commit --no-tag
→ Bumps patch version in all detected files → Updates CHANGELOG.md → Exits without committing or tagging (for review first)
Major version bump across monorepo:
/bump major
→ Finds root package.json
→ Updates root version
→ Updates root CHANGELOG.md
→ Commits and tags at root
What SKILL.md sets; muted values are Claude Code's defaults
mediumThree short reads, in order
22 skills in this plugin
/askAnswer questions using repository search and optional web research. Searches repo files first. Add --web to also search the web when repo context is insufficient. Always cites sources./branchManage git branches. Create feature/bugfix/release branches with standard naming, switch branches with stash support, list all branches, clean up merged worktrees and their branches, and clear the Go build cache./clarifyClarify unclear points from the current discussion. Use on /clarify or when the user says something Claude wrote is unclear. Claude explains its own output with evidence, asks the user about points only the user can settle, shows both in chat, and appends them to a daily log.npx claudepluginhub tjmonsi/assist-marketplace-plugin --plugin assist-pluginOther plugins' skills for the same job