agentleFS
ahmadammarmahmadammarm/musyskills/skills/release/SKILL.md

release

Skill1 starsChanged 13 days agoMITView on GitHub

Cut a new release from the changes recorded under [Unreleased] in CHANGELOG.md. Picks the Semantic Versioning bump, moves the changelog entries into a dated version section, syncs version files, creates the release commit and an annotated tag, pushes after confirmation, and publishes release notes. Use whenever the user asks to "make a release," "cut a release," "bump the version," "tag a new version," or "publish vX.Y.Z.

  • 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

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 11 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before changing anything, perform the following in order:

    line 22
  2. Distinctive:

    Run git status. If there are uncommitted changes, stop and ask the user to commit or stash them first.

    line 24
  3. Distinctive:

    Run git fetch origin and compare with the upstream.

    line 26
  4. Very specific:

    Read CHANGELOG.md. If it does not exist, or the [Unreleased] section is empty, stop and tell the user there is nothing to release.

    line 27
  5. Very specific:

    Look for a validation or test command (for example scripts/validate.mjs, npm test, make test) and run it.

    line 29
  6. Distinctive:

    If the user gave an explicit version, use it, but warn if it does not match the rules below.

    line 35
  7. Distinctive:

    PATCH: only fixes, under "Fixed" or "Security", with no new capability.

    line 39
  8. Distinctive:

    Update every version file found in Pre-flight Check 7 to the new version.

    line 46
  9. Distinctive:

    Run the validation or test command again.

    line 47
  10. Very specific:

    Commit using the repository's existing release commit style, found with git log --oneline --grep=release.

    line 51
  11. Very specific:

    Create an annotated tag: git tag -a vX.Y.Z -m "vX.Y.Z", using the same prefix style as existing tags.

    line 52
  12. Distinctive:

    Do not push until the user explicitly says yes.

    line 59
  13. Very specific:

    If the GitHub CLI is available and authenticated, publish with gh release create vX.Y.Z --title vX.Y.Z --notes-file <file>.

    line 64
  14. Very specific:

    If the repository publishes packages on tag (for example an npm publish workflow), check the run with gh run list and report its result.

    line 65
  15. Distinctive:

    Never release uncommitted work, and never release from a branch that is behind its upstream.

    line 69
  16. Distinctive:

    Never push a commit or tag, or publish release notes, without explicit user confirmation.

    line 70
  17. Very specific:

    Never use --force on pushes or tags, and never move or delete an existing tag.

    line 71
  18. Very specific:

    Never invent changelog entries.

    line 72
  19. Distinctive:

    Never skip a failing validation or test command.

    line 73

“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

Purpose

Turn the work already recorded in the changelog into a published, tagged release in a predictable way. The skill decides the version from what actually changed, keeps the changelog and version files consistent, and never pushes or publishes without explicit confirmation.

Trigger

Activate this skill when the user:

  • Runs the slash command /release.
  • Says "make a release," "cut a release," "release this," "bump the version," "tag a new version," or "publish v1.4.0."
  • Passes a version (v1.4.0) or a bump type (patch, minor, major) as an argument.

Pre-flight Checks

Before changing anything, perform the following in order:

  1. Run git status. If there are uncommitted changes, stop and ask the user to commit or stash them first. A release must contain only committed work.
  2. Confirm the current branch is the release branch (main or master, or the branch named in a release guide such as RELEASING.md or CONTRIBUTING.md). If it is not, stop and tell the user.
  3. Run git fetch origin and compare with the upstream. If the local branch is behind, stop and ask the user to pull first.
  4. Read CHANGELOG.md. If it does not exist, or the [Unreleased] section is empty, stop and tell the user there is nothing to release.
  5. Find the latest version from git tag --list --sort=-v:refname and from the newest dated section in the changelog. If they disagree, report both and ask which one is correct.
  6. Look for a validation or test command (for example scripts/validate.mjs, npm test, make test) and run it. If it fails, stop and report the failure.
  7. List the files that carry a version number (for example package.json, .claude-plugin/plugin.json, pyproject.toml, Cargo.toml). These must be updated to the new version.

Workflow

Step 1: Choose the Version

  • If the user gave an explicit version, use it, but warn if it does not match the rules below.
  • Otherwise, derive the bump from the [Unreleased] entries using Semantic Versioning:
    • MAJOR: any change that breaks existing usage, such as a removed or renamed skill, command, or API, a required format change, or anything listed under "Removed" or marked as breaking.
    • MINOR: new capabilities with existing usage still working, such as anything under "Added".
    • PATCH: only fixes, under "Fixed" or "Security", with no new capability.
    • Internal-only changes (CI, tooling, docs) do not raise the bump above PATCH on their own.
  • The largest change in the release decides the bump.
  • Present the proposed version and the reason in one or two sentences, then ask the user to confirm.

Step 2: Update the Changelog and Version Files

  • Insert a new ## [vX.Y.Z] - YYYY-MM-DD heading directly under ## [Unreleased], so the existing entries move into the new version and [Unreleased] is left empty. Use today's date and match the heading style already used in the file (with or without the v prefix).
  • Update every version file found in Pre-flight Check 7 to the new version.
  • Run the validation or test command again.

Step 3: Commit and Tag

  • Stage only the changelog and version files.
  • Commit using the repository's existing release commit style, found with git log --oneline --grep=release. If there is none, use release: vX.Y.Z with a short bullet list of the main changes in the body.
  • Create an annotated tag: git tag -a vX.Y.Z -m "vX.Y.Z", using the same prefix style as existing tags.

Step 4: Mandatory Push Confirmation

Show the user:

  • The commit and tag that will be pushed, and the target remote and branch.
  • The release notes draft from Step 5.

Do not push until the user explicitly says yes. If the user declines, leave the commit and tag local, say so, and stop.

Step 5: Push and Publish

  • Push the branch, then the tag: git push origin <branch> and git push origin vX.Y.Z.
  • Draft release notes from the new changelog section. Match the format of previous releases (check with gh release view <previous-tag> if the GitHub CLI is available). End with a full changelog link comparing the previous tag to the new one.
  • If the GitHub CLI is available and authenticated, publish with gh release create vX.Y.Z --title vX.Y.Z --notes-file <file>. Otherwise, give the user the notes to paste into their hosting platform.
  • If the repository publishes packages on tag (for example an npm publish workflow), check the run with gh run list and report its result.

Rules

  • Never release uncommitted work, and never release from a branch that is behind its upstream.
  • Never push a commit or tag, or publish release notes, without explicit user confirmation.
  • Never use --force on pushes or tags, and never move or delete an existing tag. If a tag already exists for the chosen version, stop and ask the user.
  • Never invent changelog entries. Release notes must come only from the [Unreleased] section and the commits since the previous tag.
  • Never skip a failing validation or test command.

Output Format

At the end of the workflow, report:

  1. Version — the new version and why that bump was chosen.
  2. Files Updated — the changelog and every version file changed.
  3. Commit and Tag — the short commit hash, message, and tag name.
  4. Push Result — success with remote and branch, or the exact error.
  5. Release — the release URL, or the notes to publish manually.
  6. Follow-up — the status of any publish workflow triggered by the 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.