release
Skill0 starsChanged 7 days agoMITView on GitHub
Release one package in another repo through a release PR: propose the next SemVer or CalVer version from Conventional Commits, commit it on `release/v<version>` and open a draft PR; after the merge, tag the merge commit and, if chosen, push the tag and create the GitHub Release. Load when the user says \"release\", \"cut a release\", \"bump the version\", \"tag a release\", or /release. Not for this skills repo's `vX.Y.Z` headings, and not for monorepos.
- Commits and pushes
193 other projects use a version of this.
Adopted by
Most recently taken up by
- mumu-lhl/Ciyuetheir own version, first seen Nov 30, 2026
- ifer47/markerontheir own version, first seen Nov 30, 2026
- SigmaHQ/pySigmatheir own version, first seen Nov 30, 2026
- theNewDynamic/gohugo-theme-ananketheir own version, first seen Nov 30, 2026
- yukiyokotani/office-open-xml-viewertheir own version, first seen Nov 30, 2026
- o2sh/onefetchtheir own version, first seen Nov 29, 2026
Used with
Projects with it also use create-agent-adapter, changelog-style and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillcreate-agent-adapter
Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.
Also in 6 projects that use this
GrinvSkillchangelog-style
Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR (adding to the [Unreleased] section) or cutting a release (moving [Unreleased] under a new version heading).
Also in 4 projects that use this
GrinvSkilldocs-consistency-check
Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.
Also in 4 projects that use this
Microsoft AzureSkillcomponent-release
Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.
Also in 4 projects that use this
Microsoft AzureSkilldocumentation-consistency
Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.
Also in 8 projects that use this
m13vSkilltest-release
Use when the user says "test the release", "smoke test", "verify the build works", "test staging", "test the new version", or after promoting a release to staging/beta/stable. Smoke-tests the shipped Fazm production app via Sparkle auto-update on local + MacStadium, sends test queries via distributed notifications, checks logs. Does NOT build anything.
Also in 3 projects that use this
- +3 more from Grinv
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- paperclipai/paperclip★ 118ksame name
- modelcontextprotocol/servers★ 92ksame name
- remotion-dev/remotion★ 76ksame name
- traefik/traefik★ 66ksame name
- usememos/memos★ 65ksame name
- tw93/Pake★ 64ksame name
- AmruthPillai/Reactive-Resume★ 46ksame name
- amruthpillai/reactive-resume★ 46ksame name
- reactive-resume/reactive-resume★ 46ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- auto-commitSkill
- auto-prSkill
- commit-messagesSkill
- handle-pr-commentsSkill
- issue-trackerSkill
- lint-skillsSkill
- plans-and-roadmapsSkill
- post-merge-cleanupSkill
- pr-summarySkill
- readme-badgesSkill
- roadmap-progressSkill
- session-recapSkill
- session-syncSkill
- terseSkill
- unicode-diagramsSkill
- windows-screenshotsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 20
No state is saved between runs: "version in the file, no tag yet" is how run 2 knows where it is.
- Distinctive: line 39
Run it with its full path, from inside the target repo:
- Very specific: line 55
No version, or 0.0.0, has no scheme yet.
- Very specific: line 61
Pre-releases,: only on request: --pre rc gives 1.3.0-rc.0, then rc.1.
- Distinctive: line 92
Check the repo is in scope: Stop when it is:
- Very specific: line 115
both-files: ask which file is the version source. - Distinctive: line 181
Release notes,: only after a pushed tag:
- Very specific: line 184
Otherwise: ask: Create GitHub Release v<v> with generated notes or Skip.
- Very specific: line 198
Cut a new version: Run 1 with proposed.
- Distinctive: line 209
Release an old line: Only the tip of the default branch.
- Very specific: line 232
bumpp's
--prforce-pushes: when release/v<v> already has an open PR, and its PR is not a draft.
“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Release v1.0.0
Releases one package per run, in a repo other than a skills repo, through a release PR. Every repo takes the same path, whether or not its default branch requires PRs:
- Run 1, cut: compute the next version, commit it on
release/v<version>, and open a draft PR. - The user merges the PR.
- Run 2, tag: the version file now holds a version with no tag, so the release is half done. Tag the release PR's merge commit, and push the tag if chosen.
No state is saved between runs: "version in the file, no tag yet" is how
run 2 knows where it is. There is no CHANGELOG.md; release notes go to
GitHub Releases.
Requirements
- Bun runs the planner script.
gh, signed in (gh auth status), for the PR, the merged-PR lookup and GitHub Releases. Without it, stop and say so.
Commit rule
Picking a confirm option that names the commit or tag ("Commit v1.4.0 and open a release PR", "Tag and push v1.4.0") is the explicit request that the global "Writing Commit" rule asks for. So every such option names exactly what runs; never shorten one to a vague label such as "Release".
Planner script
Run it with its full path, from inside the target repo:
bun ${CLAUDE_SKILL_DIR}/scripts/release.ts plan [--version <v>] [--pre <id>] [--at <sha>] [--scheme semver|calver] [--file VERSION|package.json]
bun ${CLAUDE_SKILL_DIR}/scripts/release.ts write <version>planis read-only. It prints one JSON object and writes nothing.writesetsVERSION(creating it when missing) and nothing else. It refuses a project that keeps its version inpackage.json.- Fields:
versionFile,versions,current,scheme,bumpp,changelogithub,lastTag,state,range,commits,level,proposed,reasons,warnings,errors. - Version file:
VERSIONorpackage.json'sversion. - Scheme: inferred from the version. A major of 2000-2999 with a minor
of 1-12 is CalVer (
YYYY.M.MICRO, no padding); anything else is SemVer. No version, or0.0.0, has no scheme yet. - SemVer level from Conventional Commits since the last tag:
!or aBREAKING CHANGE:footer is major,featminor,fixandperfpatch, anything else none. Below 1.0.0 a breaking change bumps minor. The first release is0.1.0. - CalVer: MICRO + 1 within the same month, 0 in a new month.
- Pre-releases, only on request:
--pre rcgives1.3.0-rc.0, thenrc.1. Without--pre, a current pre-release releases its own version (1.3.0-rc.1to1.3.0).
state:
| State | Meaning | Route |
no-version | No version file holds a version | Choose the scheme, then Run 1 |
untagged | A version, but no v* tags | Untagged project |
fresh | The version equals the last tag | Run 1 |
half-done | The version is above the last tag and untagged | Run 2 |
behind | Anything else, such as a version below the last tag | Stop with the error |
Codes. Each entry in errors stops the run: show its message. Each
warnings entry needs the action below.
| Code | Kind | Action |
versions-differ | error | VERSION and package.json disagree: stop and ask which is right |
invalid-version | error | Not a SemVer version: stop, or ask for another override |
scheme-switch | error | The bump changes scheme: refuse; the scheme never changes |
not-greater | error | Not above the current version: ask for another |
version-behind-tag | error | State behind: stop |
both-files | warning | Ask which file to use; rerun with --file |
scheme-unset | warning | Ask the scheme question; rerun with --scheme |
nothing-releasable | warning | Say so; the proposal is a patch, offered anyway |
commits-after-cut | warning | Run 2: show it before the tag confirm |
Start
- Check the repo is in scope. Stop when it is:
- a skills repo, whose versions are
vX.Y.Zheadings inskills/*/SKILL.md; - a monorepo:
package.jsonhasworkspaces, or apnpm-workspace.yamlexists.
- a skills repo, whose versions are
- On the default branch, clean, up to date. Find the default with
gh repo view --json defaultBranchRef -q .defaultBranchRef.name. Thengit branch --show-currentmust match it,git status --shortmust be empty, and aftergit fetch origin <default>,git rev-parse HEADmust equalgit rev-parse origin/<default>. Otherwise stop and say which check failed; never pull, stash or switch for the user. - No open release PR.
gh pr list --state open --json number,url,headRefNamewith aheadRefNamestartingrelease/vstops the run with its link: finish or close that one first. - Run
planand route bystate. Showerrorsand stop if any.
Choose the scheme
For no-version, or the scheme-unset warning.
- No version file: offer to create
VERSION. Apackage.jsonwithout aversiongetsVERSIONtoo. both-files: ask which file is the version source; pass--filefrom then on. The other file keeps its old version.- Scheme question: SemVer (first release
0.1.0) or CalVer (<year>.<month>.0). Say the choice is permanent: the skill refuses any later bump that switches scheme. Rerunplan --scheme <answer>.
Run 1, cut
- Show the proposal: current version,
proposed,level, andreasons, one per line. Fornothing-releasable, say there are only docs, chore, CI or test commits since the last tag, and that the patch is offered anyway. - Overrides. A version the user names, or one typed as Other in
the confirm, is checked with
plan --version <v>before it is used. Pre-release on request:plan --pre <id>. bumpp project (
bumppis not null): stop here, before the confirm. Print the command for the user to run, with the exact version:! bunx bumpp <v> --prSay that bumpp then creates
release/v<v>, commits, pushes and opens a PR (not a draft), and skips the tag; that the project'sbump.config.*may change those defaults; and that run 2 still tags the merge. Never run bumpp.- Confirm with AskUserQuestion, two options:
- Commit v
<v>and open a release PR - Cancel
- Commit v
- Branch:
git switch -c release/v<v>. - Write the version:
VERSION:bun ${CLAUDE_SKILL_DIR}/scripts/release.ts write <v>package.json:bun pm version <v> --no-git-tag-version. Always pass the exact version;patchbreaks CalVer at a month boundary.
- Commit the version file by path, with the subject
chore(release): v<v>, per thecommit-messagesskill (a repo convention wins). The body lists the level and its reasons. - Open the draft PR per the
auto-prskill's "Opening a PR on request": summarydrafts/PR_SUMMARY-release_v<v>.mdviapr-summary,git push -u origin release/v<v>, thengh pr create --draft --base <default>. - Switch back:
git switch <default>. Tell the user to merge the PR, then run/releaseagain to tag it.
Run 2, tag
For half-done: the version <v> is in the file but not tagged.
- Find the merge commit:
gh pr list --state merged --head release/v<v> --json number,url,mergeCommit. TakemergeCommit.oid, not the default branch's tip: a squash merge makes a new commit, and later merges may sit on top of it.- None found (a bumpp PR under another branch name, or a direct
commit): ask which commit to tag. Offer the last commit that changed
the version file,
git log -1 --format=%H -- <versionFile>.
- None found (a bumpp PR under another branch name, or a direct
commit): ask which commit to tag. Offer the last commit that changed
the version file,
- Re-check:
plan --at <merge sha>. Show anycommits-after-cut: commits merged after the cut call for a bigger bump than the file has. Confirm with AskUserQuestion, three options:
- Tag and push v
<v> - Tag only (local; push later with
git push origin refs/tags/v<v>) - Cancel
Say before asking that a pushed tag may start CI that publishes a public GitHub Release.
- Tag and push v
- Tag:
git tag -a v<v> -m v<v> <merge sha>. - Push the tag only, on Tag and push:
git push origin refs/tags/v<v>. A rejected push (such as a tag ruleset) is a stop: report it, and keep the local tag. - Release notes, only after a pushed tag:
changelogithubset: its workflow creates the Release; name the file and do nothing.- Otherwise ask: Create GitHub Release v
<v>with generated notes or Skip. On yes:gh release create v<v> --verify-tag --generate-notes.
- Clean up: suggest the
post-merge-cleanupskill forrelease/v<v>.
Untagged project
For untagged: a version, but no v* tags yet. Ask with
AskUserQuestion:
- Tag and push v
<current>: tagHEADof the default branch as is, then steps 4-6 of Run 2. - Tag v
<current>only: the same, without the push. - Cut a new version: Run 1 with
proposed. - Cancel
Never
- Run bumpp. Print its command instead.
- Push the default branch, or anything but the release branch and the one tag.
- Force, or skip hooks (
--no-verify). - Delete or move a tag, local or remote.
- Switch scheme.
- Release an old line. Only the tip of the default branch; patching an older release line is done by hand.
- Write a
CHANGELOG.md.
Gotchas
- Confirm wording is load-bearing. The commit rule above holds only while each option names its action.
- "Tag and push" publishes. A tag push can start CI that creates a public GitHub Release; undoing it means deleting the remote tag and the Release, which this skill never does.
- Commits merged after the cut ship in the release without having
counted toward its version;
commits-after-cutflags only a bigger level than the file has. - Half-done releases. A merged release PR that was never tagged leaves the version and the tags disagreeing until run 2 tags it.
- Tag rulesets can reject the tag push even when the PR merged fine.
- Tags sort wrongly as text (
v2026.10.0beforev2026.2.0); the planner sorts by version. --generate-noteslists merged PRs, not commits, so repos that commit straight to the default branch get thin notes.- changelogithub in CI needs
fetch-depth: 0in its checkout step, or it sees no history. - bumpp's
--prforce-pushes whenrelease/v<v>already has an open PR, and its PR is not a draft.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

