release-upgrade-safety
БесплатноБез исполняемых скриптовНе проверенAudit a pending OpenBot release for upgrade and data-loss hazards before the version is bumped or tagged. Use when asked to cut a release, create or bump a…
от nightly-labs★ 13 288 звёзд на GitHubОб этом скилле
Release upgrade safety
Every hazard here is one an installed user pays for and you cannot take back. openbot.db is
migrated in place with no backup, two dozen files under userData are rewritten by whichever build
opens them last, a released Team API adapter is spoken by peers you will never update, and the
account Worker's D1 migrations are applied before the Worker that needs them. A build that ships
past one of these does not fail on your machine; it fails on someone else's, once, permanently.
Audit the diff since the last released tag against the eight gates below, then report a verdict.
This runs before docs/RELEASING.md, which stays authoritative for the publish itself.
What this skill does and does not do
- It audits. It does not run
bun run release:patch, commit a version bump, or push a tag unless you are separately asked to. - It never runs
bun run check,check:desktop,test, orbuild-storybook— each takes minutes, CI owns them, and the desktop suite flakes under load, so a red result would tell you nothing. Run the narrowest test file named by a gate and lint the changed files. Do not run the repo-widebun run lintorbun run typecheck: the pre-commit hook and CI run them. - If gate C or D fired, confirm the mobile typecheck passed.
apps/mobiledepends on@openbot/contracts, which is exactly what those two gates change. The pre-commit hook runstypecheck:mobilewhen a commit stages a file that mobile can see, such as one inpackages/contracts, and the CI Surfaces job runs it on each pull request. - It never runs
bun run dev:seedordev:reset— both destroy the developer's own profile — and neverpkill -f, which kills other sessions' work mid-write.
Subagents and models
Give each gate, and each release task after the audit, to its own subagent. Do not give every
subagent the session model. Select the smallest tier that can do the task, and set the model
explicitly on each spawn: an omitted model uses the session model. In Claude Code, set model on
the Agent call. In a harness that has no model choice, use a lower reasoning effort.
| Tier | Claude Code | Tasks |
|---|---|---|
| Strong | the session model | Step 1 residue, gates A, B, C and E, gate F when electron-updater moved, the Step 3 verdict |
| Medium | sonnet |
gates D and G, gate F otherwise, Step 2b, the Step 2c failure reading, the translation wording review, the Discord announcement draft |
| Small | haiku |
gate H, the Step 2c start and wait, the whats-new/<locale>.json translations, mechanical git grep and file inventories |
- Translations: give each small-tier subagent a few locales, the English entry, and the
i18n.md terms. Skip
zh-Hant: afterzhis done, runbun scripts/i18n-hant.ts, which makeszh-Hant.jsonfromzh.json. Then runbun scripts/whats-new-translations.ts <version>once. It checks only the version, the date and the counts of notices and items, not the wording. Then give all locales to one medium-tier subagent. It compares the terms, the tone, the screen names and the headline endings with the i18n terms, and corrects them. Accept a translation only after this review. - Do not raise the tier because a gate is long. Raise it when the task needs judgment: a hazard that can lose user data, or a frozen wire format.
- Check the evidence of each report before you accept it, as
AGENTS.mdsays. A small-tier "no hit" passes only when its command can still find a hit (see Step 2). When a report has no evidence, run the task again one tier higher. Do not do it again yourself. - The session model writes the Step 3 table and each stop. A subagent verdict is evidence, not the verdict.
Step 1 — establish the range, then account for every file in it
git status --porcelain
git tag --list 'v*' --sort=-v:refname | head -1
git diff --name-status <tag>..HEAD
Stop if the tree is not clean. The audit is over the commit range, not the working tree, and
that is only sound if the working tree is empty — otherwise the range you audit and the range that
ships are different sets. Nothing upstream of you enforces this: scripts/prepare-release.ts writes
the version bump without looking at git status, and its closing instruction is "Review, commit,
push, run preflight, then tag it", so following it sweeps whatever was uncommitted into the release.
scripts/release-preflight.ts does check git status --porcelain, but it runs after that commit,
by which point the tree is clean and the unaudited work is inside the tag. Commit or stash first.
State the tag and the changed-file count up front, and run every gate's git diff over that same
range. A hazard three commits back is in scope; the file you have open is not, unless it is
committed.
**The outcome Step 1 owes Step 3: every changed file is either routed to a gate, or dismissed for a reason you can state.
Установить release-upgrade-safety в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release-upgrade-safety?
Audit a pending OpenBot release for upgrade and data-loss hazards before the version is bumped or tagged. Use when asked to cut a release, create or bump a version, prepare a tag, or check whether a change is safe to ship to installed users.
Как установить скилл release-upgrade-safety?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-upgrade-safety запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic