/great-cto:mobile-releasefrom great-cto
Ships signed iOS/Android builds to TestFlight, Play Console, or Firebase without reusing build numbers or shipping broken OTA updates. Handles version bumping, code signing via project tooling, Maestro testing on uploaded builds, phased rollout, and store hand-off.
Ships in great-cto. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A mobile release has three mistakes that cannot be taken back: a build number the store has already seen, a key that left its store, and an update pushed to phones that cannot run it. Everything below exists to make those three impossible, not unlikely.
| Field | iOS | Android | Rule |
|---|---|---|---|
| Marketing version | CFBundleShortVersionString / MARKETING_VERSION | versionName | from the release (semver), the same on both platforms |
| Build number | CFBundleVersion / CURRENT_PROJECT_VERSION | versionCode | strictly increasing, never reused, set by script |
fastlane latest_testflight_build_number / google_play_track_version_codes,
or eas build:version:get. The repo can be behind a build someone uploaded by hand.versionCode that was uploaded once is
burned even if that build was deleted; Play rejects it forever.chore(release): <version> (<build>)), then build
that commit. A build from an uncommitted bump cannot be traced back.appVersionSource: remote: EAS owns the counter; do not also edit native files.The agent never opens, prints, copies, moves, base64-encodes or uploads a signing key,
keystore, .p8, .p12, .jks, provisioning private key or their passwords. A key that
appears in any output is compromised: stop and follow secrets-rotation.
| Platform | Where the key lives | What the agent runs |
|---|---|---|
| iOS | fastlane match repo, Xcode automatic signing, EAS credentials | fastlane match <type> --readonly, xcodebuild -allowProvisioningUpdates, eas build |
| Android | Play App Signing (upload key), EAS-managed signing, the CI secret store | ./gradlew bundleRelease with signing config read from env/keystore properties the operator set up |
Allowed metadata checks: security find-identity -v -p codesigning (lists identities, not
keys), keytool -list -v -keystore … only if the operator types the password; apksigner verify --print-certs on the built artifact. If signing fails, report the tool's error and
stop — do not create, rotate or export credentials; that is the operator's step.
--readonly on match always: a non-readonly run can revoke and recreate certificates for
the whole team.
git status --porcelain empty). The
build packs the directory, not HEAD.xcodebuild archive + -exportArchive with an ExportOptions.plist from the repo,
or the project's fastlane lane, or eas build --platform ios --profile production../gradlew bundleRelease (AAB for Play), assembleRelease only for Firebase /
direct APK; or eas build --platform android.bundletool dump manifest
/ PlistBuddy on the artifact proves the number inside equals the number you set.Gemfile.lock → bundle exec fastlane,
npx eas-cli@<pinned>), not a global install.| Channel | Command shape | Done when |
|---|---|---|
| TestFlight internal group | fastlane pilot upload / xcrun altool --upload-app / eas submit -p ios | build shows Processed in App Store Connect, not just "uploaded" |
| Play internal track | fastlane supply --track internal / eas submit -p android | release on internal with this versionCode, status completed |
| Firebase App Distribution | firebase appdistribution:distribute <apk/aab> --groups <internal> | release id returned |
Before each upload mobile-store-reviewer re-checks policy (permission strings, privacy
manifest, IAP). Its BLOCK stops the upload.
Maestro runs against the build testers got — installed from the TestFlight / Play internal / Firebase artifact on a simulator or device — not a fresh local rebuild. Rebuilding per run costs time and proves a different binary.
e2e/flows/, .maestro/); run with maestro test <dir>..app from the same
archive (same build number, same commit) and say so in the report.gate:release onlyExternal TestFlight groups, Play closed/open/production tracks, App Store submission and any increase of a staged rollout reach real users and are slow or impossible to reverse.
store-submit: hand-off (PROJECT.md): the agent prepares, the operator presses
"Submit for review" / "Start rollout". With store-submit: gate the agent runs the
prepared command after gate:release is approved — never on its own approval.supply --rollout halt / pause phased
release): it restores the approved state. Report it at once.An OTA bundle runs on native code that already sits on phones. If the native side changed, the bundle crashes on launch for every user who gets it.
runtimeVersion: npx expo-updates fingerprint:generate
(or @expo/fingerprint) must equal the fingerprint of that build. Mismatch → native build.preview, internal): allowed without a gate.gate:release, plus the fingerprint proof, plus a rollback named
(eas update:republish of the previous group, or eas update:rollback).MOBILE-RELEASE <app> <version> (<build>) @ <commit>
bump : PASS — store max 41 → 42, committed in <sha>
signing : PASS — match readonly / Play App Signing; no key material read
artifact : PASS — app-release.aab sha256 <…>, versionCode 42 inside
upload : PASS — Play internal, completed
e2e : PASS — maestro 12/12 flows on the internal-track build
beyond : HAND-OFF — production 5 % prepared, waiting for gate:release
A line you could not check is NOT CHECKED with the reason, never omitted.
What SKILL.md sets; muted values are Claude Code's defaults
Apply when: - building a signed iOS or Android binary meant for anyone other than the developer - bumping a version, versionCode or CFBundleVersion - uploading to TestFlight, Play Console, Firebase App Distribution, or publishing an OTA update - preparing a store submission or changing a phased rollout Do NOT apply to: - a debug build on a simulator or emulator for development - store-policy questions (privacy labels, IAP rules) — that is mobile-store-reviewer
medium38 skills in this plugin
/aesthetic-instrumentgreat_cto's own committed aesthetic — the instrument panel. Dark five-step surface ladder, exactly one accent, two faces divided by MEANING (Geist speaks, Geist Mono is machine-truth), tabular numerals, and a dash that is not a nought. Twelve checkable rules measured from packages/board and greatcto.systems, not designed for this file. Use when building or extending any great_cto surface — the board, the site, a report, a share page./anti-patternsCatalogue of known SDLC anti-patterns that great_cto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident)./anydesignAnalyze images, websites, and Figma files to extract their design and generate a `design.md` with token system, component inventory, and reconstruction notes. Use this skill whenever the user wants to understand, document, replicate, or audit the design of something visual: a screenshot, a URL, a Figma link, a Pinterest reference, a mockup, a competitor's site, a component, a dashboard, a landing page. Also when they ask 'extract the design system from X', 'document the style of Y', 'analyze this visually', 'convert this image into tokens', 'help me replicate this design', 'what palette does this site use', 'how is this built'. Also for single elements: 'copy this navbar', 'recreate this illustration', 'give me a prompt to regenerate this graphic' — element mode outputs a focused element.md, with token-grounded image-model prompts when the element is visual art. If the user brings any visual source and wants to understand it at a design level — this skill should activate./archetype-review-baseShared review framework that every domain reviewer (pci, oracle, gov, edtech, healthcare, mlops, etc.) MUST follow. Defines the output artifact (TM-{slug}.md), mandatory sections, severity scale, verdict format, the workflow scaffold (when-invoked, Step-0 read-inputs, HANDOFF), and the "domain heuristic vs generic check" boundary. Eliminates duplication across the ~30 reviewer prompts./artifact-retentionAfter a build is delivered, delete its intermediate copies and old versions — keep exactly the version that runs and one previous for rollback — and report the space freed as measured by `df`, never `du`. Covers local build output, mobile build caches, container images, release dirs and stale browser-session copies, with a never-delete list (volumes, databases, installed SDKs, simulator runtimes, the rollback version). Use after any release or image build, before heavy builds when free disk is low, and when disk space drops fast ("диск кончается", "почисти старые сборки", "ENOSPC"). Loaded by release-manager, devops./brainstormingStructured idea generation + multi-LLM debate for the product-owner stage. Diverge (generate genuinely different bets), debate (a 4-persona panel on 4 models argues over 2 rounds), converge (synthesize a recommendation). Used by product-owner before architect; available to architect for design-space exploration.npx claudepluginhub avelikiy/great_cto --plugin great_ctoOther plugins' skills for the same job