release-captain
БесплатноБез исполняемых скриптовНе проверенRun the weekly OpenShell release captain checklist. Monday checks the pre-release train, triages failures and the compatibility review, and drafts the…
от ai-openshell★ 22 101 звезда на GitHubОб этом скилле
Release Captain
OpenShell publishes a stable release every Tuesday from a qualified pre-release (RFC 0014). The release captain keeps the week's pre-release train green, coordinates the last merges, cuts the release, and starts the next train.
How to use this skill
| When | Ask | What happens |
|---|---|---|
| The week before your turn | "I'm release captain next week. Is the train ready?" | Checks that the next version's -pre.1 exists. If not, ask this week's captain to start the train (Tuesday step 6). Then check each weekday that Auto-Tag's pre-release ran and passed (gh run list --workflow release-prerelease.yml --limit 3), and fix failures as they happen (Monday step 3) instead of on Monday. |
| Monday | "Run the release captain Monday checklist." | Monday steps 1–4. |
| A pre-release failed | "vX.Y.Z-pre.N failed, help me fix it." |
Monday step 3 and Recovery. |
| Tuesday | "Cut the release." | Tuesday steps 1–6, ending with starting the next train. |
Guardrails
Get explicit approval, with the exact command and target SHA, before pushing a
tag, dispatching, rerunning, or cancelling a workflow, merging or approving a
PR, or posting in Slack or GitHub. Never repoint a stable tag, delete a -pre.N
tag, or start a second Pre-release run for a tag; it has no concurrency guard.
How the train works
- A train has one base version, such as
v0.1.4, fixed by its-pre.1tag. A patch train can't take breaking changes to Stable interfaces. Release Auto-Tagruns on weekdays at 14:00 Europe/Zurich. Ifmainhas commits since the latest-pre.N, it tags the next one and dispatchesPre-release(release-prerelease.yml, about 45 minutes). It skips when the train has no-pre.1or the base version is already stable.Pre-releasebuilds, then publishes and qualifies in parallel, and writes arelease-notespreview artifact. Pushing a-pre.Ntag by hand starts it.Release(release.yml) is dispatched by hand with the stable version. It picks the highest-pre.Nonmainwhose wholePre-releaserun passed, creates the stable tag on that commit, and publishes without requalifying.- Stable releases publish public schemas to
buf.build/openshell/corewith the release tag as the label; prereleases skip Buf publication. The Buf repository must exist and Actions must have aBUF_TOKENsecret with write access. A failed Buf push fails the release run; follow Recovery before rerunning the failed publication job. - Pre-release and stable builds leave the
experimentalfeature disabled. Release Dev enables it throughexperimental: true. Normal workspace builds, lint, and tests enableexperimentalwithout separate CI lanes for development features.
Setup
export GH_REPO=ai-openshell/openshell
git fetch origin main --tags --force
PREV=$(git tag -l 'v*' --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -1)
git tag -l 'v*' --sort=-v:refname | grep -E -- '-pre\.[0-9]+$' | head -5
Find the Pre-release run for a tag. A tag pushed by hand runs on the tag; an
Auto-Tag run is dispatched on main:
TAG=vX.Y.Z-pre.N
gh run list --workflow release-prerelease.yml --branch "$TAG"
gh run list --workflow release-prerelease.yml --event workflow_dispatch --commit "$(git rev-parse "$TAG^{commit}")"
Preview the candidate Release would promote, read-only:
VERSION=vX.Y.Z
wt=$(mktemp -d)
git worktree add -q --detach "$wt" origin/main
(cd "$wt" && GITHUB_REPOSITORY=ai-openshell/openshell uv run -q --no-project python tasks/scripts/select-release-candidate.py "$VERSION" --branch main | jq .)
git worktree remove --force "$wt"
Monday: pre-flight
Check the candidate. Run the preview. If the latest
-pre.Nisn't the candidate, its run failed; read why:RUN=<run-id> gh run view "$RUN" --json jobs --jq '.jobs[] | select(.conclusion == "failure" or .conclusion == "timed_out") | "\(.name)\t\(.url)"' gh run view "$RUN" --log-failedIf the next version has no
-pre.1, start the train (Tuesday step 6).Triage the compatibility review when enabled for the candidate's run. Both Codex review jobs are temporarily skipped pending fixes; skip this step while they are disabled. When enabled, the review is advisory, and a green job doesn't mean it found no breaks:
ATTEMPT=$(gh run view "$RUN" --json attempt --jq .attempt) dir=$(mktemp -d) gh run download "$RUN" -n "compatibility-review-run-$RUN-attempt-$ATTEMPT" -D "$dir" jq '{status, verdict: .review.verdict}' "$dir/report.json" cat "$dir/report.md"Only
completewithno_unaddressed_breaksis clean. A real break needs a fix, a revert, a minor train, or a maintainer-approved exception with upgrade steps in the release notes.Fix forward. A failed pre-release doesn't end the train. Find the cause, and let
Установить release-captain в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release-captain?
Run the weekly OpenShell release captain checklist. Monday checks the pre-release train, triages failures and the compatibility review, and drafts the coordination post. Tuesday promotes the qualified pre-release after approval, verifies publication, and starts the next train. Trigger keywords - release captain, weekly release, Tuesday release, cut the release, release checklist, pre-release status, release train, start next train, stable release.
Как установить скилл release-captain?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-captain запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic