/apogee:release [<version>|major|minor|patch]from apogee
Prepare a release: decide the version, bump it in lockstep, refresh the CHANGELOG, run the validate gate, commit the prep, then hand the git-flow finish and the push to the operator.
Ships in apogee. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Own a project's release lifecycle up to the finish: detect where its version lives, bump it (in
lockstep across every place found), refresh the CHANGELOG, gate on the project's test/validate
command, commit the release prep, write the release notes to a temp file, then stop and hand
the finish to the operator. By decision
(ADR 0007) an agent never merges into
the production branch, never creates or pushes a tag: the enforce-git-flow-skill hook refuses
git flow release|hotfix finish outright. This command ends by printing the three commands the
operator runs in a terminal.
Context from user: $ARGUMENTS
A release keeps a small set of things in lockstep: wherever the version is declared (if
anywhere), the git annotated tag, and the CHANGELOG.md ## [x.y.z] header. Where the version is
declared varies by project — Apogee's own release, for instance, keeps
plugins/apogee/.claude-plugin/plugin.json and the apogee entry of .claude-plugin/marketplace.json in lockstep;
plenty of projects (Go modules, a submodule tracked only by CHANGELOG + a README badge) don't
declare a version anywhere at all and rely on the tag alone. This command detects which case
applies instead of assuming one.
Same rule as /apogee:finish: if you're tempted to silently paper over a problem (a failing test gate, an
ambiguous version bump or version source, a dirty tree), STOP and surface it. A release is
semi-destructive once tagged — an easy mistake to avoid, an annoying one to unwind.
The finish and the push are not this command's to run. git flow release|hotfix finish
merges into main and tags; git push origin main develop --tags publishes it. Both are reserved
for the operator (ADR 0007), and the hook denies them to an agent, so don't attempt them, don't
ask for permission to run them, and don't look for a workaround (no manual git merge, no git tag): prepare everything, print the commands, stop.
/apogee:release 1.9.0) — skip the suggestion in Step 1, use this
directly (still confirm with the user before bumping anything)./apogee:release major / minor / patch) — apply to the last tag instead
of the commit-scan suggestion.hotfix → not here: a hotfix is a unit of work, opened with /apogee:start hotfix and closed with
/apogee:finish, which runs the same preparation from the shared reference.If $ARGUMENTS is empty, run the normal suggestion flow in Step 1.
Require git-flow. Run:
git config --get-regexp '^gitflow\.branch\.'
Empty → STOP: this repo isn't git-flow-initialized; offer to initialise it (the apogee:git-flow
skill's "Detect first": main + develop) first, then re-invoke this command.
Base. gitflow.branch.develop (fallback develop). hotfix in $ARGUMENTS → STOP and
point at /apogee:start hotfix.
Resume check. Run git branch --show-current.
release/<slug> branch → resume mid-flow: skip Step 2 (don't re-start),
pick up at Step 3 with <version> = the branch's slug
(release/1.9.0 → 1.9.0). Every step below is written to be idempotent for exactly
this case — re-running this command on a partially-finished release branch must not
duplicate a CHANGELOG section or create a redundant commit. Version-source detection
(below) also re-runs on resume — it's read-only and cheap, and its result is needed by
every later step regardless of how far a prior partial run got.hotfix/<slug> branch → STOP: finish it with /apogee:finish.develop/main/anything else → proceed from Step 1 (fresh release).Clean-tree guardrail (only when starting fresh, not on resume — a resumed branch may
legitimately have uncommitted manifest edits from a prior partial run, handled by later
steps' idempotency). Dirty tree on a fresh start → STOP. Show git status + git diff --stat,
offer: commit named files, discard, abort. Never git add -A or git add ..
Version-source detection — section A of references/prepare-and-hand-over.md. Read-only, re-run on resume.
Skip the SemVer-suggestion part of this step entirely on resume (version is already fixed by the branch name) — but still show the Version-source detection summary below, since the user should see it even on resume.
Scan commits since the last tag:
last=$(git describe --tags --abbrev=0 2>/dev/null)
git log ${last:+$last..}HEAD --no-merges --format='%s'
No tag yet → the whole history is scanned (first release).
Suggest a SemVer bump from the Conventional Commit subjects:
! after the type/scope, or a BREAKING CHANGE footer → major.feat: subject → minor.fix, perf, refactor, docs, …) → patch.Resolve the target version:
$ARGUMENTS has an explicit version → use it verbatim.$ARGUMENTS has a bump keyword (major/minor/patch) → apply that bump to last
instead of the scanned suggestion.Confirm with the user before proceeding — this is a deliberate decision, not a rubber-stamp. Show:
Skip if resuming (Pre-flight already detected the branch).
Via the apogee:git-flow skill (bundled with this plugin; if unavailable, run the git flow command
directly):
git flow release start <version>
Follow sections B–G of references/prepare-and-hand-over.md
with <type> = release: bump, CHANGELOG, CI gate, prep commits, notes file in $TMPDIR, the
three operator commands, then stop. The finish and the push are the operator's (ADR 0007).
What SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/ai-clean-roomPersonal black-box clean-room skill: build an independent product that reproduces the functionality of a closed-source reference application using only its public documentation, observed behavior and screenshots, without copying its code, texts, icons, design or name. Manual invocation only (/apogee:ai-clean-room)./brOfficial skill for beads_rust (`br`), a local-first, dependency-aware issue tracker for AI agents. Use when creating issues, triaging backlogs, managing dependencies, finding ready work, updating status, or exporting the local JSONL backup (br sync --flush-only)./cleanupReclaim disk space that agent work leaves behind: linked git worktrees (of the repository and of every submodule), the stale records of worktrees deleted by hand, orphaned worktree directories, and the build directories (Rust target/, DerivedData) that make each copy 5–35 GB. Inventories first with a read-only script, deletes only what the user picks. Use when the disk fills up, when worktrees pile up after parallel agents, or when the user asks to clean up, tidy up or free space, in any language. Offered by the session-start reminder and by /apogee:finish./finishClose the unit of work /apogee:start opened, and the only way work is closed in an Apogee project. feature/bugfix: review, docs, public docs, clean tree, git-flow finish into develop, push develop. hotfix: review, then the release preparation (version, CHANGELOG, gate, notes) and the operator's commands. research: check the note is complete, mark it done, propose the follow-up. Detects the type from the current branch./git-commitThis skill should be used whenever creating a git commit or writing a commit message — when the user asks to "commit", "create a commit", "git commit", "write a commit message", "commit my changes", or "conventional commit". Generates a Conventional Commits message from the staged diff (falling back to all changes), validates it against strict rules, and creates the commit. Commit messages are always written in English. Applies only inside a git repository./git-flowDrive the installed git flow binary (AVH Edition) for Git Flow branching: init a repo, start/finish/publish feature and bugfix branches, cut and finish a release with tag and back-merge, ship a hotfix, or open a support branch. Use when asked to run git flow, start or finish a feature/release/hotfix, cut a release, tag a version, or initialize Git Flow. Applies only inside a git repository.npx claudepluginhub mishagin-dev/apogee --plugin apogee