agentleFS
ConfabulousDevConfabulousDev/confab-web/.claude/skills/cut-release/SKILL.md

cut-release

Skill15 starsChanged 3 months agoMITView on GitHub

Cut a new semver release — tag, write release notes with rigorous DB migration and API change verification, and publish via gh.

  • Commits and pushes

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ensure you're on main and up to date: git checkout main && git pull origin main

    line 16
  2. Very specific:

    Do not use --generate-notes.

    line 21
  3. Very specific:

    If any migration files exist, add a ## DB Migrations section listing each migration number, name, and what it does

    line 36
  4. Very specific:

    If none, write: ## DB Migrations / None.

    line 37
  5. Very specific:

    Run: git diff <prev-tag>..HEAD -- backend/API.md to detect documented API changes

    line 41
  6. Very specific:

    If any public API endpoints were added, removed, or changed, add a ## API Changes section listing each change with method, path, and …

    line 43
  7. Distinctive:

    Use a HEREDOC for the notes body to preserve formatting.

    line 56
  8. Very specific:

    Run gh release view v0.X.Y and confirm the notes look correct

    line 59

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

Cut a Release

Cut a new semver release for confab-web. Tags, writes release notes, and publishes to GitHub.

Instructions for Claude

Step 1: Determine the version and gather commits

  • Find the latest tag: git describe --tags --abbrev=0
  • Bump the patch version (e.g., v0.3.18 → v0.3.19) unless the user specifies otherwise
  • Ensure you're on main and up to date: git checkout main && git pull origin main
  • Gather commits: git log <prev-tag>..HEAD --oneline

Step 2: Write release notes

Do not use --generate-notes. Write release notes manually.

General sections

  • All commits listed with descriptions, grouped by category (Features, Bug Fixes, Security, Refactoring, Docs, CI, etc.)
  • Link to PRs where commits have them (e.g., [#20](url))
  • Breaking changes section covering: renamed/removed env vars, CLI impact, and any other breaking changes not covered by the elevated sections below

Elevated sections (mandatory — must not be missed)

Two categories get their own dedicated ##-level sections in every release. Verify these rigorously — do not rely on commit messages alone; check the actual diff.

DB Migrations
  • Run: git diff <prev-tag>..HEAD --name-only -- backend/internal/db/migrations/
  • If any migration files exist, add a ## DB Migrations section listing each migration number, name, and what it does
  • If none, write: ## DB Migrations / None.
API Changes
  • Run: git diff <prev-tag>..HEAD -- backend/API.md to detect documented API changes
  • Also check for new/modified routes: git diff <prev-tag>..HEAD --name-only -- backend/internal/api/
  • If any public API endpoints were added, removed, or changed, add a ## API Changes section listing each change with method, path, and description
  • If none, write: ## API Changes / None.

Step 3: Tag, publish, and verify

The release title must be just the version number (e.g., v0.3.19) — nothing else.

git tag v0.X.Y
git push origin v0.X.Y
gh release create v0.X.Y --title "v0.X.Y" --notes "<release notes>"

Use a HEREDOC for the notes body to preserve formatting.

After publishing:

  • Run gh release view v0.X.Y and confirm the notes look correct
  • Confirm the elevated sections (DB Migrations, API Changes) are present and accurate

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.