bump-skill-version
Original:🇺🇸 English
Translated
1 scripts
Bump the semver version in a skill's SKILL.md frontmatter following the patch/minor/major rules in CLAUDE.md. Use after modifying a skill's logic or docs.
4installs
Added on
NPX Install
npx skill4agent add baphomet480/claude-skills bump-skill-versionTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →bump-skill-version
Updates the field in per the rules in CLAUDE.md → Versioning:
version:skills/<name>/SKILL.md- patch — bug fixes, typo corrections, doc clarifications
- minor — new features, new commands, new sections
- major — breaking changes to script CLI, manifest format, or skill structure
Usage
bash
bash "$CLAUDE_PROJECT_DIR/.claude/skills/bump-skill-version/scripts/bump.sh" <skill-name> <patch|minor|major>Reports the old and new version. Refuses to run if the working tree has uncommitted changes to the target SKILL.md (so the bump becomes its own atomic edit) — pass to override.
--forceWhen to use
- After editing any file inside other than trivial whitespace.
skills/<skill-name>/ - Before committing changes that the agent (or a human reviewer) will publish.
Notes
- Reads and rewrites the YAML frontmatter in place; preserves all other fields.
- The PostToolUse hook will rebuild
package-skill.shautomatically once the SKILL.md is edited.dist/<skill-name>.skill