agentleFS
syndicaltsyndicalt/zaxy/.claude/skills/release/SKILL.md

release

Skill17 starsChanged 5 months agoMITView on GitHub

Cut a zaxy-memory release end-to-end — version bump (all 3 fields), CHANGELOG, PR, CI watch, rebase-merge, master-CI verify on the exact tip, GitHub Release → PyPI publish, post-verify. Use when the user says "cut a release", "ship X.Y.Z", "release this", or after merged work needs to reach PyPI.

  • 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

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

  • 0

    Common

    Most of the 179 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:

    Add/finalize ## X.Y.Z - YYYY-MM-DD at the top (rename ## Unreleased if present).

    line 41
  2. Very specific:

    All checks must pass. If coverage fails see the ci-triage skill — never lower the floor.

    line 55
  3. Distinctive:

    If docs/site content changed, confirm the Pages deploy ran.

    line 105

“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 zaxy-memory

Publishing is irreversible. Two hard gates in this flow require an explicit user go: creating the GitHub Release (step 7) is the only one that publishes.

0. Decide the version

Patch = fixes only. Minor = features/CLI surface changes. Any Breaking entry (even a disclosed one) still fits minor pre-1.0-style per this repo's history (3.1.0 broke export). Confirm choice with the user if mixed.

1. Preflight

cd <repo> && git checkout master && git pull -q origin master
git status --porcelain --untracked-files=no   # must be empty
git log --oneline -3
  • Working tree must be clean. Untracked scratch (reports dirs, .claude/) stays out.
  • Identify what's shipping: git log v<PREV>..HEAD --oneline.

2. Bump the version — THREE fields, not one

grep -n '<OLD_VERSION>' pyproject.toml server.json

Edit all of:

  1. pyproject.toml → version = "X.Y.Z"
  2. server.json top-level "version"
  3. server.json → packages[0].version ← the one that historically gets missed

Re-grep for the old version in both files; zero hits or you're not done.

3. CHANGELOG

Add/finalize ## X.Y.Z - YYYY-MM-DD at the top (rename ## Unreleased if present). Keep-a-Changelog categories (### Added/Changed/Deprecated/Breaking/Fixed), bold-lead bullets, candid tone. Breaking changes get a migration line.

4. Release PR

git checkout -b release/X.Y.Z
git add pyproject.toml server.json CHANGELOG.md
git commit  # "release: X.Y.Z — <em-dash summary>" + body + Co-Authored-By trailer
git push -u origin release/X.Y.Z
gh pr create --base master --title "release: X.Y.Z — <summary>" --body "<what it bundles>"
gh pr checks <N> --watch --interval 30

All checks must pass. If coverage fails see the ci-triage skill — never lower the floor.

5. Merge (rebase, never squash)

gh pr merge <N> --rebase --delete-branch
git checkout master && git pull -q origin master

6. Verify master CI on the EXACT merged tip

CI runs are per-SHA — a green "latest" may be the previous tip.

git rev-parse HEAD
gh run list --branch master --workflow CI --limit 3 --json headSha,status,conclusion,databaseId
# the run whose headSha == HEAD must conclude success:
gh run watch <RUN_ID> --interval 30 --exit-status

7. HARD GATE — ask the user

State plainly: "master is green at <SHA>; creating the GitHub Release publishes X.Y.Z to PyPI and cannot be undone. Go?" Do not proceed on silence or prior approvals from other releases.

8. Publish (Release event fires publish.yml — tag push alone does NOT)

gh release create vX.Y.Z --target master \
  --title "vX.Y.Z — <summary>" --notes-file <notes.md>

Notes: condensed CHANGELOG section; lead with the install one-liner when relevant.

9. Watch the publish + confirm PyPI

gh run list --workflow publish.yml --limit 1 --json databaseId -q '.[0].databaseId'
gh run watch <RUN_ID> --interval 20 --exit-status
# PyPI index lags ~1-2 min; poll:
curl -s https://pypi.org/pypi/zaxy-memory/X.Y.Z/json | python -c "import sys,json;print(json.load(sys.stdin)['info']['version'])"

The package is zaxy-memory (bare zaxy on PyPI is an unrelated squatter — never reference it).

10. Post-verify

curl -s -o /dev/null -w '%{http_code}\n' https://zaxy.io          # 200
curl -s -o /dev/null -w '%{http_code}\n' https://zaxy.io/install.sh  # 200

If docs/site content changed, confirm the Pages deploy ran. Report the final state with the release URL and PyPI version, and note anything intentionally NOT shipped.

Failure handling

  • PR CI red → fix on the release branch (ci-triage skill); never merge red.
  • Publish workflow fails AFTER release creation → do NOT delete/recreate the release; rerun via gh run rerun or workflow_dispatch, and tell the user.
  • Discovered a bad artifact post-publish → you cannot unpublish; the fix is a new patch release. Say so plainly.

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.