agentleFS
RemiMyrsetRemiMyrset/roots/.agents/skills/release/SKILL.md

release

Skill0 starsChanged 42 days agoMITView on GitHub

Prepare a release with changelogen. Pre-flight checks, changelog preview, and the exact command for the human to run. Use only when the user explicitly asks, with "release", "cut a release", "ship a version", "tag a release". Never unprompted. The release itself (pnpm release) pushes commits and tags to the default branch, so the push guard denies it to agents; the human runs it.

  • Reads credentials
  • Commits and pushes

196 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • MicrosoftSkill

    create-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 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-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 AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-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

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every changelogen run, the preview included, sends each commit author's email to ungh.cc to look up a GitHub handle, and writes the raw …

    line 20
  2. Very specific:

    If other repositories sync mechanics from this one, they can pin this tag with pnpm sync:template --ref vX.Y.Z, so tag only from a green …

    line 58
  3. Distinctive:

    If asked to verify afterwards: git log -1 shows the release commit, git tag -l the new tag, tree clean.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 186 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release

pnpm release runs changelogen --release --clean --push --no-github. It bumps the version from Conventional Commits since the last tag, writes CHANGELOG.md, commits, tags vX.Y.Z, and pushes commits and tags to origin. --no-github skips changelogen's GitHub Release API call; drop the flag to get a GitHub Release too, which needs a GITHUB_TOKEN or gh login and can exit non-zero even after a clean release.

--clean refuses a working tree with any change: staged, unstaged, or untracked. The release commit takes in the whole index and goes to the default branch past review, so without the flag a staged file rides along. It checks nothing else; the branch and the sync with origin stay the human's.

Every changelogen run, the preview included, sends each commit author's email to ungh.cc to look up a GitHub handle, and writes the raw address into the changelog when the lookup fails. "changelog": { "excludeAuthors": [""] } in package.json stops both: the empty string matches every author, so no lookup is sent and no Contributors section is written. noAuthors drops the Contributors section and hideAuthorEmail drops the address from it, but both still send the lookup; with the key in place, the push is the only outward action.

The push happens inside changelogen, so the deny-push-protected guard denies pnpm release and changelogen --push to agents outright. Your job ends at handing over the command; never work around the guard.

  1. package.json holds changelog.excludeAuthors as a list with "" in it. Without it, stop before the preview and say why: every changelogen run sends the commit authors' emails to a third party. A list of names without "" is the maintainers' choice to send the lookup for the authors it leaves in; name them and ask before the preview.
  2. Working tree clean, on the default branch, in sync with origin, and pnpm verify green; fix failures first, never prepare a release over a red gate.
  3. Preview: pnpm exec changelogen (no flags) prints the pending changelog entries without writing anything or computing a version. The human chooses the bump: pnpm release --patch|--minor|--major, or pnpm release -r <version> for an exact one. -r must differ from the version in package.json (changelogen exits 1 on an equal one) and from every tag git tag -l lists.

    A first release has no tag, no CHANGELOG.md, and version 0.0.0: changelogen takes the whole history, creates CHANGELOG.md, and treats 0.x.y as 0.major.minor, so -r 1.0.0 is the cleanest start. No tag but a CHANGELOG.md or a version above 0.0.0 is how a repository made from a released template looks until the first-run skill resets both; say so and ask before going on. Tags a fork or a clone inherited stay: changelogen starts after the latest (git describe --tags --abbrev=0), so the new version must sort above it.

  4. Hand off: tell the user the exact command to run (pnpm release plus the bump flag), the version and tag it will create, and the remote it pushes to. If other repositories sync mechanics from this one, they can pin this tag with pnpm sync:template --ref vX.Y.Z, so tag only from a green main. Stop.
  5. If asked to verify afterwards: git log -1 shows the release commit, git tag -l the new tag, tree clean. If the push was rejected (branch rulesets often block direct pushes to the default branch), the release commit is local only, but the tag may be on origin anyway, pointing at a commit no branch there holds: git push --follow-tags is not atomic, and a branch ruleset does not cover tags. git ls-remote --tags origin vX.Y.Z shows whether it landed; report the branch's state and the tag's, let the user decide, and never force, retry, or delete a published tag.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.