Skills Getting started Skills GitLab Hub

release-website

Use after a release, changelog entry or version change, when a product's website, docs, install script or README may still describe the old version; also when asked where a product's site is hosted and how it deploys.

Synopsis

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

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

Front matter

name
release-website
description
Use after a release, changelog entry or version change, when a product's website, docs, install script or README may still describe the old version; also when asked where a product's site is hosted and how it deploys.
disable-model-invocation
unset

Full contents

---
name: release-website
description: Use after a release, changelog entry or version change, when a product's website, docs, install script or README may still describe the old version; also when asked where a product's site is hosted and how it deploys.
---

# Website after a release

A site goes stale in two ways: it names the old version, and it makes claims the new
version broke. The changelog lists the second kind. Finish with the live site fetched
and the old claims gone.

## 1. Locate the site

Use evidence, in this order, and write down the line that proved each fact:

| Fact | Where it is written |
| --- | --- |
| domain | `cram.toml` `domain`, the product's `deploy.nix` `app.domain`, README |
| website repo | CI input `website_project`, `AGENTS.md`/README link, sibling directory `<name>-website`; confirm with `git remote get-url origin` |
| hosting | `deploy.nix` plus `slopkit/push/deploy` in `.gitlab-ci.yml` means Push (load `slopkit-push`); otherwise the site's CI file names the host |
| deploy trigger | Push static apps deploy when the default branch changes; a review app deploys per branch |

Done when the domain answers and the repo you found declares that domain:

```console
$ curl -fsSI https://pot.slopkit.dev | head -1
$ rg -n 'domain' ../pot-website/deploy.nix
```

Read the site's `AGENTS.md` before editing. It holds house rules (what may be claimed,
cache-busting, shared chrome).

## 2. Sweep: changelog entry by entry

For every entry of the new version, name the nouns it changes (command, flag, config
key, dependency, requirement, platform) and search the site for each. Add the old
version string as one more search.

```console
$ rg -n -F '0.4.0' ../pot-website --glob '!.well-known/**' --glob '!node_modules'
$ rg -n -i 'worktrunk|git-twig|worktree_backend' ../pot-website
```

Write one table row per hit:

```
place                 claim on the page                          changelog entry            action
start/index.html:76   "artifact carries devenv, worktrunk, twig"  git-twig is a crate now    reword
install.sh:4          POT_VERSION default 0.4.0                  release                    bump, needs sha256
```

Places that repeat the version: install script (version and **sha256 of the published
artifact**), structured data (`softwareVersion`), the start and docs pages, README,
`AGENTS.md`, `llms.txt`. Done when every changelog entry has a row or the note "the
site says nothing about this".

## 3. Edit

Describe what shipped and nothing more. A changelog entry that says a feature is partly
done gets a page that says the same. The sha256 comes from the artifact you downloaded
from its public URL, which exists only after the artifact lane passed.

Pointers under `.well-known/cram/` belong to the release job. Leave them alone; if they
are missing, the wiring is broken (`cram`).

## 4. Publish and verify

The website repo gets commits from CI as well. Fetch and rebase first, then land the
change by the repo's own flow (merge request when `main` is protected), and wait for the
deploy job:

```console
$ git fetch origin && git rebase origin/main
$ glab ci status --branch main --live
```

Verify from the public URL: each new string is present, each old claim is gone, and the
install script carries the artifact's sha256.

```console
$ curl -fsS https://pot.slopkit.dev/install.sh | rg 'VERSION|SHA256'
$ curl -fsS https://pot.slopkit.dev/start/ | rg -i 'worktrunk, and git-twig' || echo gone
```

A page that names the new version goes live only after the artifact downloads from its
public URL: an installer that points at a missing file breaks every install.