Ships Android App Bundles to Google Play via EAS or local lane with upload key verification, Play App Signing, AAB gate, versionCode management, and staged rollout.
Ships in react-native. 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.
Read when SKILL.md points to them; scripts run unread.
Takes one green commit to a signed Android App Bundle on a Google Play testing track, then to users by
staged rollout, on the EAS lane (EAS Build + EAS Submit, the default) or the local lane (Gradle + the
Play Developer API). Before anything reaches Google, the store-AAB gate reads the exact bundle and
proves what users would get: the registered upload key, a fresh versionCode, the production package,
target SDK 36, 16 KB pages, every permission accounted for, no test code and no template value.
Everything that needs a person is asked for, never worked around. Verified on 2026-10-14 with Expo
SDK 57 (React Native 0.86.3, targetSdk 36, AGP 8.12), eas-cli 24.10.0, aapt2 36.0.0, NDK r28.2 and
JDK 17; the iOS twin is ios-release-testflight.
contracts/android-release.json uploadTrack is internal, alpha
or beta, and eas.json's Android submit track equals it. Why: an upload, a track change or a tag
push cannot be undone, and a production upload reaches users before anyone installed it.
(contract, lane)check-store-aab.mjs --stamp writes the
bundle's sha256 only after a PASS; the local upload refuses any other bytes, and the EAS lane
submits that file with eas submit --path after eas-build-and-submit's record check (never
--latest, never --auto-submit, for Android not even from the store profile). Why: a
bundle rebuilt or picked after the gate is an unchecked bundle. (gated-upload, lane: eas.json
pins the contract applicationId)signing)~/.android-keys/ (mode 600), passwords in ~/.gradle/gradle.properties, read only by Gradle and
play-credentials.ts, never a repo gradle.properties, keystore.properties or .env*; git
ignores and agents are denied *.jks, *.keystore, service-account JSON. Why: whoever holds the upload key and the service account releases as the app.
(secrets-outside, secrets-ignored, credentials-read, inline-secrets)appVersionSource: remote, autoIncrement); the local lane keeps one literal
const ANDROID_VERSION_CODE = <n>; feeding only android.versionCode (the iOS twin keeps its own
IOS_BUILD_NUMBER), bumped and committed by the build; uploads are tagged vX.Y.Z+android.<n> on
both lanes, and every bundle is above every Android upload tag. Why: Play refuses a versionCode it
has seen, forever, and one scheme per app keeps the tag order meaningful. (version-code,
version-name, version-source)APP_VARIANT ships the debug
menu or another app id, and these are invisible in the source. (package, constants-variant,
test-code, debuggable, cleartext)target-sdk, target-sdk-config).so has 16 KB
LOAD alignment, uncompressed libraries are 16 KB zip-aligned, every 32-bit library has its 64-bit
twin. Why: a 4 KB library crashes at start on 16 KB devices, and Play refuses such updates from
2027-02-01 and 32-bit-only code already. (page-alignment, abi-64bit)SYSTEM_ALERT_WINDOW) are blocked for release.
Why: libraries add permissions silently, each changes the Data safety answers, and an undeclared
sensitive permission gets the release rejected. (permissions, permission-declaration)com.example.*, Google sample or all-zero AdMob id, example.com
link or __NAME__ token in the package, the manifest or the embedded config; the AdMob app id is
present and the app's own. Why: they are format-valid and pass every other check. (ship-placeholder,
ad-app-id, upload-cert with --release)rollout, halt, contract rollout)--rehearsal is never release evidence. Why: each
needs a person or a new number; retries lock accounts and burn numbers.tdd-workflow):
templates/contracts/android-release.json + schema; fill applicationId,
permissions (from the merged manifest), lane;templates/scripts/release-android/ (CLI and seven tested modules),
templates/scripts/clock/system-clock.ts + test (the CLI's clock; synced, skip when present),
templates/plugins/with-upload-signing.ts + test, and the three app edits in
examples/app-config-local-lane.md (ANDROID_VERSION_CODE,
the plugin line, "release:android": "node scripts/release-android/release-android.ts");eas.json comes from eas-build-and-submit; make its Android submit track equal
uploadTrack, and keep --auto-submit off Android.
Then npm run -s check:fast.node ${CLAUDE_SKILL_DIR}/scripts/check-play-release-setup.mjs . until
RESULT: PASS; before a store build add --release.eas build --platform android --profile production --non-interactive --freeze-credentials --json,
eas-build-and-submit's check-eas-build on the record, then download its
artifacts.applicationArchiveUrl to build/release-android/app-release.aab) or local
(npm run release:android -- build). Steps and by-hand
commands: references/release-pipeline.md. Without a key yet,
rehearse (same reference, "Rehearsal without a key").node ${CLAUDE_SKILL_DIR}/scripts/check-store-aab.mjs . --aab <bundle> --version-code <n> --stamp build/release-android/aab-gate.json
until RESULT: PASS. Each rule and its source: references/play-policy-and-artifact.md.
First release: register the printed fingerprint after confirming it.record-shipped after the upload; design-review-workflow's check-signoff.mjs passes
first when the app uses it): eas submit --platform android --profile production --path build/release-android/app-release.aab --non-interactive
or npm run release:android -- upload; then the annotated tag
vX.Y.Z+android.<n>. Calls and stops:
references/play-api.md.REHEARSAL: not a release gate and the
report lists it under "Not tested or not verified".node ${CLAUDE_SKILL_DIR}/scripts/check-play-release-setup.mjs . --release prints
RESULT: PASS (without --release, NOT APPLICABLE: nothing in the repo ships to Google Play yet
is expected until the contract exists).--rehearsal; it never skips (a ship gate: no SKIP, no NOT APPLICABLE).node ${CLAUDE_SKILL_DIR}/scripts/check-store-aab.mjs . --aab <bundle> --version-code <n> --stamp build/release-android/aab-gate.json prints RESULT: PASSeas build --auto-submit or eas submit --latest. The gate never saw those bytes; download
the artifact, gate it, submit it with --path.eas build without --freeze-credentials. A non-interactive build may then update
credentials, and a second keystore for the same application id is refused by Play for good.BUILD_NUMBER for both stores with +<n> tags while iOS tags +ios.<n>. Mixed schemes
break the tag order; Android counts in ANDROID_VERSION_CODE and tags +android.<n>.keytool -list -keystore ... "to check the key". That opens it; stat the file, and read a
bundle's signer with keytool -printcert -jarfile <aab>.-Pandroid.injected.signing.store.password=... or a password in build.gradle. It lands in the
process list and logs; Gradle reads ~/.gradle/gradle.properties by itself.page-alignment FAIL because the app "works on my phone". 4 KB phones load it; 16 KB
devices crash. Update the library.--rehearsal run as the store gate, or typing stand-in ids to get past
ship-placeholder.| File | What it is | Read/run when |
|---|---|---|
| references/signing-and-keys.md | Play App Signing, the upload key on each lane, the plugin, the registered fingerprint, the service account, may/may-not, leak response | Workflow step 1, any signing error |
| references/release-pipeline.md | EAS lane, local lane, gate and stamp, rehearsal, version codes and tags, resuming, multi-package | Workflow steps 4-6 |
| references/play-policy-and-artifact.md | What the gate reads, each rule with its Play source, target SDK, 16 KB, permissions, App content, contract fields | Workflow step 5, any gate FAIL |
| references/tracks-and-rollout.md | Tracks, staged rollout, halt, draft apps, new accounts' closed test | Workflow step 7 |
| references/play-api.md | JWT and token, upload and track calls, stops | Workflow step 6, an upload stop |
| references/human-steps.md | Account, app, service account, App content, testers, first upload, human checks | Workflow step 1, before asking |
| references/failure-playbook.md | Symptom, cause, action for setup, build, gate, upload, after | Workflow step 8 |
| examples/app-config-local-lane.md | The app config, script and contract of a local-lane app | Workflow step 2 |
| examples/release-run.md | An EAS-lane release from gate failure to rollout and report | Workflow step 9 |
templates/contracts/ | The release contract android-release.json and its schema | Workflow step 2 |
templates/plugins/ | with-upload-signing.ts (release builds signed by the upload key when its properties exist) and its test | Workflow step 2 (local lane) |
templates/scripts/release-android/ | The local-lane CLI release-android.ts (build, upload, rollout, halt) and its tested modules: release-args, release-plan (preflight, stamp, toolchain), version-code, upload-key, play-credentials, play-client, rollout | Workflow steps 2, 4, 6, 7 (local lane) |
templates/scripts/clock/ | The canonical system-clock.ts (dependency-management's) and its test, which the CLI imports for the token's time (synced; do not edit) | Workflow step 2, when missing |
templates/src/config/ | The canonical app-variant.ts and its test, which the CLI imports (synced; do not edit) | Workflow step 2, when missing |
scripts/check-play-release-setup.mjs | Repo setup: contract, lane, plugin, version code, target SDK, secrets, credentials, inline passwords (code, *.properties, .env*), no Android --auto-submit/--latest; --release; --app-dir when multi-package | Workflow step 3, definition of done |
scripts/check-store-aab.mjs | The store-AAB gate (ship gate; --rehearsal, --stamp) | Workflow step 5, definition of done |
scripts/lib/aab.mjs | ZIP, protobuf manifest, ELF, BundleConfig and PKCS#7 reader | Never by hand |
scripts/lib/release-facts.mjs | Contract, app config, tags and sentinel helpers of both checkers | Never by hand |
scripts/lib/aab-fixture.mjs | Writes self-test bundles from a JSON spec | When adding a gate case |
scripts/lib/ship-placeholders.mjs | The template values every ship gate refuses (synced; do not edit) | Never by hand |
scripts/check-lib.mjs | Shared script helper (synced; do not edit) | Never by hand |
scripts/selftest.mjs | Proves the stamp and both checkers on good fixtures and every planted bug | After changing a checker, a fact or a template |
assets/play-facts.json | Play's numbers and lists with sources (target SDK, versionCode max, 16 KB, declarations) | When a Play requirement changes |
assets/template-placeholders.json | Placeholder values for template verification | Never by hand |
assets/shared.json | The shared files this skill syncs | When adding a shared file |
tests/bases/app/ | The local-lane Tasks app every case starts from (with the templates) | When adding a rule |
tests/fixtures/ | One suite per checker: SUITE.json, good, one bad-* per rule, pass-* and error-* cases | When adding a rule |
tests/real-tools.json | Real aapt2 manifest, NDK libraries and jarsigner blocks (public test certificates) | When the reader changes |
eas-build-and-submit - owns eas.json and the EAS commands this lane runs.android-emulator-build - the toolchain and the Release emulator build proven before a release.ios-release-testflight - the iOS twin; its own IOS_BUILD_NUMBER and +ios.<n> tags.privacy-and-store-declarations - the Data safety answers and the network audit.admob-ads-and-consent - the production AdMob app id; in-app-purchases - Play products.git-commits-and-reporting - release commits, tags, stop messages and the report.ota-updates - JavaScript fixes without a store release.assets/play-facts.json (opens in a new tab)assets/shared.json (opens in a new tab)assets/template-placeholders.json (opens in a new tab)examples/app-config-local-lane.md (opens in a new tab)examples/release-run.md (opens in a new tab)references/failure-playbook.md (opens in a new tab)references/human-steps.md (opens in a new tab)references/play-api.md (opens in a new tab)references/play-policy-and-artifact.md (opens in a new tab)references/release-pipeline.md (opens in a new tab)references/signing-and-keys.md (opens in a new tab)references/tracks-and-rollout.md (opens in a new tab)scripts/check-lib.mjs (opens in a new tab)scripts/check-play-release-setup.mjs (opens in a new tab)scripts/check-store-aab.mjs (opens in a new tab)scripts/lib/aab-fixture.mjs (opens in a new tab)scripts/lib/aab.mjs (opens in a new tab)scripts/lib/release-facts.mjs (opens in a new tab)scripts/lib/ship-placeholders.mjs (opens in a new tab)scripts/selftest.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/react-native:android-release-playfrom react-native
npx claudepluginhub zakariaf/reactnative-skills --plugin react-native73 skills in this plugin
/accessibility-as-codeEnforces a11y labels, 44pt targets, 200% text, VoiceOver, TalkBack. Use when adding a pressable, swipe or a11y label, text clips when large, contrast fails or Reduce Motion is missed. Not for RTL (rtl-and-direction)./adaptive-layoutLays screens out by window, not device: breakpoints, master-detail panes, readable widths, grids. Use when making screens responsive or for tablets, iPad, foldables, rotation, split screen, orientation lock. Not for tab bars (navigation-and-routing)./admob-ads-and-consentBuilds AdMob ads behind a port - banners, interstitials, rewarded, UMP consent then ATT, pacing, ADS_MODE test IDs. Use when touching ads, consent, ATT, ad IDs or rewarded perks. Not for purchases (in-app-purchases).Other plugins' skills for the same job