agentleFS
leekleek/agent-skills/skills/release/SKILL.md

release

Skill5 starsChanged 10 days agoMITView on GitHub

Commit this session's work, bump the version, tag, push, and publish a GitHub release with grouped notes. Use when the user asks to release, cut, tag, or publish a version.

  • 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

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

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 3

    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
  • could be automatic: a setting could enforce it
  1. Very specific:

    Preflight: Run gh auth status, git fetch, and git describe --tags --abbrev=0.

    line 15
  2. Distinctive:

    Commit this session's work: Only files *you* created, edited, or deleted in this conversation.

    line 21
  3. Very specific:

    Never git add -A, git add ., or commit -a.

    line 25
  4. Distinctive:

    Never force-push, and never move or delete a tag.

    line 74
  5. Distinctive:

    If the push in step 5 fails, leave the local tag in place and report the error.

    line 75

“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

Cut one release from the current branch: every commit since the last tag, plus this session's uncommitted work. One release, one version, one tag, one GitHub release page.

Process

  1. Preflight. Run gh auth status, git fetch, and git describe --tags --abbrev=0. Note the tag style (v1.2.3 or 1.2.3) from git tag --sort=-v:refname | head -1 and keep it. If the branch is behind its remote (git rev-list --count HEAD..@{u} is not 0), stop: a release must not race someone else's push. No tag at all means a first release; read the version from the version file in step 4, or use v0.1.0. Done when you are authenticated, hold the last tag, and the branch is not behind.
  2. Commit this session's work. Only files you created, edited, or deleted in this conversation; git status --porcelain lines you did not touch belong to a parallel session and stay out. Changes under .claude/agent-memory/ are always yours too, whoever wrote them: they are the notes of agents with memory: project, not a parallel session's work in progress, so they ride along in your commit (git add -- .claude/agent-memory). git add -- <new-path> each new file, then git commit --only -m "<type(scope): subject>" -- <path> … (options before the --). Never git add -A, git add ., or commit -a. A file that mixes your hunks with foreign ones is left out and named in the report. Skip this step when there is nothing of yours to commit. Done when git status --porcelain shows none of your files.
  3. Choose the version. git log <last-tag>..HEAD --format='%h %s'. No commits means nothing to release. When step 2 left changes out as not this session's, ask once which to commit (they are often the user's own earlier work): a structured question (harness-tools), multiSelect: true with one option per file (at most 4 per question, further questions for the rest); otherwise list them in chat and wait. Commit the picked ones as step 2 does and continue. Otherwise say so and stop. Bump from $0 when given; otherwise from the subjects: ! or BREAKING CHANGE → major (minor while still 0.x), any feat → minor, anything else → patch. Done when the new version is stated with the rule that chose it.
  4. Bump the version files. Find every file whose version string equals the last tag: .claude-plugin/marketplace.json, .claude-plugin/plugin.json, package.json, pyproject.toml, Cargo.toml, VERSION, or whatever the repo uses. A repo can keep the same version in more than one (this one keeps it in both .claude-plugin files), and a file left behind stops installs from updating. In each, replace exactly that string; assert it matched once. Commit them alone, in one commit: git commit --only -m "chore(release): <version>: <summary>" -- <file> …. The summary is $1 when given, otherwise the headline change in six words or fewer, matching the style of earlier release commits. A repo with no version file is versioned by its tags alone; skip the commit. Done when HEAD is the release commit or there was nothing to bump.
  5. Tag and push. A pushed tag cannot be taken back, so first draft the step 6 notes and ask the user to confirm (a structured question (harness-tools): one single-select question, Tag and publish first, its preview showing the version, the rule that chose the bump, and the drafted notes; otherwise show the same in chat and wait). Act only on a yes. Then git tag -a <version> -m "<version>: <summary>", then git push origin <branch> <version> in one command. First check that the tag is free with git tag -l <version> (empty output means free); stop if it already exists. Never probe with a bare git tag <version>: that creates a lightweight tag instead of checking. Done when the push reports both refs.
  6. Publish the confirmed notes. Write the notes from the diff, not from the subjects: one bullet per user-visible change, grouped under ## headings by area (the scopes in the subjects are a good start), the release commit itself omitted, no attribution trailers. --generate-notes alone is too thin; use it only to append the compare link. gh release create <version> --title "<version>: <summary>" --notes "$(cat <<'EOF' … EOF)". Done when gh release view <version> returns a URL.
  7. Report. The release URL, the two commit subjects with short SHAs, and any files deliberately left out of step 2 and why. When step 4 bumped .claude-plugin/marketplace.json, also print the command that refreshes the installed Claude Code plugin, using that file's name and the plugin name: claude plugin marketplace update <marketplace> then claude plugin update <plugin>@<marketplace>. For this repo that is claude plugin marketplace update leek-agent-skills && claude plugin update leek-skills@leek-agent-skills. The running session keeps the previous plugin until it restarts.

Guardrails

  • Release the current branch as it stands. No branch switching, no amend, no rebase, no stash, no reset: a parallel session's uncommitted work is unrecoverable if discarded.
  • Never force-push, and never move or delete a tag. A wrong version gets the next version.
  • If the push in step 5 fails, leave the local tag in place and report the error; do not retry with different flags.

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.