Add a release skill

Picks the next semver from the commits since the last tag, runs a release
check, tags and pushes, hands over to the developer for make release, then
creates the Gitea release with MCP.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 14:38:14 +02:00
co-authored by Claude Sonnet 5.5
parent 648e1fd46c
commit 01a9babe64
3 changed files with 171 additions and 1 deletions
+8 -1
View File
@@ -22,12 +22,19 @@ go run ./cmd/submarine [dir] # run on a repository (default: cwd)
go run ./cmd/submarine --mock # run on mock data
scripts/make-fixture.sh DIR # build a test superproject in DIR
make dist # cross-compile into dist/
GITEA_TOKEN=… make release # publish a tagged release (outward-facing)
GITEA_TOKEN=… make release # publish a tagged release (outward-facing; run by the developer)
go vet ./...
go test ./...
gofmt -l . # must print nothing
```
## Releasing
Use the `release` skill (`/release`, `.claude/skills/release/SKILL.md`): it
picks the next semver, runs a check, tags and pushes, asks the developer to
run `make release`, then creates the Gitea release. Never run `make release`
or push tags outside of it.
## Rules
- **Keep docs in sync.** A change to behavior, keys, colors, wording or