agentleFS
atgreenatgreen/icl/.claude/skills/make-release/SKILL.md

make-release

Skill200 starsChanged 3 months agoMITView on GitHub

Cut a new ICL release. Bumps version in icl.asd and icl.el, verifies the build and tests pass, generates release notes, commits, tags, and pushes. Use when asked to "release", "cut a release", "bump version", or "tag a new version".

  • Commits and pushes

6 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. ocicl/ocicl★ 31857% same

    Wrote their own version · 5

    1. hathach/tinyusb★ 7.3ksame name
    2. quarto-dev/quarto-cli★ 6.2ksame name
    3. lfortran/lfortran★ 1.3ksame name
    4. tradingstrategy-ai/web3-ethereum-defi★ 830same name
    5. atgreen/cl-tuition★ 149same 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

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these steps exactly, stopping on any failure.

    line 11
  2. Very specific:

    If the user provided a version ($ARGUMENTS), validate that it matches MAJOR.MINOR.PATCH where each component is a non-negative integer (e.g.

    line 15
  3. Distinctive:

    If no version was provided, suggest one:

    line 17
  4. Very specific:

    Read the current version from :version in icl.asd.

    line 19
  5. Distinctive:

    Use the confirmed version as VERSION for all subsequent steps.

    line 30
  6. Distinctive:

    If output is non-empty, stop — this version has already been released.

    line 36
  7. Distinctive:

    If there are staged or unstaged changes to tracked files, stop and ask the user to commit or stash first.

    line 42
  8. Very specific:

    If the result is not green@moxielogic.com, stop and tell the user their git email is misconfigured for this repository.

    line 50
  9. Distinctive:

    If the branch is not master, or there are upstream commits not yet pulled, stop and tell the user.

    line 58
  10. Very specific:

    If the result is not success, stop and warn the user that CI is failing on master.

    line 64
  11. Distinctive:

    If the build fails, stop and report the failure.

    line 78
  12. Distinctive:

    If any tests fail, stop and report the failure.

    line 84
  13. Distinctive:

    Do NOT include internal changes (refactors, lint fixes, doc updates, CI changes, directory reorganization).

    line 101
  14. Distinctive:

    Ask the user for confirmation before pushing, then:

    line 114

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

Follow these steps exactly, stopping on any failure.

1. Determine version

If the user provided a version ($ARGUMENTS), validate that it matches MAJOR.MINOR.PATCH where each component is a non-negative integer (e.g. 1.24.0). If it doesn't, stop and tell the user.

If no version was provided, suggest one:

  1. Read the current version from :version in icl.asd.
  2. Review commits since the last tag:
    git log $(git describe --tags --abbrev=0)..HEAD --oneline
  3. Apply semver rules:
    • MAJOR bump: commits contain breaking changes (removed features, changed APIs, incompatible behavior)
    • MINOR bump: commits add new features, new commands, new capabilities
    • PATCH bump: commits are only bug fixes, documentation, or internal improvements
  4. Present the suggested version with a one-line rationale and ask the user to confirm or override.

Use the confirmed version as VERSION for all subsequent steps.

Check the tag doesn't already exist:

git tag -l "vVERSION"

If output is non-empty, stop — this version has already been released.

Ensure clean working tree:

git status --porcelain

If there are staged or unstaged changes to tracked files, stop and ask the user to commit or stash first.

Then check untracked files. If any look like they don't belong in the repo (log files, binaries, build artifacts, temp files, editor backups, etc.), list them and ask the user whether to clean up, add to .gitignore, or proceed anyway. Benign untracked files (e.g. .claude/, local config) are fine to ignore silently.

Verify git identity:

git config user.email

If the result is not green@moxielogic.com, stop and tell the user their git email is misconfigured for this repository.

Ensure we're on master and synced with remote:

git branch --show-current
git fetch origin master
git rev-list HEAD..origin/master --count

If the branch is not master, or there are upstream commits not yet pulled, stop and tell the user.

Check CI is green on HEAD:

gh run list --branch master --limit 1 --json conclusion --jq '.[0].conclusion'

If the result is not success, stop and warn the user that CI is failing on master. Ask whether to proceed anyway.

2. Update version

Edit icl.asd and set :version to "VERSION".

Edit emacs/icl.el and update the Version: header to VERSION.

3. Build and test

make clean && make 2>&1 | tail -5

If the build fails, stop and report the failure. Do NOT continue.

make test

If any tests fail, stop and report the failure. Do NOT continue.

4. Generate release notes

Create docs/release-notes/RELEASE-NOTES-VERSION.md.

To decide what goes in the notes, diff against the most recent tag:

git log $(git describe --tags --abbrev=0)..HEAD --oneline

Include ONLY user-facing changes:

  • Bug fixes
  • New features
  • Breaking changes (if any)

Do NOT include internal changes (refactors, lint fixes, doc updates, CI changes, directory reorganization). Those are visible in the git log for anyone who needs them.

Match the voice and format of previous release notes in docs/release-notes/.

5. Commit

git add icl.asd emacs/icl.el docs/release-notes/RELEASE-NOTES-VERSION.md
git commit -m "Boost version to VERSION"

6. Tag and push

Ask the user for confirmation before pushing, then:

git tag -s vVERSION -m "Release VERSION"
git push origin master
git push origin vVERSION

Pushing the tag triggers GitHub Actions which automatically builds all packages (Linux binary, RPM, DEB, Windows ZIP/NSIS/MSI, macOS tarballs) and creates 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.