Sets up releases for a native Mac app: Mac App Store builds to TestFlight, Developer ID builds notarized as a dmg on GitHub Releases. Works on the XcodeGen SwiftUI app macos-bootstrap makes, standalone or apps/desktop/macos: a DeveloperID configuration with Hardened Runtime, fastlane match signing, notarytool and stapling, a GitHub Actions tag workflow, and a RELEASE.md runbook, including the Developer ID certificate only the Account Holder can make. Needs no account yet; connects the accounts later. Use when the user wants to ship or automate a Mac app: "맥 앱 배포 세팅해줘", "맥 앱 공증", "맥 앱 dmg 만들어서 깃허브 릴리즈에 올려줘", "Mac App Store 업로드 자동화", "맥 앱 테스트플라이트", "맥 앱 배포 계정 연결해줘", "notarize my mac app", "set up Developer ID signing and notarization in CI". Do NOT use for: iOS or Android releases (mobile-release), connecting accounts for the mobile pipeline (mobile-release-connect), creating the Mac app (macos-bootstrap, project-setup), Sparkle auto-update, Mac Catalyst, Electron or Tauri apps.
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.
Adds a release pipeline to a Mac-only SwiftUI app laid out the way mobile:macos-bootstrap makes it
(XcodeGen project.yml with platform: macOS, Config/{Debug,Release}.xcconfig, a sandboxed
entitlements file), at the repo root or in apps/desktop/macos. It is mobile:mobile-release's sibling and
keeps its conventions: fastlane with match, GitHub Actions, a RELEASE.md runbook, install without accounts
and connect later, and a gate that needs no credential. This file is the control flow: run the phases
in order, pass each phase's gate, and stop (don't cascade) on failure. Details live in
references/*.md, generated files in assets/, deterministic work in scripts/ (detect.sh finds the
app, render.sh writes the pipeline, verify.sh is the gate).
| Output | Configuration | Artifact | Goes to | When |
|---|---|---|---|---|
| Mac App Store | Release, Apple Distribution + Mac Installer Distribution | signed .pkg | TestFlight for macOS | macos-v* tag or by hand |
| Developer ID | DeveloperID (new), Developer ID Application, Hardened Runtime | notarized, stapled .dmg | a GitHub Release asset | the same tag |
| check (optional) | Debug, ad hoc as before | none | none | by hand, or nightly if the user asks |
Both outputs carry the app's one bundle id. DeveloperID exists because one configuration holds one set of
signing settings and passing signing on the xcodebuild command line breaks the local Swift package
targets; references/project.md gives the full reasoning. There is no Firebase channel: Firebase App
Distribution has no macOS support, so nightly builds are an optional unsigned check only.
CONFIG as TODO until the user has them. Lanes refuse to run while a value they need is
TODO, and refuse to upload a build whose API host is a placeholder.CONFIG is the record. Phase 0 decides the layout (project, scheme, target, bundle id,
API host key); render.sh writes it into CONFIG, and the lanes and verify.sh read it from there.xcodebuild test do not change. Release does switch to manual match signing; RELEASE.md says how to get
the profile for archiving from Xcode.fastlane/, Gemfile, Gemfile.lock, .ruby-version,
RELEASE.md, the missing .gitignore lines and the gitignored .bundle/, vendor/bundle/,
.macos-release/; .github/workflows/macos-release.yml; and the app files references/project.md
names (project.yml, Config/Release.xcconfig, Config/DeveloperID.xcconfig). Another pipeline's
files (mobile-release's fastlane/, workflows and RELEASE.md) are read-only. No .env* file in fastlane/.render.sh never overwrites: a matching file is skipped, a different one is the user's,
left alone and reported. The project edits check each line before adding it.<cmd> > <log> 2>&1; echo "rc=$?", logs
under the gitignored <mac dir>/.macos-release/. verify.sh writes its own to .macos-release/verify/.gh workflow run is outward-facing: only on an explicit yes in this turn, never in a
non-interactive run.Plan: line and wait for a yes before the
first write. In a non-interactive run print it and stop unless the caller explicitly said to proceed.
Installing a tool (Ruby, actionlint, xcodegen) needs its own yes; without one, take the reduced gate and
report the gap. The gems bundle install fetches into the gitignored vendor/bundle are project
dependencies: the plan's yes covers them.| # | Phase | Reference | Gate |
|---|---|---|---|
| 0 | Preflight, layout, Plan: line | none | app found, inputs decided, Plan: composed; confirmed or proceed given |
| 1 | fastlane, workflow, runbook | references/pipeline.md | render.sh ran; verify.sh <ROOT> layout: no FAIL |
| 2 | Configurations and signing | references/project.md | verify.sh <ROOT> project build: no FAIL |
| 3 | Verify + report | none | verify.sh <ROOT> (all parts) after the last edit, report written |
| 4 | Connect accounts (only when asked) | references/connect.md | CONFIG filled, verify.sh <ROOT> fastlane smoke stops at Missing environment variables |
A gate passes on no FAIL. Every SKIP goes in the report with its reason: no Xcode (build settings and the
archive), no app icon or no PrivacyInfo.xcprivacy (App Store blockers), Ruby below 3.2, no actionlint.
Phase 4 is a separate request ("맥 앱 배포 계정 연결해줘"), or the user's yes to it after phase 3. A request that only connects accounts on an already set up repo starts at phase 0 step 2 and goes to phase 4.
0. Preflight, layout. Look before asking.
ROOT is the git root. Run bash <this skill>/scripts/detect.sh <ROOT> and read every file it names
(project.yml, the xcconfigs, the entitlements) before deciding. A stop: line ends the run: report it
(a hand-kept macOS .xcodeproj without project.yml, a spec that also builds iOS, a fastlane setup in
the mac dir this skill did not write, a macos-release.yml from elsewhere). No Mac app at all: point at
mobile:macos-bootstrap (or toolkit:project-setup). An iOS or Android app is mobile:mobile-release's;
a note: naming mobile-release's Fastfile means both pipelines will share the match repo and the App
Store Connect key.
Resume. An earlier run: line means CONFIG holds the layout: use it, and let each phase's idempotency
decide what is left. Connecting accounts is phase 4, not a re-run.
Decide: the mac dir (the directory holding project.yml; fastlane/ goes beside it), the generated
project (<name>.xcodeproj), the app target and its scheme (XcodeGen writes schemes shared), the bundle
id, and the API host key: the Info.plist key whose value is $(<SETTING>) with a URL-ish name
(API_BASE_URL in a bootstrapped app), or none. More than one Mac app spec: ask which ships.
Toolchain, each probe run directly: macOS; Xcode 26+ (DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
when xcode-select -p ends in CommandLineTools); xcodegen; Ruby 3.2+ with Bundler 2.4+, found the way
mobile-release's SKILL.md phase 0 step 4 describes (never macOS system Ruby 2.6); actionlint optional.
No Xcode: phase 2's build-setting and archive checks are SKIP, and the report says so.
Inputs, asked once and together, defaults in brackets; skip any the caller passed:
.invalid placeholder [keep the placeholder; the
report lists it, and the upload lanes refuse it].macos-v; not bare v, which a backend in the same repo may use, and not
mobile-v, which is the iOS and Android pipeline's].17 3 * * *, Asia/Seoul].XCODE_APP: Xcode_<version>.app from the local xcodebuild -version, checked against GitHub's runner
image as mobile-release's pipeline.md describes (no local Xcode: the newest 26.x the image lists, and say so).
Compose the plan as one line:
Plan: ROOT=<path>, mac dir=<dir>, project=<X.xcodeproj> scheme <S> target <T> id <id>, outputs: App Store (Release) to TestFlight, Developer ID (DeveloperID, created) dmg to GitHub Releases, host <host or placeholder or "app has none">, tag=<prefix>*, check=<cron tz or by hand>, edits: project.yml, Config/Release.xcconfig, Config/DeveloperID.xcconfig, side effects: <list>
Side effects to list: bundle install of about 105 gems into <mac dir>/vendor/bundle (network),
xcodegen generate and Xcode builds (the gates), reading GitHub's runner image README (network), any
tool install, writing into the repo, and that Release switches to manual match signing. Interactively
show it and wait for a yes; with permission to proceed, continue. The report repeats the whole line.
Gate: app found, inputs decided, Plan: line composed, and confirmation received (or permission given).
1. fastlane, workflow, runbook. Read references/pipeline.md. Run
bash <this skill>/scripts/render.sh <ROOT> KEY=VALUE... with the phase 0 values and handle any differs
line as pipeline.md says. Then, with Ruby available, the bundle config / bundle lock / bundle install
sequence from pipeline.md. Gate: bash <this skill>/scripts/verify.sh <ROOT> layout prints no FAIL; a FAIL
is a phase 0 value that does not match the repo: fix that line in CONFIG and re-run.
2. Configurations and signing. Read references/project.md and make its three edits: project.yml
(the configs: section, the DeveloperID configFiles entry, the version and encryption keys that are
missing), Config/Release.xcconfig (match App Store signing; the real host when phase 0 got one), and
Config/DeveloperID.xcconfig (new). Gate: bash <this skill>/scripts/verify.sh <ROOT> project build prints
no FAIL. Without Xcode the file checks still run and the build-setting and archive checks SKIP; with Xcode,
xcodegen generate, -showBuildSettings per configuration and an unsigned Release archive run too. A SKIP
on the app icon is expected for a fresh app: an App Store blocker only, and the report lists it.
3. Verify + report. Run bash <this skill>/scripts/verify.sh <ROOT> once more for every part after all
edits. Report:
맥 앱 배포 세팅: <ROOT> (<mac dir>)
| Check | Result | Evidence |
|---|---|---|
| plan | as run | Plan: <the whole line again> |
| layout | pass | AcmeDesk.xcodeproj scheme AcmeDesk, com.acme.desk |
| configurations | pass | Release: match AppStore com.acme.desk macos; DeveloperID: match Direct ..., hardened runtime; Debug ad hoc, unchanged |
| build settings | pass or not run | -showBuildSettings Release, DeveloperID, Debug (no Xcode: not run) |
| Release archive (unsigned) | pass or not run | com.acme.desk 1.0.0 (4242), API_BASE_URL https://..., productivity |
| fastlane | pass | lanes mac.testflight mac.developer_id mac.certs, every option known, smoke stops at its own checks |
| workflow | pass | actionlint clean; every secret documented in RELEASE.md |
| hygiene | pass | no .env in fastlane/, no key material tracked, build output ignored |
Placeholders: <host still .invalid; LSApplicationCategoryType still the seed's productivity>, Fastfile CONFIG TODO: <keys>
App Store blockers: <app icon, required-reason APIs without PrivacyInfo.xcprivacy; or none>
Not verified: signing with real certificates, the TestFlight upload, notarization and stapling (need the accounts), a run on GitHub's hosted runners
Next: <mac dir>/RELEASE.md from "전체 흐름"; the Developer ID certificate is the Account Holder's; "맥 앱 배포 계정 연결해줘" for the rest; Sparkle auto-update when the Developer ID app needs it
Every skip and failure gets a row. Write the prose in the user's language, but the plan row's Evidence is
the phase 0 line verbatim, starting with Plan: : it is the record of what this run decided.
4. Connect accounts. Read references/connect.md and follow it. It reuses
mobile:mobile-release-connect's secret.sh and asc.rb from the sibling skill directory and its rules
(no secret in the conversation, a yes after the plan for every outward step, stop points). Gate: CONFIG
filled and verify.sh <ROOT> fastlane shows the smoke runs stopping at Missing environment variables.
Sparkle or any auto-update (a next step in RELEASE.md), App Store listings, screenshots and review
submission, a hand-kept macOS .xcodeproj without project.yml, multiplatform targets, Mac Catalyst,
app extensions and helper tools that need their own signing (each embedded binary needs its own profile or
hardened runtime setup), Developer ID Installer .pkg distribution, Electron, Tauri and other desktop
stacks, and CI other than GitHub Actions. Name them as next steps when they come up; don't scaffold them.
assets/Fastfile (opens in a new tab)assets/Gemfile (opens in a new tab)assets/RELEASE.md (opens in a new tab)assets/gitignore (opens in a new tab)assets/macos-release.yml (opens in a new tab)assets/ruby-version (opens in a new tab)evals/behavior.sh (opens in a new tab)evals/trigger-eval.json (opens in a new tab)references/connect.md (opens in a new tab)references/pipeline.md (opens in a new tab)references/project.md (opens in a new tab)scripts/detect.sh (opens in a new tab)scripts/render.sh (opens in a new tab)scripts/verify.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/mobile:macos-releasefrom mobile
npx claudepluginhub siu9068/ggyul-skills --plugin mobileOther plugins' skills for the same job
10 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).