agentleFS
henit-chobisahenit-chobisa/deck/.agents/skills/cut-a-release/SKILL.md

cut-a-release

Skill33 starsChanged 27 days agoApache-2.0View on GitHub

Ship a new version of deck. Use whenever a release, a version bump or a tag is asked for — "cut a release", "log a release", "ship it", "let's release". Six things have to move together and they are in four different places; missing one leaves somebody installing a version that reports the wrong number or a tap pointing at a tag that does not exist.

  • Commits and pushes

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. GCarin1/Doctrina★ 1same name
    2. royalpinto007/ship-skills★ 1same name
    3. takealook97/vat★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    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. Very specific:

    If the release is only the skill, say so: crates/app/skill/ is read from disk by their agents, so a copy of SKILL.md and references/ to …

    line 113

“Common” is measured: kept by at least 6 in 10 of the 3 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

Cutting a release

Six things move together. They have been got wrong in every order, so this is the order.

Before anything

cargo fmt --all
RUSTFLAGS="-D warnings" cargo clippy --workspace --all-targets
cargo test --workspace

A release is the worst time to find out clippy is unhappy, because the tag is already pushed by the time you notice.

1. What is the next number?

Check the tags, do not assume.

git tag | sort -V | tail -3

Cargo.toml is not the authority here — it has been behind a tag before. If v0.0.8 exists, the next one is v0.0.9, whatever the manifest says.

2. Bump the manifest

sed -i '' 's/^version = "0.0.8"$/version = "0.0.9"/' Cargo.toml
cargo check -q          # updates Cargo.lock, which must be committed too

The four crates take version.workspace = true, so this is the only edit. If you skip cargo check, Cargo.lock still says the old version and the commit is half a bump.

3. Commit and tag

git add -A
git commit -m "Cut 0.0.9

One line on what it is."

git tag -a v0.0.9 -m "deck v0.0.9

What changed, in a few lines."

git push origin main --follow-tags

--follow-tags pushes both. Pushing the branch and forgetting the tag is the most common way to end up with a release nobody can install.

4. Point the tap at it

Edit the tap Homebrew actually reads, not a clone somewhere else:

TAP=/opt/homebrew/Library/Taps/henit-chobisa/homebrew-deck
sed -i '' 's/tag: "v0.0.8"/tag: "v0.0.9"/' "$TAP/Formula/deck.rb"
git -C "$TAP" commit -am "Point at v0.0.9"
git -C "$TAP" push origin main

This has gone wrong once and it was confusing: the edit was made in a clone under /tmp, pushed to GitHub, and brew upgrade kept saying the current version was already installed — because Homebrew reads its own checkout and nothing had told it to fetch. Editing the one under Library/Taps avoids the whole question.

Confirm before telling anybody it is ready:

brew info deck | head -2      # should say 0.0.8 -> stable 0.0.9

5. Write the release

gh release create v0.0.9 \
  --repo henit-chobisa/deck \
  --title "v0.0.9 — a short name for what changed" \
  --notes-file /tmp/notes.md \
  --prerelease

Notes are for somebody deciding whether to upgrade. Lead with what they get, then what was broken. Say a limitation once, where it is relevant, and not again — a release note that repeats the same caveat every time reads as a project apologising for itself rather than one shipping.

6. Say what the reader has to do

Tell them the command, and whether they need it:

brew upgrade deck

If the release is only the skill, say so: crates/app/skill/ is read from disk by their agents, so a copy of SKILL.md and references/ to ~/.agents/skills/deck/ reaches them immediately and the upgrade only re-syncs the copy inside the binary.

Warn them not to run deck setup before upgrading in that case — it writes the binary's older embedded skill back over the newer file.

The checklist

  • fmt, clippy with -D warnings, tests
  • next number taken from git tag, not from the manifest
  • Cargo.toml and Cargo.lock both bumped
  • tag pushed (--follow-tags)
  • tap under Library/Taps edited and pushed
  • brew info deck shows the new version
  • release notes written
  • the reader told what to run

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.