Agent skill

Release

by jaemk in jaemk/cached

Prepare a release (bump versions across all Cargo.toml files, update CHANGELOG.md, refresh the migration guide, regenerate README, commit), or run a pre-release review.

MITAuto-check passedDevelopment

Install Release

skills CLI
$ npx skills add jaemk/cached --skill release -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jaemk/cached release --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jaemk/cached.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/release .claude/skills/release && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
release
GitHub stars
2.1k
Token cost
~2.8k tokens
SKILL.md length
1,379 words
Files
2
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Prepare a release (bump versions across all Cargo.toml files, update CHANGELOG.md, refresh the migration guide, regenerate README, commit), or run a pre-release review.

  • Works in 9 steps: Determine which crates to bump → Update Cargo.toml versions → Update CHANGELOG.md → …
  • Asked to cut a release
  • SKILL.md covers Input, Release review and Version bump
  • Runs Shell scripts from its folder; calls git, cargo and gh

What it does

Release is an agent skill from jaemk/cached. Prepare a release (bump versions across all Cargo.toml files, update CHANGELOG.md, refresh the migration guide, regenerate README, commit), or run a pre-release review. The review option kicks off a consistency review and an API-examination review to surface lingering inconsistencies and a categorized list of breaking and non-breaking improvements before you cut the release — advisory only, it changes nothing. Use when asked to "cut a release", "bump the version", "prepare a release", "release X.Y.Z", or "do a…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `detect-crates.sh`).

It sits in Development, covering Changelog and release notes and Code migrations. It works with Rust. The repository describes itself as: Rust cache structures and easy function memoization. The licence is MIT.

When your agent uses it

  • Asked to cut a release
  • Bump the version
  • Prepare a release
  • Do a release review / review for release

Example prompts

  • “cut a release”
  • “bump the version”
  • “prepare a release”
  • “/release”

Requirements

  • A Bash shell

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Determine which crates to bump
  2. Update Cargo.toml versions
  3. Update CHANGELOG.md
  4. Create or update migration guide
  5. Regenerate README
  6. Verify
  7. Commit or amend
  8. Report
  9. Stop here

What it can do on your machine

Read from SKILL.md and the folder at commit 9da0ec2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • cargo
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Release loads about 2.8k tokens when it runs. Until then it costs about 160 tokens; SKILL.md has 1,379 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~160
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jaemk/cached at commit 9da0ec2, republished under its MIT licence (© jaemk). 1,379 words, ~2,766 tokens.

Download SKILL.mdSave it as .claude/skills/release/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
release
description
Prepare a release (bump versions across all Cargo.toml files, update CHANGELOG.md, refresh the migration guide, regenerate README, commit), or run a pre-release review. The `review` option kicks off a consistency review and an API-examination review to surface lingering inconsistencies and a categorized list of breaking and non-breaking improvements before you cut the release — advisory only, it changes nothing. Use when asked to "cut a release", "bump the version", "prepare a release", "release X.Y.Z", or "do a release review" / "review for release". Takes a version string (e.g. `/release 1.2.0`) or `review` as the argument.

Release

Prepare a new release by bumping versions and updating the changelog — or, with the review option, run a pre-release audit that surfaces inconsistencies and improvement ideas without changing anything.

Input

The argument selects the mode:

  • review (or "release review", "review for release", "pre-release review") — run the Release review below. This is advisory only: it bumps nothing, edits no files, and makes no commit. Run it before cutting a release.
  • A version string (e.g. 1.2.0) — run the Version bump flow (the numbered steps). If no argument is given and the intent is clearly to cut a release, ask which version.

If the user asks for a release review and then to proceed, run the review first and the version bump second.

Release review

A pre-release audit. Run it before cutting a release — especially a major version, since a major bump is the only window in which breaking API changes are acceptable. It does not bump versions, edit the changelog/README, or commit anything; it produces a report. It kicks off two complementary reviews, then synthesizes them.

A. Consistency review

Audit the public surface for lingering inconsistencies across the whole crate, not just the latest diff. Scope it to everything accumulated since the last released version.

Establish the baseline with plain, side-effect-free commands — run each separately rather than nesting a $(…) command substitution, so each invocation can be statically verified and auto-approved (a $(git …) substitution defeats static analysis and forces a prompt):

bash
git describe --tags --abbrev=0    # last released tag
git tag --sort=-creatordate       # full tag list, newest first
git log --oneline -20             # recent commits — find the last "Release"/"release" commit

Read the last-released version off the result, then diff against it explicitly, e.g.:

bash
git diff v1.1.0..HEAD --stat      # substitute the real last-released ref

Tags in this repo are unreliable — they have lagged the crate version before (e.g. git describe returned v0.8.0 while the crate was at 2.0.0). Do not trust the tag blindly. Cross-check it against the […] version headings in CHANGELOG.md and the most recent Release/release commit in the log; if they disagree, use the last actually released commit (the one matching the newest released CHANGELOG section) as the diff baseline, not the stale tag.

Check for:

  • Naming parity — do sibling types/methods share vocabulary? (e.g. max_size vs size, with_* constructors, try_with_* fallible variants, cache_* method prefixes). Flag any odd-one-out.
  • Builder / constructor symmetry — does every store with a builder expose the same setters where they make sense? Does each family (plain vs sharded, LRU vs TTL) have parallel constructors?
  • Trait-method parity — do the sync / async / sharded variants of a trait expose the same method set with consistent signatures (&self vs &mut self)?
  • Feature-gate symmetry — is each public item gated behind exactly the features it needs, and are paired items gated consistently?
  • Doc / CHANGELOG / migration-guide alignment — do the docs, the [Unreleased] CHANGELOG section, and the migration guide accurately describe the shipped API (named types, signatures, attribute names, feature gates)?

Delegate the correctness/idiom sweep to a pr-code-reviewer sub-agent fed the full release diff, and reason through the cross-type parity items yourself — they need a whole-surface view the diff alone does not give.

B. API examination review

Run the consumer-experience-review skill. It builds a throwaway external consumer that depends on the crate the way a real user would and surfaces API gaps, naming inconsistencies, trait-import friction, and feature-flag dead-ends with compiler-verified evidence. This is the authoritative "what would a new user trip over" pass.

C. Synthesize the report

Merge both reviews into a single report. Apply no change — this mode is advisory. Produce:

  1. Lingering inconsistencies — a flat list of every inconsistency found, each with a file:line (or API path) and a one-line description.
  2. Recommended changes, split by impact:
    • Breaking — changes that alter the public API (renames, signature changes, removed items, new required trait methods). For each: what to change, why it improves the library, and the migration cost. Mark these "land now or wait for the next major" — a major-version release is the only non-breaking window to make them.
    • Non-breaking — additive or internal changes (new constructors, doc fixes, new re-exports, deprecations that keep the old path working). For each: what to change and why.
  3. Recommendation — is the library consistent enough to release as-is, or are there high-impact items that should land in this version first? Be explicit about which breaking items, if deferred, are stuck until the next major.

After presenting the report, ask whether to address findings first or proceed to the version bump below.

Version bump

These numbered steps are the default mode — run them when the argument is a version string, or after a release review once the user opts to proceed.

1. Determine which crates to bump

This repo has three crates:

  • cached — always bumped
  • cached_proc_macro — bump if this PR/branch touched cached_proc_macro/
  • cached_proc_macro_types — bump only if this PR/branch touched cached_proc_macro_types/

Run the helper script to detect which crates need bumping:

bash
.agents/skills/release/detect-crates.sh

This outputs one crate name per line based on git diff origin/master. Its diff base is only as good as the branch, so cross-check against the last release tag when the branch has been merged into already, e.g. git diff --name-only v3.0.0..HEAD -- cached_proc_macro/.

A subcrate that did not change stays at its current version, and its [dependencies.*] pin in the root Cargo.toml stays with it. bin/check-versions.sh does not require the three crates to move together; it requires each pin to equal that subcrate's own package version, and it forbids a stable root depending on a pre-release subcrate. A cached-only bump is normal and has shipped before ([2.0.2], [0.58.0]). Do not bump a subcrate just to keep the numbers aligned: that publishes a new version of an unchanged crate.

Show full SKILL.md (479 more words)Show less
2. Update Cargo.toml versions

Files to update (only for crates being bumped):

Cargo.toml (the cached crate):

  • [package] version → new version
  • [dependencies.cached_proc_macro] version → new version (if bumping proc_macro)
  • [dependencies.cached_proc_macro_types] version → new version (if bumping proc_macro_types)

cached_proc_macro/Cargo.toml:

  • [package] version → new version (if bumping proc_macro)

cached_proc_macro_types/Cargo.toml:

  • [package] version → new version (if bumping proc_macro_types)

Use precise string replacement — do not change dependency versions for third-party crates.

3. Update CHANGELOG.md
  • Replace ## [Unreleased] with ## [X.Y.Z / cached_proc_macro X.Y.Z] (include only the crates being bumped in the heading — omit cached_proc_macro_types if it is not bumped)
  • Add a fresh ## [Unreleased] section above the new version heading
  • The changelog must always have an [Unreleased] section at the top
4. Create or update migration guide

Every release requires a migration guide in docs/migrations/ named PREV-to-X.Y.Z.md (e.g. 1.1-to-1.2.md). If there are no breaking changes, the guide still must exist and must state there are no breaking changes.

Migration guides are written for agent consumption: terse, mechanical, grep-friendly. Required sections:

  • Versions header line
  • Breaking changes — one subsection per change with Detection (what to grep/search for) and Action (exact code transformation). If none, write "None. This release is purely additive."
  • New APIs — additive changes; note the feature gate if any
  • Required Cargo.toml change — exact before/after snippet
  • VERIFY — the cargo build / cargo test commands needed to confirm a successful migration, plus any expected new compile errors and their fixes

See existing guides in docs/migrations/ for the established format.

If the guide for this version already exists (e.g. was drafted ahead of the release), review it against the final diff and update any stale type names, method signatures, or behavior descriptions.

5. Regenerate README
bash
cargo readme --no-indent-headings > README.md
6. Verify
bash
cargo check --no-default-features --features "proc_macro,time_stores"

Fix any compilation errors before proceeding.

7. Commit or amend

If there is already a single commit ahead of master on this branch, amend it:

bash
git add Cargo.toml cached_proc_macro/Cargo.toml cached_proc_macro_types/Cargo.toml CHANGELOG.md README.md
git commit --amend --no-edit

Otherwise create a new commit:

bash
git commit -m "release: bump version to X.Y.Z"

Do not add a Co-Authored-By line.

8. Report

Tell the user:

  • Which crates were bumped and to what version
  • Whether cached_proc_macro_types was left unchanged and why
  • That README was regenerated
  • The resulting commit SHA
9. Stop here

Preparing the bump is the whole job. Do not tag, do not cargo publish, and do not run bin/tag-release.sh or bin/publish.sh. .github/workflows/release.yml does all of it once the version bump lands on master: it publishes in dependency order, tags, and creates the GitHub release. Merging the bump is the release.

So do not report tagging or publishing as outstanding work, and do not offer to run either by hand. If the user asks whether a release went out, check it rather than assuming:

bash
gh run list --workflow=release.yml --limit 3

A run can also be sitting on the environment: release approval gate, which looks identical to nothing having happened. Running the bin/ scripts locally is a fallback for the case where Actions cannot run them at all (an outage, or a run that died in a way gh workflow run release.yml --ref master cannot retry), not a normal step.

© jaemk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/release of jaemk/cached.

  • SKILL.md
  • detect-crates.sh

Open the folder on GitHubat commit 9da0ec2

Compare with similar skills

Release next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Release compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release this skilljaemk/cached2.1k—~2.8kAutomated safety check: PassMIT
Releasejaemk/self_update961—~2.2kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman41k—~2.6kAutomated safety check: PassGPL-3.0
Deprecate R Functions and Argumentstidyverse/dplyr5.1k1 repos~1.2kAutomated safety check: PassCustom licence
Release Skillsnexmoe/eve4213 repos~3.3kAutomated safety check: PassNone
Rust Path Typesopeninterpreter/openinterpreter69k2 repos~605Automated safety check: PassApache-2.0

Similar skills

  • Release

    jaemk/self_update

    Prepare a release (bump the crate version, update CHANGELOG.md with a migration guide for breaking changes, regenerate README, commit), or run a pre-release review.

    961 GitHub stars~2.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    41k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Walks through deprecating an R function or argument in a package: lifecycle warning, silenced tests, a new snapshot test, documentation badge and NEWS entry.

    5.1k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Release Skills

    nexmoe/eve

    Universal release workflow. An agent skill from nexmoe/eve.

    421 GitHub starsUsed in 3 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Rust Path Types

    openinterpreter/openinterpreter

    Rules for choosing Rust types for filesystem paths in new Codex code, covering protocol types, internal use and model tool arguments.

    69k GitHub starsUsed in 2 repos~605 tokens
    DevelopmentAuto-check passed
  • Measures a code port between languages or frameworks with jscpd's function-level comparison, porting tests before code and tracking what is left unmatched.

    6.3k GitHub stars~5k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from jaemk/cached

  • PR Cycle

    jaemk/cached

    PR review-and-update cycle — the orchestrator that takes a PR from review to resolved.

    2.1k GitHub stars~4.8k tokensUpdated 6 days ago
    Auto-check: notes
  • PR Review

    jaemk/cached

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/cached.

    2.1k GitHub stars~2.5k tokensUpdated 6 days ago
    Auto-check: notes
  • Review a library/package from the perspective of an external downstream consumer — build a throwaway crate/project that depends on it the way a real user would, exercise the public API, and surface…

    2.1k GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Works with

Categories

Questions about Release

What does Release do?

Prepare a release (bump versions across all Cargo.toml files, update CHANGELOG.md, refresh the migration guide, regenerate README, commit), or run a pre-release review. Release is an agent skill from jaemk/cached.md, refresh the migration guide, regenerate README, commit), or run a pre-release review.

When should I use Release?

Release fits situations like: asked to cut a release; bump the version; prepare a release; do a release review / review for release.

How do I install Release in Claude Code?

Run `npx skills add jaemk/cached --skill release -a claude-code`. Or copy the skill folder (.agents/skills/release in jaemk/cached) into .claude/skills/release in your project. Claude Code loads it when a task matches its description.

How do I install Release in Codex?

Run `npx skills add jaemk/cached --skill release -a codex`. Or copy the skill folder (.agents/skills/release in jaemk/cached) into .agents/skills/release in your project. Codex loads it when a task matches its description.

Can I use Release in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jaemk/cached --skill release -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release, .gemini/skills/release, .github/skills/release and .opencode/skills/release in your project.

What does Release need to run?

Going by SKILL.md and its folder, Release needs a shell for the scripts in its folder and the command-line tools its instructions call (git, cargo and gh). Our summary lists: A Bash shell.

Does Release access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Release safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Release use?

Release is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Release use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Release?

Skills that share tags, products or a category with Release: Release (jaemk/self_update, 961 stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 41k stars), Deprecate R Functions and Arguments (tidyverse/dplyr, 5.1k stars) and Release Skills (nexmoe/eve, 421 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release?

jaemk (a GitHub user) maintains it in jaemk/cached, which has 2,098 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 1, 2026.

Source: jaemk/cached on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.