Skills Getting started Skills GitLab Hub

slopkit-release

Use when asked to release, cut, tag, ship or publish a new version of a project, or to confirm that a released version reached its artifact, update channel and website.

Synopsis

The YAML description states when to use this skill. disable-model-invocation is unset.

Source file: skills/slopkit-release/SKILL.md.

Front matter

name
slopkit-release
description
Use when asked to release, cut, tag, ship or publish a new version of a project, or to confirm that a released version reached its artifact, update channel and website.
disable-model-invocation
unset

Full contents

---
name: slopkit-release
description: Use when asked to release, cut, tag, ship or publish a new version of a project, or to confirm that a released version reached its artifact, update channel and website.
---

# Releasing a version

A release is one version visible in four places: the **tag and forge release**, the
**artifact**, the **update channel**, and the **website**. A place is done when you
fetched it from its public URL and saw the new version. A command that exited 0 proves
nothing.

Supporting skills carry the detail. Load each in the lane that needs it:
`forge-release` (tag, release notes, tag pipeline), `cram` (cram projects: artifact,
channels, pointers), `release-website` (find, update, verify the site),
`write-tech-changelog` (changelog entry), `slopkit-push` (Push deploys).

## 1. Fill the release sheet

Do this yourself, before any lane starts. Every line names the file or command that
proved it.

```
version        0.5.0            previous tag  pot-v0.4.0  (git tag --sort=-creatordate)
tag name       pot-v0.5.0       same pattern and tag type as the previous tag
forge          gitlab           host in `git remote get-url origin` -> glab | gh
default branch main             protected? -> release commit lands through an MR
version files  Cargo.toml Cargo.lock cram.toml README.md   (rg -F '<old version>')
changelog      CHANGELOG.md     entries since the previous tag
artifact       cram             cram.toml present, or .gitlab-ci.yml names the publisher
wired          yes | NO         see `cram` (cram projects), or the CI file that publishes
website        pot-website      pot.slopkit.dev, deployed by Push   (see release-website)
```

An unknown line stops the release and goes to the user. `wired: NO` means the publish
path needs fixing before the tag, in its own commit. The fix is never a hand-made
artifact, pointer or upload.

## 2. Run the lanes

Dispatch every lane of a wave as a subagent, all in one message. The waves:

1. **S, P, W0** together
2. **T** (you, inline: the tag is the commit point), after S and P passed
3. **R, A** together, after T pushed
4. **W**, after A passed
5. **V**, after W and R passed

| Lane | Does | Gate out |
| --- | --- | --- |
| **S** setup | confirm `wired`; fix what is missing, in a separate commit per repo | `wired: yes`, the fix is on the default branch |
| **P** prepare | bump every version file, changelog entry `[x.y.z] - date`, commit `chore: release x.y.z`, land on the default branch | commit is on the default branch and its pipeline is green |
| **W0** site sweep | locate the site, list stale places from the changelog, prepare edits uncommitted | table of place, claim, action |
| **T** tag | tag, push, watch the tag pipeline (`forge-release`) | tag pipeline green |
| **R** forge release | release with the changelog section as notes | `release view` shows the notes |
| **A** artifact | package published, channel moved by CI, download, sha256, `--version` | downloaded file reports the new version; sha256 recorded |
| **W** website | apply W0 edits with A's sha256, land, wait for the deploy | live pages show the new version |
| **V** verify | re-fetch release, channel, artifact and pages from public URLs | every line of the sheet re-confirmed |

Lanes that write the same repository (S and P both write the product repo) each work in
their own `git worktree` on their own branch, touch different files, and rebase onto the
default branch before they push. CI commits to the website repo as well, so W rebases
too.

A page that names the new version goes live only after gate A: an installer pointing at
a missing artifact breaks every install.

No subagent tool? Run the waves in the same order with the same gates, one lane at a
time.

## 3. Brief each lane

A lane starts with nothing but its brief. Fill every field:

```
Goal:      lane A of the pot 0.5.0 release: prove the artifact is published and downloadable
Sheet:     <paste the filled release sheet>
Skill:     load `cram`
May write: sandbox/work/pot (no other path)
Done when: file downloaded from the channel URL, sha256 recorded, `./pot --version` prints 0.5.0
Report:    at most 8 lines: facts (version, URLs, sha256) and the gate result; no narration
```

Read each report against its gate. A lane that reports "should work" has not reached
its gate: send it back.

## Excuses that mean stop

| Thought | Reality |
| --- | --- |
| "Subagents are fragile here, I'll do it all myself" | Brief them; the brief carries the state. The lanes exist to run at once. |
| "S and P write the same repo, so they run one after the other" | Give each its own worktree and branch; they touch different files and rebase. |
| "R and A are quick, I'll do them inline" | They start together after the tag. Two subagents finish sooner than one agent twice. |
| "`nix build` passed locally" | The tag pipeline builds, signs and publishes. Read that pipeline. |
| "CI doesn't write the pointers, I'll write them" | Fix the wiring (lane S). Hand-made pointers rot at the next release. |
| "The release exists, so the version is published" | Fetch the artifact from its public URL. |
| "Site and docs can wait for a follow-up" | Lane W is part of the release. |