agentleFS
jniltinhojniltinho/macos-kvm-gui/.claude/skills/create-release/SKILL.md

create-release

Skill1 starsChanged 30 days agoBSD-3-ClauseView on GitHub

Create a version tag and a GitHub Release for kvm-gui (or a reims-<commit> Reims vGPU release) with polished notes. Use when the user asks to release, cut a version, tag a release or publish a new version.

  • Installs packages
  • Commits and pushes

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

Adopted by

Most recently taken up by

Used with

Projects with it also use create-issue, create-pr and 1 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.
  • sahinSkill

    create-issue

    Also in 4 projects that use this

  • SentrySkill

    create-pr

    Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.

    Also in 5 projects that use this

  • DockerSkill

    review-pr

    Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 1

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

    Keep the last two releases of each series (gh release delete <tag> --cleanup-tag -y for older ones).

    line 15
  2. Very specific:

    Only fix:, perf:, refactor:, ci:, docs: or chore: → bump PATCH.

    line 33
  3. Distinctive:

    Always keep the home lab notice and say only what was really validated.

    line 75
  4. Very specific:

    Check the title, that it is latest, the five assets and the checksums.

    line 114
  5. Very specific:

    Commit reims/manifest.json with the published SHA-256 files.

    line 121

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

Releasing kvm-gui

Two series live on this repository's releases:

SeriesTagTitleWorkflow
kvm-guivX.Y.Z (one series: the old macos-kvm-gui releases continue in it)kvm-gui vX.Y.Zgo-release.yml, manual: gh workflow run go-release.yml --ref vX.Y.Z; runs ci.yml (with the four clean-distribution checks) on the exact commit first, then publishes and marks the release latest
Reims vGPU's QEMU, reims-ctl, reims-utilreims-<7-digit commit> (must match ARG REIMS_COMMIT in reims/Dockerfile)Reims vGPU QEMU <commit>reims-release.yml, on the tag push

Keep the last two releases of each series (gh release delete <tag> --cleanup-tag -y for older ones). To try the release build without publishing, run it on any ref with -f publish=false: the five files come back as the run's kvm-gui-release artifact.

Before you start

gh auth status            # needs repo scope
git status                # must be clean
git fetch origin --tags
git checkout main
git pull --ff-only
make test openspec dist   # everything in the build image (Docker); must pass

Versioning (kvm-gui)

Semantic versioning with a v prefix.

  • feat: commits since the last tag → bump MINOR.
  • Only fix:, perf:, refactor:, ci:, docs: or chore: → bump PATCH.
LAST=$(git describe --tags --match 'v[0-9]*' --abbrev=0)
git log "$LAST"..HEAD --oneline

Process

1. Review and categorize the changes

Sections, in this order; omit empty ones:

SectionPrefixes
✨ New Featuresfeat:
🔧 Improvementsfix:, perf:, refactor:, ci:
🧹 Cleanupchore:, cleanup:
📚 Documentationdocs:, doc:

2. Tag, push and run the workflow

NEXT=vX.Y.Z
git tag -a "$NEXT" -m "Release $NEXT"
git push origin "$NEXT"
gh workflow run go-release.yml --ref "$NEXT"
gh run watch "$(gh run list --workflow go-release.yml --limit 1 --json databaseId --jq '.[0].databaseId')"

The workflow attaches:

ArtifactNotes
kvm-gui-vX.Y.Z-x86_64.AppImageany of the four distributions with GTK 4 and WebKitGTK 6 installed (the AppImage does not bundle them)
kvm-gui-vX.Y.Z-linux-amd64the plain binary, same libraries
kvm-gui_X.Y.Z_amd64.debUbuntu 24.04, 26.04, Debian 13; /usr/bin/kvm-gui and the macos-kvm-gui link; replaces macos-kvm-gui
kvm-gui-X.Y.Z-1.x86_64.rpmRocky Linux 10 (enable EPEL first: WebKitGTK 6 comes from it); same files; obsoletes macos-kvm-gui
SHA256SUMSall four files

3. Replace the generated notes

Always keep the home lab notice and say only what was really validated.

cat > /tmp/release-notes-$NEXT.md <<'EOF'
> **For home lab use.** macOS is Apple's software, and its license only allows it on Apple-branded hardware.

## ✨ New Features

- ...

## 🔧 Improvements

- ...

## Install

```sh
sha256sum -c --ignore-missing SHA256SUMS
sudo apt install ./kvm-gui_X.Y.Z_amd64.deb      # Ubuntu 24.04, 26.04, Debian 13
sudo dnf install epel-release && sudo dnf install ./kvm-gui-X.Y.Z-1.x86_64.rpm   # Rocky Linux 10
chmod +x kvm-gui-vX.Y.Z-x86_64.AppImage && ./kvm-gui-vX.Y.Z-x86_64.AppImage     # or the plain binary
```

**Validated:** <what was really run, e.g. the Nilton VM (Sequoia 15.8.1, Reims vGPU) booted from the GUI on Ubuntu 24.04>

**Full Changelog**: https://github.com/jniltinho/kvm-gui/compare/vPREV...vNEXT
EOF
gh release edit "$NEXT" --title "kvm-gui $NEXT" --notes-file /tmp/release-notes-$NEXT.md

4. Verify

gh api repos/jniltinho/kvm-gui/releases/latest --jq .tag_name    # must print $NEXT
gh release view "$NEXT" --json name,assets --jq '.name, (.assets[].name)'
gh release download "$NEXT" -D /tmp/check-$NEXT && (cd /tmp/check-$NEXT && sha256sum -c SHA256SUMS)
for d in ubuntu24.04 ubuntu26.04 debian13 rocky10; do scripts/check-dist.sh "$d" all /tmp/check-$NEXT; done

Check the title, that it is latest, the five assets and the checksums; check-dist.sh then installs and runs the downloaded files themselves on the four distributions (CI checked the same bytes before publishing them).

Reims vGPU releases

  1. Pin the newest upstream commit in reims/Dockerfile and reims/Dockerfile.rocky, build and check locally in Docker (AGENTS.md), commit, then tag reims-<7-digit commit> on that commit and push the tag.
  2. reims-release.yml builds QEMU, reims-ctl and reims-util for ubuntu24.04, ubuntu26.04, debian13 and rocky10, checks each in a clean container, and publishes them with reims-vgpu-src-<commit>.tar.gz.
  3. Notes: the home lab notice; that it is Reims vGPU's QEMU (with reims-ctl and reims-util), not an app; that kvm-gui reims install downloads the host's package and checks the SHA-256 the app pins; the assets table; Validated (what really ran, e.g. the Nilton VM on the 24.04 build). Credit steelbrain/reims-vgpu as the base. Do not mention the archived reims-gui.
  4. Commit reims/manifest.json with the published SHA-256 files.

Building a release locally

make dist VERSION=vX.Y.Z produces the same files in dist/ without publishing anything.

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.