agentleFS
antithesishqantithesishq/antithesis-plugin/.agents/skills/release/SKILL.md

release

Skill25 starsChanged 34 days agoApache-2.0View on GitHub

Release the Antithesis plugin. Use when the user asks to "release the plugin", "cut a release", "bump the version", or gives a version, like "release plugin 0.2.0".

  • 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

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 12 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 5

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

    Wait while the user reviews the PR and merges it.

    line 11
  2. Distinctive:

    Only a tag makes a GitHub release.

    line 15
  3. Distinctive:

    Before changing anything, check:

    line 27
  4. Very specific:

    No release PR is open: gh pr list --state open --limit 1000 --json url,headRefName,isCrossRepository --jq '.[] | select((.headRefName | …

    line 32
  5. Distinctive:

    If a check fails, tell the user and stop.

    line 34
  6. Distinctive:

    Write the notes from what changed, not from PR descriptions.

    line 38
  7. Distinctive:

    If there is no previous release, write a short summary of what the plugin does instead: its modules, and the platforms it installs on.

    line 47
  8. Distinctive:

    Write the notes at the level of modules and what the agent does differently:

    line 49
  9. Distinctive:

    Leave out rewording that doesn't change what the agent does, and internal changes: CI, scripts, this skill, contributor docs.

    line 52
  10. Distinctive:

    Write each entry as the net change since the previous release.

    line 53
  11. Very specific:

    Put the notes in CHANGELOG.md under # Version X.Y.Z (YYYY-MM-DD) with today's date, above every other version, and below the HTML comments …

    line 57
  12. Very specific:

    Run scripts/set-version.py X.Y.Z, then scripts/set-version.py --check.

    line 63
  13. Distinctive:

    If git status shows any other change, stop: the release commit holds only the notes and the version.

    line 75
  14. Distinctive:

    Don't merge the PR yourself.

    line 79
  15. Distinctive:

    If someone who can write to the repository asks to abort the release, close the PR and stop.

    line 88
  16. Very specific:

    When the watcher prints merged, go on to "Watch the tag and the release".

    line 89
  17. Very specific:

    When Release passes, check that targetCommitish from gh release view vX.Y.Z --json url,targetCommitish,isPrerelease is the merge commit, …

    line 102

“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 the plugin

You drive a release end to end, and watch every step until it finishes:

  • Open a pull request, from a release/vX.Y.Z branch, that bumps the plugin's version and adds its notes to CHANGELOG.md, and watch its checks.
  • Wait while the user reviews the PR and merges it.
  • Watch the Tag release workflow (.github/workflows/tag-release.yml). The merge of a release/ branch starts it: it tags the merge commit as vX.Y.Z, and runs the Release workflow (.github/workflows/release.yml) on the tag.
  • Watch the Release workflow. It verifies the tag, runs every check, and creates the GitHub release with that version's CHANGELOG.md section as its notes.

Only a tag makes a GitHub release. CI never does, whatever version the default branch is at.

Users install the plugin from the default branch, and Claude Code and Codex update it when its version changes. So merging the PR ships the version to every user, and the tag and release record it.

The Release PR workflow (.github/workflows/release-pr.yml) opens a release PR every weekday on its own, when CI passed on the default branch and the plugin changed since the last release. Claude picks the version and writes the notes as "Pick and check the version" and "Write the notes" say, in a job that can't write to the repository. Another job writes them to CHANGELOG.md, sets the version, and opens the PR. Started by hand, it takes an optional version, which may be a release candidate: Claude uses it, and the workflow releases even when nothing changed.

A release is X.Y.Z. A release candidate is X.Y.Z-rc.N, and follows the same steps: its PR bumps the default branch to the candidate, so every user gets it too, and its GitHub release is a pre-release. Below, X.Y.Z stands for the whole version, with its -rc.N for a candidate.

Pick and check the version

Get the current version from plugins/antithesis/plugin.json. If the user gave a version, strip any leading v. Otherwise, pick the next one once you've read the changes in "Write the notes": bump the minor version if any change is breaking, and the patch version otherwise. When the user asks for a release candidate, the next one after X.Y.Z-rc.N is X.Y.Z-rc.N+1, and the first is -rc.1 of the version you'd pick. Releasing a candidate's X.Y.Z drops the suffix. Say which you picked and why in the PR, so the user can change it in review.

Before changing anything, check:

  • The version is MAJOR.MINOR.PATCH or MAJOR.MINOR.PATCH-rc.N, and higher than the current version. A candidate is lower than its release: 0.1.0-rc.2 is above 0.1.0-rc.1 and 0.0.9, and below 0.1.0.
  • git tag -l vX.Y.Z and gh release view vX.Y.Z find nothing.
  • git status --porcelain is empty, and you're on the default branch, up to date with the remote.
  • No release PR is open: gh pr list --state open --limit 1000 --json url,headRefName,isCrossRepository --jq '.[] | select((.headRefName | startswith("release/")) and (.isCrossRepository | not)) | .url' prints nothing.

If a check fails, tell the user and stop.

Write the notes

Write the notes from what changed, not from PR descriptions. A description can show an approach that changed in review, and a later PR can change the behavior again.

Find the previous release, skipping candidates: git fetch --tags && git tag -l 'v[0-9]*' --sort=-v:refname | grep -v -- -rc | head -1. Every candidate's notes, and the release's, cover everything since that release. Read what users get from the plugin since then:

  • What the skill tells agents to do: git diff vPREV..HEAD -- plugins/antithesis/skills/.
  • How users install it and what it needs: git diff vPREV..HEAD -- plugins/antithesis/*.json plugins/antithesis/.*-plugin/ .claude-plugin/ .agents/plugins/ README.md docs/.

Then list the commits with git log --oneline vPREV..HEAD. When the diffs don't explain a change, read its commit with git show <sha>. Use the PR number, (#N) at the end of a squash-merged subject, only to link the entry.

If there is no previous release, write a short summary of what the plugin does instead: its modules, and the platforms it installs on.

Write the notes at the level of modules and what the agent does differently:

  • One entry per module or feature. Merge the PRs that changed the same thing into one entry.
  • Leave out rewording that doesn't change what the agent does, and internal changes: CI, scripts, this skill, contributor docs.
  • Write each entry as the net change since the previous release. A module that's new in this release is one entry, not the PRs that built it. When one change reverses another, leave out both.
  • Put breaking changes first, then the rest, largest first. A change is breaking if something that worked with the previous release now fails or needs the user to act: a renamed module or command, a new requirement on the user's setup, a changed harness layout that existing workloads need to adopt. Start each with **Breaking**: and say what to do instead.
  • Link every PR that contributes to an entry, under the repository's URL from gh repo view --json url -q .url, e.g. ([#7](https://github.com/antithesishq/antithesis-plugin/pull/7)).

Put the notes in CHANGELOG.md under # Version X.Y.Z (YYYY-MM-DD) with today's date, above every other version, and below the HTML comments at the top of the file.

CHANGELOG.md holds at most one candidate's section, at the top. A new candidate replaces the previous candidate's section, heading and notes, with its own. A release replaces it with the release's section. check:changelog fails otherwise. Then check that scripts/changelog-section.py X.Y.Z prints them: the release workflow uses the same script.

Bump the version

Run scripts/set-version.py X.Y.Z, then scripts/set-version.py --check. This sets the version in every manifest, and in the skill's SKILL.md, where agents read it.

Open the PR

git switch -c release/vX.Y.Z
git add CHANGELOG.md plugins/antithesis/plugin.json plugins/antithesis/.claude-plugin/plugin.json plugins/antithesis/.devin-plugin/plugin.json plugins/antithesis/.cursor-plugin/plugin.json plugins/antithesis/skills/antithesis/SKILL.md
git commit -m "Release antithesis plugin X.Y.Z"
git push -u origin release/vX.Y.Z
gh pr create --title "Release antithesis plugin X.Y.Z" --body "<body>"

If git status shows any other change, stop: the release commit holds only the notes and the version.

In the body, say which version this releases and which release the notes start from. If you picked the version yourself, say why. Say that merging doesn't create the release: you tag the merge commit once it lands.

Don't merge the PR yourself. Give the user the PR's URL.

Watch the PR until it merges

Invoke the watch-pr skill with the PR's number. It runs the watcher, and says how to read each event, whose comments to act on, and how to reply. The user asks for changes in comments, and review bots comment too.

For a release PR, also:

  • A fix that isn't the notes or the version, like a lint rule or a script, can go in the release PR. Say why in the PR body.
  • If someone who can write to the repository asks to abort the release, close the PR and stop.
  • When the watcher prints merged, go on to "Watch the tag and the release". When it prints closed without merge, stop.

Watch the tag and the release

Get the commit that the PR's merge put on the default branch, gh pr view N --json mergeCommit --jq .mergeCommit.oid. Tag release tags that commit, never the branch's head: another PR can land right after this one, and it must not be released. Before it tags, it runs scripts/verify-release.py vX.Y.Z <merge commit> origin/main, which reads the files at the commit, and checks that it is on the default branch, that every manifest has the version, that CHANGELOG.md has its notes, and that the tag isn't taken or released.

Find each run with gh run list --workflow <file> --commit <commit> --json databaseId,headBranch,status. Tag release runs on the PR's merge, so GitHub records it under the PR's head commit, gh pr view N --json headRefOid --jq .headRefOid. Release runs on the tag, so it's under the merge commit, with the tag as its headBranch. Each can take a few seconds to appear.

Watch a run with gh api, not gh run watch or gh run view. They fetch jobs from GitHub's absolute jobs_url, which bypasses a proxy set as gh's host. Every 30 seconds or so, check:

  • the run: gh api repos/{owner}/{repo}/actions/runs/<id> --jq '.status, .conclusion', until status is completed
  • its jobs: gh api 'repos/{owner}/{repo}/actions/runs/<id>/jobs?per_page=100' --jq '.jobs[] | [.id, .name, .status, .conclusion] | @tsv'

When Release passes, check that targetCommitish from gh release view vX.Y.Z --json url,targetCommitish,isPrerelease is the merge commit, and that it's a pre-release exactly when the version is a candidate. Give the user the release's URL.

If a run's conclusion isn't success, read each failed job's log with gh api --allow-escape-sequences repos/{owner}/{repo}/actions/jobs/<job id>/logs | sed 's/\x1b\[[0-9;]*[A-Za-z]//g' | tail -100 (gh refuses to print the log's color codes without the flag, and sed strips them), and tell the user what failed. A check that failed for a transient reason, like a link that was briefly down, can be rerun with gh api -X POST repos/{owner}/{repo}/actions/runs/<id>/rerun-failed-jobs. Then watch the run again. When Tag release failed, don't tag the commit yourself unless the user asks. Never move or delete a pushed tag without asking the user.

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.