release-mobile-ota
БесплатноЗапускает вложенные скриптыНе проверенDeliver an over-the-air (OTA) update of the OpenBot mobile app with caution. Audit the commits since the store builds, write and merge the release notes so…
от nightly-labs★ 13 288 звёзд на GitHubОб этом скилле
Release a mobile OTA update
An OTA update sends a new JavaScript bundle to the phones of a store build, through
apps/mobile-updates at https://updates.openbot.run. There is no store review. A bad update
reaches each phone at its next cold start. Read
the OTA section of the mobile README first.
When the user invokes this skill, they approve these actions, but only when each gate before them is green:
- the merge of the release notes PR, which deploys the account service;
- the publish of the update.
Stop and ask when a gate fails, when a step needs a product decision, a force-push or a bypass, and before a rollback.
Rules from earlier releases
- Notes first, then publish. The "Quick update ready" banner reads the
x.y.z.nsection from the account service (/v1/mobile/changelog) when the update is ready on the phone. After the restart, the banner is gone. A phone that gets the update before the notes deploy never shows the changes. - The running bundle draws the banner. The phone shows the banner of the bundle that it runs now, not the banner of the update. Before you say what users will see, check which bundle has the banner code.
- Rollout. Use the percentage that the user gives. With no percentage, publish to 100%. Do not
choose a smaller rollout yourself: a phone outside the rollout gets no update at any cold start,
because its bucket is fixed per install and update (
apps/mobile-updates/src/index.ts). mobile:ota:statusdoes not see a partial rollout. It asks with no install ID, so under 100% it shows the earlier update or "no update". Usescripts/probe-update.tsin this folder.- Do not change
updates.url, the certificate or the key ID.
Step 0 — prepare
- Keep a checklist in
TASKS.mdwith one item per step. git fetch origin main --tags. Work from a clean tree.git status --shortmust be empty.- In a fresh worktree, run
bun install --frozen-lockfile.
Step 1 — find the store builds and the state of the server
bun run mobile:ota:check
bun run mobile:ota:status
git tag -l 'mobile-build/*' --sort=-creatordate | head -6
checknames the store builds that can getorigin/main. When it says that the checkout needs a store build,mainhas a native change. Follow the hotfix steps in the README (mobile-hotfix/<version>branch) and ask the user which fix to pick.- Read the store state in
apps/mobile/CHANGELOG.md. Publish only to a platform whose store has the version (a date, not "In review"). - Record each base tag
mobile-build/<platform>/<version>/<build>/<runtime>, and the update thatstatusshows for it now. A rollback goes back to that update.
Step 2 — audit the range
Set B to the base tag. When iOS and Android have different base commits, audit each range.
git log --format='%h %s' $B..origin/main -- apps/mobile/src
git diff --stat $B origin/main -- apps/mobile packages
Check each item. Write the evidence for each one in the report.
- Rollback data. A rollback runs the bundle of the binary with the data that the update wrote.
Search the added lines for new or changed stored data:
git diff $B origin/main -- apps/mobile/src packages | grep -E '^\+' | grep -nE 'SecureStore|setItemAsync|AsyncStorage|FileSystem|new File\(|\.write\(|MMKV|schemaVersion|CACHE_VERSION'. A new key that the old bundle ignores is safe. A changed format of an existing key, file or workspace copy is a stop. - Native modules. List the package imports that the range adds to
apps/mobile/src. Each one must already be imported at$B(git grep -l 'from "<package>' $B -- apps/mobile/src) or be pure JavaScript. New code that needs a native module must check that the module is there. - Hosts in the support window. For each commit that calls the host, the phone must work with the host releases that are out now. A new route or field must be gated on a host capability, and with no capability the phone must act as before. Notes that say "The server must be on the new version" with no phone code in the range are host fixes: the update does not deliver them.
- Notes. Each user-visible change in the range has a note file in
apps/mobile/changelog.d.
Use a subagent per area when the range is large. Check the evidence in each report.
Step 3 — write and merge the release notes
- Make a branch from
origin/main, such ast3/mobile-ota-<version>.<n>. bun run mobile:release:ota -- --base <base tag> --platform <platforms>. Review the new## [<version>.<n>]section inapps/mobile/CHANGELOG.md.- Commit
apps/mobile/CHANGELOG.mdandapps/mobile/changelog.d. Do not use--no-verify. - Open the PR from
.github/PULL_REQUEST_TEMPLATE.md. Name the base tag and the store builds. - Take the PR through the NorbiAI review and CI as the
shipskill says (gates 3 to 5). Merge only when every check
Установить release-mobile-ota в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release-mobile-ota?
Deliver an over-the-air (OTA) update of the OpenBot mobile app with caution. Audit the commits since the store builds, write and merge the release notes so the update banner shows the changes, dry-run, publish, and check the live update server. Use when asked to ship, publish, release or deliver a mobile OTA update, or to send main to the phones without a store build.
Как установить скилл release-mobile-ota?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-mobile-ota запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic