/suede-skills:suede-play-releasefrom suede-skills
Manages Google Play releases: AAB preflight, test-track upload, versionCode promotion, staged rollout, locale notes, and API readback. Use when asked to promote an Android build or diagnose Play publishing access.
Ships in suede-skills. 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.
Requires Android release artifacts and authorized Google Play publishing access. Bundled preflight uses Python with pyjwt/cryptography and macOS Keychain; delivery examples use fastlane supply. Linux CI uses its secret store.
Use the worked contract for a staged rollout example, access-failure recovery, and API readback validation.
Iron Law: the Play API decides what shipped, not a green fastlane summary.
Every claim about a live release is a readback or it is a guess.
Run every check and report results honestly. Verdicts are advice attached to the work, never a control that changes it. A failed check changes what you report, never what you do. The one exception is the production halt in Step 7: a public release is irreversible for the users who get it, so present the options and let the user pick.
Never assume publishing works. Prove it with a real API call that changes
nothing: open an edit and delete it. The script reads the key from the macOS
login Keychain and needs pyjwt and cryptography; on Linux CI, load the same
base64 JSON from the CI secret store and run the equivalent token exchange.
python3 scripts/play-preflight.py <package.name> [--service NAME] [--account NAME]
Three outcomes, three different actions:
| Result | Meaning | Do |
|---|---|---|
| token fails | key is wrong or revoked | rotate, see Step 1 |
| HTTP 401/403 on the edit | Play Console has not granted the account | Step 1's grant |
| edit opens and deletes | publishing is wired | continue |
A 403 here is the normal state of a brand-new service account, not a bug.
Use a dedicated publishing service account, separate from any billing or purchase-verification account. A credential that can push releases should not also be able to void purchases. Give it no cloud IAM roles: all of its authority comes from the Play Console grant, so before that grant the key is inert.
Store the JSON in the login Keychain base64-encoded:
security add-generic-password -U -s GOOGLE_PLAY_SERVICE_ACCOUNT_JSON -a <account> -w
Run it with -w last and no value so it prompts and the key never enters shell
history. Paste the base64, not the raw JSON.
Base64 is load-bearing. security hex-encodes any multi-line secret on read, so
raw JSON comes back in one of two shapes depending on content. Base64 gives one
shape and one decode path.
Granting access is a Play Console UI action and cannot be done from the API: invite the service-account email under Users and permissions with release permissions on the app. Report this to the user as a step only they can take, with the exact email and permissions, then re-run Step 0.
fastlane reads the working tree, not the remote. A stale checkout produces a
run that succeeds and does nothing, because a missing changelog is a skip rather
than an error.
git -C <repo> pull --ff-only && git -C <repo> log --oneline -1
If fastlane offers to set itself up, the Fastfile is not on disk. Answer no and pull; accepting scaffolds an empty config over the real one.
Release notes live at
fastlane/metadata/android/<locale>/changelogs/<versionCode>.txt, one file per
locale per versionCode.
A missing file is not an error. Play silently serves the previous version's notes, so users read stale text against a new build and nothing tells you. Write one for every locale that has listing copy, before uploading.
for l in $(ls fastlane/metadata/android); do
[ -f "fastlane/metadata/android/$l/changelogs/$VC.txt" ] || echo "MISSING: $l"
done
Match each locale's existing register rather than translating the English word for word. Check the limit: 500 characters.
A source read is not evidence that a change reached the binary.
jarsigner -verify app/build/outputs/bundle/release/app-release.aab | head -1
grep -oE 'android:version(Code|Name)="[^"]*"' \
app/build/intermediates/merged_manifests/release/*/AndroidManifest.xml
When the release changes an asset, hash it on both sides and require a match:
unzip -p <aab> 'base/res/*xxxhdpi*ic_launcher.png' | shasum -a 256
shasum -a 256 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
jarsigner reporting a self-signed certificate is correct under Play App
Signing, which re-signs with the real release key.
fastlane android internal
Build uploads carry the binary and its changelogs only. Listing text, icon, feature graphic and screenshots move through a separate lane, so a routine upload cannot rewrite what the store says about the app.
Play rejects a second bundle carrying a versionCode it already has. Re-uploading is not a slower path to the same place, it is an error.
Promote the versionCode already on the testing track, which is also the only thing that makes testing-first mean anything: the artifact reaching production is the one that was validated, bit for bit.
upload_to_play_store(
version_code: <code>, track: "internal", track_promote_to: "production",
skip_upload_aab: true, skip_upload_apk: true,
release_status: "inProgress", rollout: "0.1"
)
A production rollout is irreversible for the users who receive it. Stop and present:
Ready to promote versionCode <n> (<name>) to production at <pct>% of users.
Currently live: versionCode <m>. <one line on what users will notice>.
1. Promote at <pct>%
2. Promote at a different fraction
3. Upload to a testing track only
4. Hold
Then wait. Proceed on an explicit answer, and treat a standing instruction to ship as that answer.
The fastlane summary reports that the request succeeded, not what the release
became. Parameters like track_promote_release_status can differ from the
release_status you set, so read the track:
GET /androidpublisher/v3/applications/<pkg>/edits/<id>/tracks/production
Check three fields and say them plainly:
versionCodes: the build users get.status: inProgress is a staged rollout; completed is everyone.userFraction: absent when completed.A 100% rollout should land as status: completed with no userFraction. A
release sitting at inProgress with userFraction: 1.0 is a different state
that reads the same in a success message. Confirm which one you got.
Also confirm every locale you wrote appears in that release's releaseNotes.
Every line proven by a command in this run:
keystore.properties into a repo.android-app-factory, then return here for delivery.suede-aso. Listing changes travel in their own deliberate step (Boundary 4),
so plan them there and ship them separately from the binary.suede-ci-gate.suede-parity-contract.android-app-factory: route Play credential setup, upload,
track promotion, staged rollout, and live-state verification back here.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
79 skills in this plugin
/android-app-factorySuede Android App Factory Skills. Use when asked to "build an Android app" or modernize a Kotlin/Compose product: architecture, policy, privacy, billing, tests and a Play-ready release evidence package. NOT FOR: Play uploads or rollout (suede-play-release), website-to-iOS conversion (site-to-ios-app), review-only work (suede-code), or store listing strategy (suede-aso)./site-to-ios-appSuede Site to iOS App Skills. Use when asked to "turn this site into an iOS app" or convert a PWA: inspect the URL, choose shell or native strategy, then deliver an audit, build plan and release evidence. NOT FOR: Android builds (android-app-factory), Play rollout (suede-play-release), store listing strategy (suede-aso), or a native iOS app with no website./suede-ab-testingSuede A/B Testing Skills. Use when asked to "design an A/B test", compare variants, assess reliability, or build an experiment backlog: hypothesis, power, duration, guardrails and a predeclared decision rule. NOT FOR: instrumentation (suede-analytics), funnel diagnosis (suede-site-alchemy), variant copy (suede-copy), or channel incrementality (suede-attribution)./suede-ad-creativeSuede Ad Creative Skills. Use when asked to "write Google ad variants" or iterate hooks, headlines, RSA/PMax assets, static or motion concepts from product and performance evidence. Returns grounded variants and a limit-checked review package. NOT FOR: budgets/targeting (suede-ads), experiment design (suede-ab-testing), organic posts (suede-social), general imagery (suede-image), or landing copy (suede-copy)./suede-adsSuede Ads Skills. Use when planning paid acquisition and asked to "audit our paid campaigns" or choose channels, structure campaigns, set budget pacing, retargeting and kill-or-scale rules from verified unit economics and performance. NOT FOR: ad asset production (suede-ad-creative), tracking implementation (suede-analytics), attribution reconciliation (suede-attribution), or landing-page work (suede-site-alchemy)./suede-agent-teamsSuede Agent Teams Skills. Use when asked to "split this work across agents" or run coordinated shared changes in lanes with exclusive file ownership, collision checks, worktrees, rollback plans and evidence handoffs; also supports bounded contribution programs. NOT FOR: one bundled code DAG (suede-graph-flo-xr), diff review (suede-code), CI wiring (suede-ci-gate), or choosing one skill (suede-workflow-skills).npx claudepluginhub jasoncolapietro/suede-creator-skills --plugin suede-skillsOther plugins' skills for the same job