Connects a mobile-release pipeline to real Firebase, Play Console, App Store Connect and GitHub accounts. Does RELEASE.md's one-time setup: Firebase project, apps and groups by CLI, the Android upload key and secrets via the Keychain, never shown, App IDs and TestFlight groups by API, and the console-only steps (Play app, first AAB, App Store Connect record, API key) in the user's browser via Aside, stopping before every agreement, payment, permanent name or rollout. Then fills the Fastfile CONFIG, verifies, and writes a local slug-fad Firebase upload command. Always shows a plan before acting outside the repo. Use after mobile-release once accounts exist: "배포 계정 연결해줘", "RELEASE.md 한 번만 하는 설정 대신 해줘", "파이어베이스 프로젝트 만들고 앱 ID 채워줘", "플레이 콘솔에 앱 만들고 첫 빌드 올려줘", "애플 API 키 만들어서 시크릿에 넣어줘", "모바일 배포 설정 값 채워줘", "로컬에서 바로 FAD 올리는 명령 만들어줘". Do NOT use for: setting up the pipeline (mobile-release), developer program sign-up or payment, store submission, backend deploys, or general browsing (aside-browser, browse).
Ships in mobile. 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.
mobile:mobile-release leaves a pipeline that builds without any account and a RELEASE.md beside its
fastlane/ listing the one-time setup a person has to do. This skill does that setup with the user: by CLI
or API where one exists, in the user's own browser through the Aside CLI where only a console page exists,
and it hands back to the user only what must be theirs. This file is the control flow; each track's steps are in
references/, and the deterministic parts are scripts.
| Track | Reference | What it connects |
|---|---|---|
| F | references/firebase.md | Firebase project, apps, "Get started", groups and testers, the CI service account |
| P | references/play.md | upload keystore, Play app, first release, the Play service account and its invite |
| A | references/apple.md | Team ID, API key, App IDs, app record, match repo and password, signing assets, TestFlight group, app icon |
| G | this file, phases 4 and 5 | remaining GitHub secrets, the filled CONFIG, verification, the first run |
scripts/state.sh <ROOT> reads what is already connected (CONFIG ids, hosts, secret
and variable names, Keychain items, the keystore, the match repo) and prints DONE or TODO per item. Console
steps leave no local trace, so after confirming one (by snapshot or listing) record it with
state.sh <ROOT> --mark <step>; the reference names the step at that point. Every run starts and ends with
state.sh; a step whose items are DONE is skipped, which is also how an interrupted run resumes. DONE
means recorded or present, not proven correct. Mark a step only after confirming it, by a snapshot, a
listing, or the user saying they did it (write "per user" in the report then).scripts/secret.sh, which moves them
between the file, the login Keychain and GitHub without printing them. A secret only the user knows (the
GitHub token, an existing match password) they enter with secret.sh ask NAME in their own terminal, not
through Claude. If secret.sh hangs, the Keychain is locked: ask the user to unlock it in the macOS dialog,
and never inspect the hung process (ps would show the value). If a secret reaches the conversation by
any route, including your own output, stop, name which one, and ask the user to rotate it.aside --update.
Show the phase 0 plan, end the turn, and act only on the user's reply. A go-ahead written into the request
itself ("확인 없이 진행해도 돼") covers the local steps, never an outward one: it was given before the
user saw what would happen. This is also what makes a non-interactive run safe without guessing whether
it is one: no reply ever comes, so nothing outward happens.references/browser.md
(agreements, payments, permanent names and ids, first rollout, credentials and access grants): a yes to
the plan does not cover them. Several due at the same moment can be asked together, one line each.
Agreements and payments are always clicked by the user.state.sh, gh secret list, CLI listings), filling CONFIG
with ids the user gave, placing an app icon the user gave, mobile-release's verify.sh, writing the local upload command
(local-fad.sh). The keystore is
not local (its script sets GitHub secrets).scripts/asc.rb cover most of it and are
repeatable. The browser is for the steps that have no API, as references/browser.md describes.CONFIG lines (via
scripts/fill-config.sh), the iOS app icon and its Contents.json entry when the user gives a PNG, and
logs, downloads and progress under the gitignored <mobile dir>/.mobile-release/ (connect/, made in
phase 0, and verify/, which mobile-release's verify.sh writes). Outside the repo it writes one file of its
own, ~/.local/bin/<slug>-fad (phase 5). It counts as local: it holds no secret, nobody else sees it, and
deleting it undoes it. It does not commit or push; when the user asks for that, it is a separate yes.state.sh)
before the next. A failed create, upload or rollout is never retried blindly: a second click can make a
second app or release.| # | Phase | Gate |
|---|---|---|
| 0 | Preflight, state, plan | scaffold found, state.sh read, accounts and tools known, plan shown; the user's yes in reply |
| 1 | Track F (Firebase) | F items DONE in state.sh, apps "Get started" |
| 2 | Track P (Android, Play) | P items DONE, first internal release rolled out, service account invited |
| 3 | Track A (Apple) | A items DONE, asc.rb app finds the record, ios certs ran |
| 4 | GitHub leftovers (track G) | every secret the workflows name is DONE in state.sh (OPT Keychain lines do not block) |
| 5 | CONFIG, verify, local command, first run | fill-config.sh done, mobile-release verify.sh fastlane no FAIL, local-fad.sh wrote <slug>-fad, report written |
Phases 1 to 3 are not run strictly in table order; the order of work is below.
Run only the tracks the request covers ("파이어베이스만 연결해줘" is track F and phase 5), and skip a track
whose platform the repo does not have. A request that only hands over ids ("모바일 배포 설정 값 채워줘")
is phase 0 steps 1 to 3 (scaffold, state, the log directory) and then phase 5: fill, verify, report
what is still TODO. No setup questions and no plan gate, since all of it is local. Do check what can be
read without asking (gh repo view <match url>, firebase apps:list when logged in) and report a mismatch,
but fill what the user gave. The closing offer stays: a local commit always, push and a first run only with
an origin. A request for only the local upload command ("로컬에서 바로 FAD 올리는 명령 만들어줘") is phase 0 steps
1 to 3, phase 5 step 3, then the report with only the local command row, "Still yours" and "Next"; no plan
gate and no commit offer, since no repo file changes.
Order when doing everything: P1 (keystore) and A5 (match repo) first, since they need no console; then track F (P4 reuses its project); then the rest of P; then A; then phases 4 and 5.
0. Preflight, state, plan.
Placeholders used across the references: <ROOT> the repo root; <mobile dir> the directory holding
fastlane/, which state.sh prints, relative to <ROOT> (. when it is the root); <slug> the keystore
name in RELEASE.md's keytool line (~/.android-keys/<slug>-upload.jks), also the prefix for project and repo
names; <App Name> the Android app_name in the app module's src/main/res/values/strings.xml (not a
channel's override), else the iOS display name (CFBundleDisplayName, or the prod configuration's
INFOPLIST_KEY_CFBundleDisplayName), while the public store name is asked separately in apple.md A4; and in
angle brackets, a Fastfile CONFIG key's value: <android_dir>, <android_module>, <android_prod_variant>,
<ios_dir>, the app ids <android_id> and <ios_id> (prod), <android_dev_id>, <android_staging_id>,
<ios_dev_id>, <ios_staging_id>, and the group aliases. Paths in CONFIG are relative to <mobile dir>.
Staging is optional in mobile-release: when CONFIG has no *_staging_* keys, every staging app, group, id
and command in this skill and its references does not apply; skip it rather than asking for it.
fastlane/Fastfile that says written by mobile:mobile-release, with a CONFIG, and
RELEASE.md beside its fastlane/; .github/workflows/mobile-nightly.yml and mobile-release.yml. It
is found by its Fastfile (mobile-release's scripts/layout.sh, which state.sh uses), not at a fixed
path: the app may sit at the root, in ios/, in apps/mobile, anywhere. None found: stop and point to
mobile:mobile-release. More than one: stop and report the paths state.sh names.bash <this skill>/scripts/state.sh <ROOT>. Keep the output (in the conversation is enough); it is the
plan's input and the report's baseline. Its first line, INFO mobile dir: <dir>, is <mobile dir>. If
MR_REPO, MR_KEYCHAIN or MR_KEYS_DIR is set, say so at the top of the reply: they are test
overrides, and real keys created under them land in a temporary place. Do no outward step until the user
unsets them or says to keep them.mkdir -p <ROOT>/<mobile dir>/.mobile-release/connect (gitignored): logs, downloads and state.sh
progress go there.gh auth status, and a GitHub remote (git remote get-url origin pointing at github.com, then
gh repo view). With no origin, ask which GitHub repo the secrets go to and run every script with
GH_REPO=<owner>/<name> (gh reads it too): Keychain items are named after that repo, so the origin
added later must be the same one. Push and the first run still need an origin. node for
npx firebase-tools; Ruby and
the bundle in <mobile dir> (bundle check; the mobile-release Ruby rules apply); a JDK ($JAVA_HOME/bin/keytool
when JAVA_HOME is set, which is what the scripts use, else keytool on PATH; jarsigner); aside for the browser tracks (references/browser.md, Setup); gcloud optional. A missing
tool that a chosen step needs: offer the install and wait for a yes, or plan the browser path instead.state.sh, with its method (CLI, API script, browser, you) and
whether it is outward, then the stop points it will hit. Do the local steps, show the plan, and end the
turn; the outward work starts from the user's reply.1 to 3. Tracks. Read the track's reference when you start it and follow its steps in order. Each step there says its method, its stop point if it has one, and how to check it. When the user goes quiet at a stop point, wait; when they decline, skip that step, mark it in the report, and continue with steps that do not depend on it.
4. GitHub leftovers. Run state.sh and settle every GitHub secret ... missing line: most were set by
the tracks; MATCH_GIT_BASIC_AUTHORIZATION is the user's (apple.md A6). Check with state.sh, which shows
names only.
5. CONFIG, verify, first run.
bash <this skill>/scripts/fill-config.sh <ROOT> key=value ... for every id the tracks produced (it
checks each value's shape and that app ids belong to the project number).bash <this skill>/../mobile-release/scripts/verify.sh <ROOT> fastlane must show no
FAIL. With CONFIG filled, its smoke runs now stop at Missing environment variables instead of still TODO, which is the expected sign that only secrets stand between the lanes and an upload.bash <this skill>/scripts/local-fad.sh <ROOT> writes ~/.local/bin/<slug>-fad
(MR_BIN_DIR moves it), so the user can send a build to testers without waiting for the nightly:
<slug>-fad android dev, <slug>-fad ios dev, <slug>-fad sync-devices after a new iPhone registers,
--dry to build and sign without uploading (no Firebase key needed). <slug> is RELEASE.md's keystore
name, or the GitHub repo name when RELEASE.md has none. Write it, do not run it: offer <slug>-fad android dev --dry
(or ios dev --dry) as the Next line, since even a dry run is a full build.
<ROOT>'s absolute path, so run it on the main checkout, not a worktree or a copy (it warns
about a linked worktree); <SLUG>_REPO=<path> builds another checkout at run time. Secrets stay in
the Keychain and are read at run time, so rerunning after a layout change only rewrites the file.--force, which keeps the old one as <name>.bak.<time>? Make that question the Next line, write the
report, and run --force only on a yes in reply.TODO Keychain <NAME> line names an item this Mac lacks and the subcommand that needs it (they
print even on exit 3); list them under "Still yours". A missing FIREBASE_SERVICE_ACCOUNT_JSON_BASE64 (a
WIF setup has no key) means only --dry works here until one is stored with secret.sh file ... --keychain.state.sh still shows firebase-get-started or firebase-groups as TODO, add under "Still yours" that
an upload may fail or reach no tester until they are done.git remote get-url origin works: commit and
push the Fastfile change (the nightly runs only from the default branch; it skips a platform whose
secrets are not all set yet, so pushing early is safe), then a first run once state.sh shows the
secrets, gh workflow run mobile-nightly.yml -f channel=dev -f force=true and gh run watch, whose green
result and a release in the Firebase console prove the whole chain.In the reply, not a file:
모바일 배포 연결: <ROOT>
| Item | Before | Now | How |
|---|---|---|---|
| CONFIG firebase_project_number | TODO | 123456789012 | firebase-tools |
| Android upload keystore | TODO | <jks path the script printed> | android-keystore.sh (password in Keychain) |
| Play app and first internal release | TODO | rolled out | browser; you checked the declarations |
| GitHub secret MATCH_GIT_BASIC_AUTHORIZATION | TODO | DONE | you, in your terminal |
| Local upload command | none, or the file it replaced | <path local-fad.sh printed> | local-fad.sh |
| ... | | | |
Still yours: <sign-ups, payments, declarations, the GitHub token, tester invites in App Store Connect, or none>
Back up: <jks path> and the Keychain items mobile-release/<repo>/* (password manager)
Expires: <the match token's date>
Not verified: <steps skipped or declined, and anything not confirmed by a listing or snapshot>
Next: <commit and push, then the first nightly run; or the first blocked step>
Rows are the state.sh lines that changed, plus what each step printed; summarize the unchanged ones in one
line. Leave out the lines that do not apply (no keystore made, no token issued). ???? lines go under "Not
verified". A step that was not confirmed is not DONE.
Signing up for the Apple Developer Program or a Play developer account, identity verification and payments; store listings, screenshots, review submission and production rollout; backend deployment and DNS for the API hosts; Crashlytics and other SDKs. Name them as the user's next steps when they come up.
assets/fad.sh (opens in a new tab)evals/behavior.sh (opens in a new tab)evals/scripts-check.sh (opens in a new tab)evals/trigger-eval.json (opens in a new tab)references/apple.md (opens in a new tab)references/browser.md (opens in a new tab)references/firebase.md (opens in a new tab)references/play.md (opens in a new tab)scripts/android-keystore.sh (opens in a new tab)scripts/asc.rb (opens in a new tab)scripts/fill-config.sh (opens in a new tab)scripts/local-fad.sh (opens in a new tab)scripts/secret.sh (opens in a new tab)scripts/state.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/mobile:mobile-release-connectfrom mobile
npx claudepluginhub siu9068/ggyul-skills --plugin mobile10 skills in this plugin
/android-bootstrapScaffolds a native Android app (Kotlin, Compose, AGP 9) from zero, standalone or apps/mobile/android in a monorepo. Not for iOS. House convention: Gradle 9 + version catalog, Compose Material3, Navigation 3, Hilt/KSP, Retrofit + kotlinx.serialization, Room + DataStore, ViewModel + StateFlow, JUnit/Turbine, ktlint, a seeded /ping status screen. Use when the user wants to start, set up or scaffold a new Android or Kotlin app: "안드로이드 앱 세팅해줘", "코틀린 컴포즈 프로젝트 만들어줘", "apps/mobile/android 만들어줘", "bootstrap an Android app", "set up a Jetpack Compose project in our monorepo". Do NOT use for: an iOS or Swift app (ios-bootstrap), a whole project or two or more bootstrap legs in one ask like backend + web + mobile (project-setup), adding a screen or feature to an existing Android app (android-screen-creator) or generating that skill (android-screen-creator-bootstrap), a theme from design references (native-design-system-import), React Native, Flutter or Kotlin Multiplatform, or a Next.js web frontend (nextjs-bootstrap)./android-screen-creator-bootstrapGenerates an Android repo's own android-screen-creator + android-component-checker pair from its real Compose code. Not for scaffolding. Android twin of screen-creator-bootstrap: discovers THIS Kotlin + Compose repo's conventions (modules, Nav3 or Nav2, Hilt, ViewModel and UiState, stateful/stateless split, Retrofit DTOs, theme, shared composables, tests, Gradle verify chain) and welds them into a gated screen builder and a composable auditor, harvesting design hardcoded in Kotlin (Color(0x..), raw dp) into the Android sections of docs/design-system/mobile/. Use for "안드로이드 화면 생성 스킬 이 레포에 맞게 만들어줘", "set up android-screen-creator here", "컴포즈 컴포넌트 공통화 스킬 만들어줘". Do NOT use to scaffold an app (android-bootstrap), for Next.js (screen-creator-bootstrap) or iOS (ios-screen-creator-bootstrap), to import a design reference (native-design-system-import, design-system-import), for a whole new project (project-setup), to build a screen now (the generated android-screen-creator), or to edit skills (skill-ops).