Skip to content
Back to skills

Release

ASecurity

Cut a Skiff release. Use when the user asks to create, cut, or publish a release (for example "create the 0.6.2 release"). Bumps versions, tags, waits for CI, and publishes the draft.

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 5, 2026
ai-agentspythongoshellnodegit

Works with

  • cli

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add solutionscay/skiff --skill release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/solutionscay-release/badge)](https://www.skillsdirectory.com/skills/solutionscay-release)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release
description: Cut a Skiff release. Use when the user asks to create, cut, or publish a release (for example "create the 0.6.2 release"). Bumps versions, tags, waits for CI, and publishes the draft.
---

# Release Skiff

A `v*` tag triggers `.github/workflows/release.yml`. CI builds the Linux packages
(AppImage, deb, rpm) and the macOS DMG. It attaches them to a **draft** release.

## Steps

1. Get the app version from the operator. Use the form `X.Y.Z`.
2. Check that the working tree is clean and you are on `main`. Check that
   `python3 scripts/host-boundary/check.py` passes (any Python 3.11 or newer) before you change a version.
   If it fails, stop and report it.
3. Set the app version in `Cargo.toml` (`[workspace.package]`) and `apps/desktop/package.json`.
   Add `<release version="X.Y.Z" date="YYYY-MM-DD"/>` at the top of `<releases>` in
   `apps/desktop/src-tauri/linux/com.solutionscay.skiff.metainfo.xml`.
4. Bump skiffd only if the daemon changed. Find the last tag: `git describe --tags --abbrev=0`.
   If `git diff --quiet <tag> -- crates/skiffd crates/skiff-core` fails and the skiffd
   version is still the one at that tag (`git show <tag>:crates/skiffd/Cargo.toml`), raise
   the patch number of `version` in `crates/skiffd/Cargo.toml` and `crates/skiff-core/Cargo.toml`.
   Keep the two the same. Tell the operator the new skiffd version. A release with no
   skiffd bump asks no user to restart the daemon.
   Do not raise `PROTOCOL` in `crates/skiff-core/src/lib.rs` in a release. The change that
   breaks the wire raises it, under the rule written next to it. If `PROTOCOL` changed since
   the tag, tell the operator: users with live sessions must restart skiffd.
5. Refresh the lockfile: `cargo update --workspace --offline`.
6. Run `python3 scripts/host-boundary/check.py` on the bumped tree. It must print
   `Host boundary passed`. There is no baseline to refresh. If it fails, stop and
   report it: that change was not reviewed before the release.
7. Commit: `git commit -am "release: prepare vX.Y.Z"`.
   Run the full suite one time, on this commit, with `CARGO_BUILD_JOBS=8` and
   `unset SKIFF_SOCKET SKIFF_SESSION SKIFF_SHELL XDG_RUNTIME_DIR`, so no test reaches a live
   daemon. Run `cargo test --workspace --no-fail-fast`, all page tests (`cd apps/desktop &&
   pnpm test`) and, on v2, `python3 scripts/host-boundary/check.py`.
   With a separate `CARGO_TARGET_DIR`, also set `SKIFF_TEST_DAEMON=$CARGO_TARGET_DIR/debug/skiffd`
   and `SKIFF_TEST_CLI=$CARGO_TARGET_DIR/debug/skiff`, each an absolute path. The app's reload
   tests look in the default target directory without them.
   The page tests need Node 22 (`--experimental-strip-types`). If `node -v` shows an older
   version, put a Node 22 `bin` first in `PATH` for the run
   (here: `~/.local/node-v22.23.4-linux-x64/bin`). If a test fails, stop and report it.
8. Tag and push: `git tag vX.Y.Z && git push origin main vX.Y.Z`.
9. Wait for the run: `gh run watch` (about 10 minutes).
10. Check the assets: `gh release view vX.Y.Z --json isDraft,assets`.
   Expect `.AppImage`, `.deb`, `.rpm` and `.dmg`, each twice: once with the version in
   the name, and once as `Skiff_amd64.deb`, `Skiff_x86_64.rpm`, `Skiff_amd64.AppImage`,
   `Skiff_aarch64.dmg`. The website links to the second set.
   Also expect the updater's assets: `Skiff.app.tar.gz`, a `.sig` for it and for each
   versioned `.AppImage`, `.deb` and `.rpm`, and `latest.json`. Check that each URL in
   `latest.json` names an asset of this release. Without them, installed apps do not see
   the update.
11. Write the release notes in the format of the last release's notes
   (`gh release view <last tag> --json body -q .body`): `## Changes`, one `###` group per
   area, one line per change with its PR number, a line on skiffd (new version, restart,
   protocol), the line `Guides and downloads: https://skiff.solutionscay.com/` and the
   `**Full Changelog**` link. Set them on the draft:
   `gh release edit vX.Y.Z --notes-file FILE`.
12. Publish only when the operator says so: `gh release edit vX.Y.Z --draft=false --latest`.

## Rules

- Deleting old tags or releases needs explicit operator approval.
- If CI fails, report the failing job. Do not re-tag without asking.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.