Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mobile-release

БесплатноЗапускает вложенные скриптыНе проверен

Use when shipping an iOS or Android app update to the App Store or Google Play - Apple or Google rejected or warned about a build (ITMS-91053 privacy…

alirezarezvaniот alirezarezvani★ 30 763 звезды на GitHub

Об этом скилле

Mobile Release

Portability: 3 stdlib Python scripts. They read project files only. No network, no store API calls. Rules verified 2026-11-17. Store rules move every year; each script prints the date its table was checked.

Most store rejections and bad rollouts come from a short list of mechanical misses: an API Apple requires a reason for, a purpose string that was never added, a targetSdk one level behind, a receiver without android:exported, a crash spike that was widened to 50% because nobody compared it with the last release. This skill checks each one before it costs a review cycle.

Workflow

# 1 - iOS: required-reason APIs vs PrivacyInfo.xcprivacy, purpose strings, SDK manifests
python scripts/ios_privacy_manifest_check.py --project ios/
# 2 - Android: Play target API level, exported components, declaration permissions, 16 KB pages
python scripts/android_release_check.py --project android/ --form-factor phone
# 3 - During rollout: compare the new release with the last one, then widen, hold or halt
python scripts/rollout_gate.py --input rollout.csv

Step 1 finds code that uses a required-reason API category (file timestamps, system boot time, disk space, active keyboards, UserDefaults) and checks the app manifest declares it with a reason Apple lists for that category. It blocks invalid and SDK-only reasons, a framework used without its NS...UsageDescription (Info.plist or INFOPLIST_KEY_ build setting), and warns when a vendored SDK ships no manifest of its own. Pick the reason that is true; an upload that passes is not proof the reason is right.

Step 2 reads targetSdk from Gradle (including Capacitor variables.gradle and version catalogs) and applies Play's dated rule for the form factor. It blocks debuggable builds and intent-filter components with no android:exported, and lists permissions that need a Play Console declaration before release (background location, SMS, all-files access, exact alarms, foreground service types).

Step 3 needs counts, not percentages: users and crashed users for the baseline and the new release. It halts on Play's bad-behavior thresholds or a statistically significant regression, and holds when the regression is not yet significant or the release has too few users.

Hard rules

  • Pick the reason code the stated use supports. When the user says how the API is used, name the one matching code (for example C617.1 for timestamps of files in the app container); ask only when the use is unknown.
  • A BLOCKER means do not submit. Fix it, re-run, then upload.
  • Never declare a reason code to make the check pass. Ask what the code does with the API, then pick the reason.
  • The app's manifest cannot cover an SDK. Update the SDK to a version that ships its own manifest.
  • Never widen a rollout on a percentage alone. Feed the gate counts for both releases.
  • iOS cannot roll back. A paused phased release is still downloadable by hand; plan the fix or pull the build.
  • Re-check dates. If today is past a date in a script's rule table, confirm against the official page in the references.

Scripts

Script Role Exit codes
scripts/ios_privacy_manifest_check.py Required-reason APIs, reason codes, purpose strings, SDK manifests, tracking keys 0 · 2 warnings · 3 bad input · 4 blocked
scripts/android_release_check.py Target API level by date and form factor, exported, debuggable, declarations, 16 KB 0 · 2 warnings · 3 bad input · 4 blocked
scripts/rollout_gate.py PROCEED / HOLD / HALT from crash and ANR counts vs baseline 0 proceed · 2 hold · 3 bad input · 4 halt

All support --help, --sample and --output json.

References and assets

Полный SKILL.md на GitHub

Установить mobile-release в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/release_checklist.mdassets/rollout.example.csvreferences/ios_submission_rules.mdreferences/play_release_rules.mdreferences/staged_rollout_gates.mdscripts/android_release_check.pyscripts/ios_privacy_manifest_check.pyscripts/rollout_gate.py

FAQ

Что делает скилл mobile-release?

Use when shipping an iOS or Android app update to the App Store or Google Play - Apple or Google rejected or warned about a build (ITMS-91053 privacy manifest, required reason API, missing usage description, target API level, 16 KB page size, exported activity, SMS or call log permission, Data safety), a readiness check before submitting an iOS, Android, Flutter or React Native release, or whether to pause, halt or widen a phased or staged rollout from crash rate, ANR rate or Play's bad behavior thresholds. Checks the project with stdlib scripts.

Как установить скилл mobile-release?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mobile-release запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить mobile-release с