agentleFS
AdamAkhlaqAdamAkhlaq/agent-utils/.claude/skills/release/SKILL.md

release

Skill0 starsChanged 44 days agoMITView on GitHub

Cut an agent-utils release. Picks the SemVer bump from the commits since the last tag, previews the changelog, tags only after explicit approval, then verifies the published release the way a user installs it.

  • Installs packages
  • Commits and pushes

193 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 6 projects that use this

  • GrinvSkill

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

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

  • m13vSkill

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

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 2

    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. Distinctive:

    Stop and report if main's CI isn't green, or if an open PR looks like it was meant to be in this release.

    line 27
  2. Very specific:

    Only docs, test, chore, ci, build, or refactor: there is nothing for users.

    line 41
  3. Very specific:

    Read the diffs of anything ambiguous rather than trusting the subject: a fix: that changes output shape is breaking.

    line 44
  4. Distinctive:

    If the workflow fails, report the failing step and stop.

    line 71

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

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

Release

Requested version: $ARGUMENTS (empty means: propose one)

A release is a tag on main. Pushing it runs .github/workflows/release.yml, which uses GoReleaser (.goreleaser.yaml) to cross-compile, build the changelog from commit subjects, and publish the GitHub Release. A pushed tag is public and permanent in practice, so nothing in step 4 happens without an explicit go-ahead in this conversation.

1. Preconditions

git fetch --tags origin
git status --short                                     # nothing that matters uncommitted
gh run list --branch main --workflow ci --limit 1      # latest main run: completed, success
gh pr list --state open                                # anything meant for this release still open?

Stop and report if main's CI isn't green, or if an open PR looks like it was meant to be in this release.

2. Decide the version

last=$(git tag --list 'v*' --sort=-v:refname | grep -v -- - | head -1)
git log --format='%h %s' "$last"..origin/main
  • Any subject with ! before the colon (feat!:), or a change that renames a command or flag, changes a JSON output shape, or changes an exit code's meaning: major.
  • Otherwise any feat: minor.
  • Otherwise any fix or perf: patch.
  • Only docs, test, chore, ci, build, or refactor: there is nothing for users; say so and stop unless asked to release anyway.

Read the diffs of anything ambiguous rather than trusting the subject: a fix: that changes output shape is breaking. If a version was requested, check it against this and point out any mismatch. A pre-release (-rc.N) is published as a GitHub pre-release and never becomes releases/latest.

3. Preview and ask

Show the person:

  • the proposed tag and the commit it points at (git rev-parse --short origin/main);
  • the changelog as GoReleaser will group it: Breaking changes, Features, Fixes, Other (build, ci, refactor, perf), with docs, chore, and test left out;
  • anything users should know that the subjects don't say (new limits, behavior changes);
  • whether README.md describes anything not in this release.

Then wait. Only an explicit approval of this exact tag counts.

4. Tag and publish

Tags here are lightweight and point at a commit on main:

git tag vX.Y.Z "$(git rev-parse origin/main)"
git push origin vX.Y.Z
gh run watch "$(gh run list --workflow release --limit 1 --json databaseId -q '.[0].databaseId')" --exit-status

If the workflow fails, report the failing step and stop. Never delete, move, or re-push a tag, and never edit or delete a release, without being asked.

5. Verify what users get

gh release view vX.Y.Z --json assets -q '.assets[].name'

Expect six archives (agent-utils_{linux,darwin,windows}_{amd64,arm64}, .zip for Windows, .tar.gz otherwise) plus checksums.txt. Then, in an empty temporary directory, install it exactly as the README's quick start does, and check it:

base=https://github.com/AdamAkhlaq/agent-utils/releases/download/vX.Y.Z
asset="agent-utils_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz"
curl -fsSLO "$base/$asset" -O "$base/checksums.txt"
shasum -a 256 --check --ignore-missing checksums.txt   # <asset>: OK (sha256sum on Linux)
tar -xzf "$asset" agent-utils
./agent-utils version                                  # vX.Y.Z
./agent-utils commands | jq length                     # the number of registered commands

For a full release, also confirm that releases/latest now resolves to it and that go install github.com/adamakhlaq/agent-utils/v2@vX.Y.Z succeeds (the module proxy can take a few minutes).

Report the release URL, the version, and the verification results.

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.