Command Palette

Search for a command to run...

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

app-store-deploy

БесплатноБез исполняемых скриптовНе проверен

Use when a mobile app needs a release pipeline - fastlane GitHub Actions to TestFlight (iOS) and Play internal track (Android), with code signing and the…

makifbaysalот makifbaysal★ 123 звезды на GitHub

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

App Store Deploy (mobile)

Overview

Mobile does not deploy to a cloud you run — it deploys to Apple's and Google's stores, so there is no GCP/AWS split. The CD pipeline builds a signed artifact and uploads it to a test track (TestFlight / Play internal), which is the mobile equivalent of a staged deploy. Read ci-cd-pipeline-authoring for the workflow naming/dispatch contract; this skill fills in the store steps.

Core principle: Signing is the hard part, not the upload. Get reproducible, secret-driven signing right and the release is a one-command fastlane lane.

Set up the pipeline

If the repo has no fastlane/ yet, create it directly: Fastfile lanes beta (stage) and release (prod, store-executor driven), per the iOS/Android sections below, plus deploy-stage/preprod/prod.yml workflow files. There is no search_boilerplate_catalog tool in this agent's tool list — don't call it.

Environment mapping

  • stage → internal test track: TestFlight (iOS) / Play internal track (Android).
  • preprod → TestFlight external group / Play closed (beta) track.
  • prod → App Store / Play production — the workflow file must still contain prod/production/release so the pipeline's prod_deploy check detects it, but nothing dispatches it directly: mobile ships through a batch delivery profile. A merged mobile task joins the component's draft release and waits in done; a human cuts the release on the Deploy tab, and the release engineer then starts the build (store executor) or lets a tag push trigger it (github_actions executor — see ci-cd-pipeline-authoring's batch section).

iOS — TestFlight

  • Build on a macOS runner (runs-on: macos-26; macos-14 is deprecated since 2026-07-06 and unsupported from 2026-11-02, and cannot run Xcode 26, which every App Store Connect upload has needed since 2026-04-28). Select the Xcode version the app needs (≥26) with xcode-select/xcodes; Xcode 27 needs macOS Tahoe 26.6+ on the runner image.
  • Signing via fastlane match (certs/profiles in a private git repo, decrypted with MATCH_PASSWORD) — never check certificates into the app repo.
  • Auth to App Store Connect with an API key (.p8 + key id + issuer id), not an Apple ID password.
  • Lane: fastlane build_app → upload_to_testflight. For prod, submit for review (fastlane deliver).

Android — Play

  • Build the AAB (bundleRelease); sign with the upload keystore from a base64 secret decoded at runtime.
  • Auth with a Play service-account JSON (SUPPLY_JSON_KEY_DATA secret); upload with fastlane supply(track: 'internal') (or production for prod).
  • targetSdk 36 — required for new apps and updates on Play since 2026-08-31 (existing apps may stay on 35 under the extension window).

Build numbers

TaskTrooper chooses the build number; the generated scripts/mobile-release.sh reads it from BUILD_NUMBER and passes it to xcodebuild (CURRENT_PROJECT_VERSION) and Gradle (-PversionCode, -Pandroid.injected.version.code). Do not add increment_build_number, a latest_testflight_build_number + 1 lane or a github.run_number versionCode — two counters fight, and the store rejects the lower one.

  • One counter per app, the higher of TaskTrooper's own record and the store's current highest build.
  • iOS: <sequence>.<task number>.<attempt> (e.g. 412.54.2) — CFBundleVersion takes up to three integers and TestFlight compares the first one first, so every upload is higher than the last whatever task it belongs to. The project's Info.plist must take CFBundleVersion from $(CURRENT_PROJECT_VERSION).
  • Android: versionCode = <sequence>. A project that hardcodes versionCode still gets the number through AGP's injected override.

Per-task test builds: a task entering Human UAT is built from its checkout and uploaded to TestFlight (opened to the internal groups) and to Play internal app sharing (a per-build link, no versionCode ordering). A rejected task that comes back to UAT gets the next attempt number. The "What to Test" note carries the task key, attempt and commit. Test builds share the release's marketing version, so the iOS prod channel submits only the build named by the workflow's build_number input, and Android test builds never go to the internal track the release promotes from.

Secrets (these ARE real secrets)

Unlike cloud deploys, mobile signing needs genuine secrets in GitHub secrets: — App Store Connect API key, MATCH_PASSWORD, keystore + passwords, Play service-account JSON. Store them as encrypted secrets, decode at runtime, never commit or log them. There is no OIDC path for the stores.

Gate & smoke

The "health check" is the store's own processing/validation. Fail the job if fastlane upload fails or the build is rejected. A successful upload is the store gate passing at ready_for_qa time — it still does not move the task anywhere: mobile is a batch delivery profile, so a merged mobile

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

Установить app-store-deploy в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл app-store-deploy?

Use when a mobile app needs a release pipeline - fastlane GitHub Actions to TestFlight (iOS) and Play internal track (Android), with code signing and the release naming that maps to TaskTrooper's prod deploy

Как установить скилл app-store-deploy?

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

Скилл app-store-deploy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить app-store-deploy с