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

release

Skill16 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

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

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