/whiting:semver-releasefrom Whiting
Wire a repo's CHANGELOG.md up to its GitHub Releases, and suggest the next semver bump from Conventional Commits since the last tag. Use when the user wants to populate an empty GitHub Releases tab, backfill releases for existing tags, automate publishing a Release on every version tag push, or figure out what the next version number should be. Applies to any repo following Keep a Changelog conventions and tagging releases with a "v*.*.*" scheme.
Ships in Whiting. 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.
None: SKILL.md is the whole skill.
Wires a repo's CHANGELOG.md up to its GitHub Releases: pushing a version
tag publishes a Release whose body is that version's changelog section,
verbatim. Also suggests the next version number from Conventional Commits
since the last tag, so version bumps aren't guessed by hand.
.github/workflows/*.yml
for gh release, softprops/action-gh-release, actions/create-release,
or similar. If one exists, stop and tell the user what's already there
instead of adding a second, competing workflow.CHANGELOG.md follows Keep a Changelog conventions: version
sections headed ## [X.Y.Z] — YYYY-MM-DD (a regex on ^## \[VERSION\]
must match). If there's no changelog, or its format doesn't match, this
skill needs repo-init run first — don't guess a format.plugin.json, package.json, or pyproject.toml, compare its
version to git describe --tags --abbrev=0. A mismatch means an
earlier release skipped step 4 below; say so and offer to correct it
before cutting anything new. In a plugin repo,
claude plugin tag --dry-run (step 6) catches the marketplace half of
the same drift.git tag -l should show tags like v0.1.0.
If tags use a different prefix or omit v, this skill's workflow's
on.push.tags glob, scripts/extract_changelog.py, and
scripts/suggest_version_bump.py's v-prefix handling all need the
same adjustment — don't fix one and silently leave the others broken.Copy these files, unmodified unless step 3 above required a tag-scheme tweak — applied consistently across all three:
Source ($CLAUDE_PLUGIN_ROOT/...) | Destination |
|---|---|
scripts/extract_changelog.py | scripts/extract_changelog.py |
scripts/suggest_version_bump.py | scripts/suggest_version_bump.py |
.github/workflows/release.yml | .github/workflows/release.yml |
extract_changelog.py takes a version (v0.7.3 or 0.7.3) and prints
the matching ## [X.Y.Z] section of CHANGELOG.md, stripping the
trailing [X.Y.Z]: https://... reference link and any --- separator.
The workflow runs on every v*.*.* tag push (and via workflow_dispatch
with a tag input for backfilling), pipes that script's output into
gh release create (or gh release edit if a release for that tag
already exists), and needs no secrets beyond the default GITHUB_TOKEN
(permissions: contents: write).
Run the bump suggester from the repo root:
python3 scripts/suggest_version_bump.py
It prints the last tag, how many commits were considered, the
classified bump level (feat → minor, fix → patch, !/BREAKING CHANGE: → major), and the suggested next version.
Show the user the suggestion and ask them to confirm or override it — never tag/push without explicit confirmation; this is a hard-to-reverse, externally-visible action.
On confirmation: in CHANGELOG.md, rename ## [Unreleased] to
## [X.Y.Z] — YYYY-MM-DD (today's date) and add a fresh empty
## [Unreleased] above it.
Set the confirmed version in every manifest that carries one, in this same commit — the tag is the source of truth, and a manifest left behind silently advertises a stale version:
| Repo kind | File | Field |
|---|---|---|
| Claude Code plugin | .claude-plugin/plugin.json | version |
| Node | package.json (and its lockfile, via the package manager) | version |
| Python | pyproject.toml | project.version |
Find any others with grep -rn '"version"\|^version' --include=*.json \ --include=*.toml --include=*.cfg . before committing, skipping
dependency versions and generated files. This is the one place a
version number gets written by hand — it copies the number the bump
suggester derived, never a guess.
Commit both: git commit -m "chore(release): vX.Y.Z".
Plugin repos: let the Claude Code CLI check the version pair. Run it after the release commit — it refuses on a dirty tree, since a tag has to point at committed content:
claude plugin tag --dry-run . # single-plugin repo
claude plugin tag --dry-run plugins/<name> # plugin inside a marketplace repo
It reads the version out of plugin.json and, when the plugin sits
inside a marketplace repo, compares it to that plugin's
.claude-plugin/marketplace.json entry. Agreement prints what it
would tag and exits 0; a mismatch exits 1 and names both sides:
× Version mismatch: plugin.json says "0.2.0" but
.claude-plugin/marketplace.json plugins[0].version says "0.1.0".
plugin.json wins at install time, so update the marketplace entry
to "0.2.0" (or remove it) before tagging.
Fix the mismatch and amend the release commit rather than tagging over
it. Keep --dry-run on: without it the command creates a
{name}--v{version} tag, a different scheme from the v*.*.* tag
this skill's workflow triggers on, and not a substitute for it. Skip
this step where the claude CLI isn't available — it's a check, not a
dependency.
Land the commit per this repo's normal rules (branch + PR if
commit-conventions is installed — don't push the release commit
straight to the default branch either).
After the release commit reaches the default branch, tag it and push
the tag: git tag vX.Y.Z && git push origin vX.Y.Z. This triggers the
installed workflow, which publishes the GitHub Release.
For tags that predate this skill and have no Release yet, dispatch the
workflow once per tag: ref = default branch, input tag=v0.x.y.
GITHUB_TOKEN.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/commit-conventionsInstall Conventional Commits enforcement (a commit-msg hook) and a no-direct-push-to-main guard (a pre-push hook), plus generate AGENTS.md and CLAUDE.md rule files covering working-agreement defaults (register, answer scope, disagreement, language, JOURNAL.md work log) plus commit format, semver-bump discipline, changelog-first workflow, and branch protection policy — merging into existing files instead of replacing them. Use when the user wants commit conventions enforced or wants Claude/agents to follow a documented rule set in this repo./inspectAudit an existing repo against whiting's conventions (Keep a Changelog, Conventional Commits, semver tags, GitHub Release automation, AGENTS.md/ CLAUDE.md/JOURNAL.md) and produce a compliance report plus a remediation plan. Use when the user wants to know what's missing or non-conforming before running repo-init, commit-conventions, or semver-release on a repo that wasn't bootstrapped by whiting from scratch. Read-only — makes no changes./repo-initBootstrap a repo's baseline — git init if needed, LICENSE, README.md skeleton, a Keep a Changelog-formatted CHANGELOG.md, and the agent rule files (AGENTS.md, CLAUDE.md importing it, JOURNAL.md) — whether starting from an empty directory or filling gaps in an existing repo. Use when the user wants to start a new project properly or is missing one of these files. Never overwrites an existing file without asking.whiting@lux-solari-plugins is listed by luxsolari/lux-solari-plugins — review the source before installing
npx claudepluginhub luxsolari/lux-solari-plugins --plugin whiting