Localsetup localsetup-automatic-versioning
Use and maintain automatic versioning from conventional commits; VERSION as source of truth; sync to READMEs and docs. Use when working on version bumps, release workflow, or when the user asks about versioning or conventional commits.
install
source · Clone the upstream repo
git clone https://github.com/CruxExperts/localsetup
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/CruxExperts/localsetup "$T" && mkdir -p ~/.claude/skills && cp -r "$T/_localsetup/skills/localsetup-automatic-versioning" ~/.claude/skills/cruxexperts-localsetup-localsetup-automatic-versioning && rm -rf "$T"
manifest:
_localsetup/skills/localsetup-automatic-versioning/SKILL.mdsource content
Automatic versioning (framework)
Purpose: The framework uses semantic versioning with VERSION as source of truth. Use this skill when implementing, explaining, or changing versioning behavior so it stays consistent and framework-appropriate.
Source of truth
- VERSION (repo root): single line, semantic version
(e.g.MAJOR.MINOR.PATCH
). This is the only canonical version value.2.0.0 - Displayed version must stay in sync: README and framework README show
; framework docs use YAML front matter**Version:** X.Y.Z
(major.minor). The repository maintainers keep these in sync when they run the publish workflow.version: X.Y
Conventional Commits → bump type
- MAJOR:
in body, or type followed byBREAKING CHANGE:
(e.g.!
).feat!: new API - MINOR:
(new feature).feat: - PATCH:
,fix:
,docs:
,chore:
,style:
,refactor:
,perf:
,test:
,ci:
; any other message defaults to PATCH.build: - No bump: Merge commits (message starts with
).Merge
In this repo (public framework)
Version bump and doc sync are performed by the repository maintainers. Contributors do not need to run any scripts. If you are working in a repo that has the maintainer publish workflow (e.g. the framework maintainer repo), run the publish workflow from that context as documented there.
Reference
- Versioning doc: docs/VERSIONING.md (slim) or _localsetup/docs/VERSIONING.md in a deployed copy.