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

release

Skill0 starsChanged 59 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

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace and 8 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps GPT-RAG Orchestrator user and operator documentation aligned with shipped behavior. Use for runtime strategies, APIs, configuration keys, deployment, defaults, operations, or breaking changes.

    Also in 3 projects that use this

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 172 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 172 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.