agentleFS
zajcazajca/pohunek/.claude/skills/release/SKILL.md

release

Skill4 starsChanged 5 months agoMITView on GitHub

Cut a pohunek release with scripts/release — bump the workspace version, tag vX.Y.Z, push, and verify the GitHub Actions Release workflow builds and publishes the glibc + MUSL x86_64 binaries. Use when the user asks to cut or publish a new version.

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

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

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 3

    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:

    Cut the release: Run the real thing:

    line 54
  2. Very specific:

    Publish the notes: When a notes file was needed, attach it to the GitHub Release once the workflow has created it (gh release edit "vX.Y.Z" …

    line 66
  3. Distinctive:

    Never publish from a red commit.

    line 100
  4. Very specific:

    Do not hand-edit versions or push a tag outside scripts/release.

    line 102
  5. Distinctive:

    Verify the release actually published.

    line 103

“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 — cut and publish a release

Wraps scripts/release and the Release GitHub Actions workflow (.github/workflows/release.yml). Do the version bump through the script — never hand-edit Cargo.toml/Cargo.lock versions or hand-craft the tag.

Preconditions (the script enforces these; check them first)

  • On the release branch — main by default (override with POHUNEK_RELEASE_BRANCH). The script aborts if you are on another branch.
  • Working tree is clean. Commit or stash first; the script aborts on a dirty tree.
  • The gates pass on the commit being released. The Release workflow re-runs fmt/clippy/test + docs check on the tag, so a red commit publishes nothing — run the gates skill before tagging to fail fast locally.
  • The target tag does not already exist.

Steps

  1. Compare the compatibility constants. The script diffs these constants between the previous tag and HEAD: STORE_SCHEMA_VERSION (crates/daemon/src/store/), PROTOCOL_VERSION and MIN_PROTOCOL_VERSION (crates/protocol/src/version.rs), the worker protocol CURRENT_VERSION and PREVIOUS_VERSION (crates/worker-protocol/src/version.rs), WORKER_JOURNAL_SCHEMA_VERSION (crates/daemon/src/runtime/lifecycle.rs), and EXPECTED_INTEGRATION_VERSION (crates/protocol/src/integration.rs). Each one that changed alters the upgrade contract in AGENTS.md ("Upgrade window"), so the release needs a notes file with one line naming each changed constant and what an operator must do. Write it before the dry run and pass it as --notes FILE; the script aborts when a changed constant has no line.
  2. Confirm the bump. Determine patch, minor, major, or an explicit X.Y.Z from the user's request ("minor release" → minor).
  3. Dry-run first. Show what will happen without changing anything:

    scripts/release <patch|minor|major|X.Y.Z> [--notes FILE] --dry-run

    This prints the current and next version, the tag, and every changed compatibility constant with its old and new value. Confirm it matches intent.

  4. Cut the release. Run the real thing:

    scripts/release <patch|minor|major|X.Y.Z> [--notes FILE]

    The script bumps version in [workspace.package] in Cargo.toml, refreshes Cargo.lock, commits Release vX.Y.Z, creates an annotated tag vX.Y.Z, and pushes both the branch and the tag to origin. Use --no-push if the user wants to inspect the commit/tag locally before pushing (then push the branch and tag manually as the script prints).

  5. Publish the notes. When a notes file was needed, attach it to the GitHub Release once the workflow has created it (gh release edit "vX.Y.Z" --notes-file FILE) and confirm with gh release view "vX.Y.Z".
  6. Record the release. Via the github-workflow skill, comment the version/tag and release URL on any issue whose delivery this release completes (or opens a dedicated tracking issue beforehand when the release itself is planned work), and update the project status accordingly. Verify the writes from the API response.
  7. Verify the Release workflow — do not trust, confirm. Pushing the vX.Y.Z tag triggers .github/workflows/release.yml, which runs the fmt/clippy/test gate + docs-gate, then builds pohunek and pohunekd for both x86_64-unknown-linux-gnu (dynamic glibc, primary) and x86_64-unknown-linux-musl (fully static, runs on any x86_64 Linux), packages per-component tarballs with sha256 checksums in read-only build jobs, and the publish jobs (the only Linux jobs with a write token, no checkout) download each archive, check its checksum, and attach it to the GitHub Release. After sdk-gate passes, sdk-pack builds (read-only token) and sdk-publish attaches the TypeScript SDK tarballs pohunek-ts-{protocol,sdk,testkit}-X.Y.Z.tgz, each with a .sha256. Watch it to completion:

    gh run watch "$(gh run list --workflow=release.yml --limit 1 --json databaseId --jq '.[0].databaseId')"
    gh release view "vX.Y.Z"   # confirm the tarballs + .sha256 (incl. the three pohunek-ts-*.tgz) are attached
  8. Report. State the published version/tag, the workflow conclusion (success/failure with the failing job if any), and the attached artifacts. If the workflow failed, report why with output — a failed gate means no binary was published.

Constraints

  • Never publish from a red commit; the workflow will block it, so catch it locally.
  • Do not hand-edit versions or push a tag outside scripts/release.
  • Verify the release actually published; never report "released" from the tag push alone without checking the workflow and the GitHub Release.

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.