agentleFS
air-gappedair-gapped/lessence/.claude/skills/release/SKILL.md

release

Skill5 starsChanged 4 months agoMITView on GitHub

Release workflow for lessence — the owner starts a release and approves publishing it; the agent runs every step between: version bump, changelog, release-check, dry run. Use when preparing a release, checking whether one is ready, fixing a release that went wrong, or understanding how versions are managed.

  • 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

2 rules. 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    not: start one — push freely, but remember the repo is public and everything pushed is visible.

    line 21
  2. Very specific:

    Never tag by hand and never gh release create by hand: the workflow creates both, after the matrix.

    line 88

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

The owner decides twice; the agent runs every step between. The owner says when a release starts (step 0) and when it goes public (before step 7). There is no bot. release-please was removed on 2026-09-22 after it produced two tagged-but-unpublished versions and a stale changelog; nothing opens a PR against this repo any more.

A release is a tag plus a published GitHub release. Pushing main does not start one — push freely, but remember the repo is public and everything pushed is visible.

The sequence

Nothing here is optional and the order matters: the tag is a public claim and must never point at a commit that failed a check.

# 0. OWNER STOP: the owner says a release starts. Without that, stop here.

# 1. Everything intended for the release is committed and on main.
git status --short          # clean
git log --oneline <last-tag>..HEAD

# 2. Decide the version from what is IN that range, not from habit.
#    feat: -> minor. fix:/perf: -> patch. A changed or removed --format json
#    field, flag or exit code is BREAKING: minor while 0.x, major after 1.0.

# 3. Bump the version and write the changelog section BY HAND.
#    Users read this. Say what changed for them, not what moved in the code.
#    Read each line of the notes as a CLI user. A line a user would not
#    notice (tests, CI, refactors, internal cleanup) is dropped.
$EDITOR Cargo.toml CHANGELOG.md
cargo build --release        # refresh Cargo.lock
make gate                    # the pre-commit hook wants it for Cargo.toml
git commit -am "chore: release X.Y.Z"

# 4. Refresh the README compression table AFTER the bump: its freshness
#    check compares src/ and Cargo.toml, so a table measured before the
#    bump is stale by definition. Needs a release binary built from HEAD.
cargo build --release
./scripts/readme-compression.sh --write vX.Y.Z
git commit -am "docs: README compression table measured for vX.Y.Z"
#    The agent skill needs no step here: the commit-msg hook made every
#    user-facing src/ commit update it or say `Skill-Unchanged: <reason>`.

# 5. The gate: it decides whether the build passes its checks.
make release-check           # ~20 min

# 6. Dry run of the release on every platform: the whole test suite, the
#    build, the smoke tests and the packaging, natively on macOS and
#    Windows and under qemu for aarch64. Nothing is tagged or published.
#    Manual only — nothing builds on push.
git push origin main
gh workflow run release-build.yml --ref main
gh run watch "$(gh run list --workflow release-build.yml --limit 1 --json databaseId -q '.[0].databaseId')" --exit-status

# OWNER STOP: report the release-check and dry-run results and the
#    changelog section to the owner, and wait for his go-ahead to publish.
#    Without it, stop here: step 7 makes the release public.

# 7. The release, only after both passed and the owner said go. The same jobs run again, and only
#    if every one is green does the workflow create the tag and the GitHub
#    release at the tested commit (notes: the version's CHANGELOG.md
#    section), and only after that publish the crate. A perf delta over the
#    gate's threshold is the owner's call; once accepted, that gate line is
#    the one FAIL release-check may carry, and the handoff states it.
gh workflow run release-build.yml --ref main -f tag=vX.Y.Z
gh run watch "$(gh run list --workflow release-build.yml --limit 1 --json databaseId -q '.[0].databaseId')" --exit-status

# 8. After the release run, by hand: read gh run view <run id>; fix any
#    deprecation in its ANNOTATIONS section, and report runner migrations to
#    the PM.
gh run view "$(gh run list --workflow release-build.yml --limit 1 --json databaseId -q '.[0].databaseId')"

Never tag by hand and never gh release create by hand: the workflow creates both, after the matrix. That order is the fix for 0.8.0, which was released first and built second, and whose crate reached crates.io while macOS was failing to compile (yanked). It follows astral-sh/uv and ruff: a manual workflow whose default input is a dry run, release needing every build, publish-crate needing release.

What release-check proves

scripts/release-check.sh, writing target/gate/release.json:

CheckMeaning
gate vs the last published releasenot the last tag — a tag can exist with no release behind it, and comparing to it hides what the upgrade costs
mutants --in-diffthe tests kill the mutants the diff introduced
make cifmt, clippy, doc, tests, deny
slow teststhe wall-clock profile the default profile excludes
README compression tablegenerated at a commit whose src/ equals today's
agent skill moved with the behaviourevery user-facing src/ commit after sources.md's verified-at: updates the skill or carries Skill-Unchanged:
release targetscargo check --release --target for every shipped target: a Linux-only API is caught here, not on the release runners

The skill check used to be a GitHub check on the release-please PR branch. With no PR to hang it on it moved into release-check, because a check that only fires on a branch nobody creates is a check that never runs.

Perf against the last published release is measured by make release-check, which runs the gate against that release's build; state the cumulative number in the handoff.

Version rules

  • Cargo.toml is edited by hand now. Nothing rewrites it.
  • The tag is vX.Y.Z; Cargo.toml carries X.Y.Z.
  • The version string is CARGO_PKG_VERSION (src/cli.rs) plus the short commit sha from git rev-parse --short=9 (build.rs). It does not come from the tag: a build past a release reports the Cargo.toml version with its own sha, so bump Cargo.toml in the release commit.
  • A tag is public the moment it is pushed. Do not push one speculatively.

If something goes wrong

  • A build or test fails in the release run: nothing is public — the tag is created only after the whole matrix passes. Fix on main, push, and run the release again.
  • The crate did not publish (release created, publish-crate red): gh run rerun <run-id> --failed retries only that job. crates.io publishes are immutable; never publish from a laptop to work around it.
  • A published version is broken: yank it on crates.io (the owner holds the login), turn its GitHub release back into a draft, and supersede it — a yanked version can never be reused.

History worth keeping

Two releases, v0.6.0 and v0.7.0, were tagged and drafted but never published, while users stayed on v0.5.0. That is the failure this process exists to prevent: the drafts were deleted, the tags kept (they are true — those commits were tagged), and the next release supersedes them.

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.