fastlane
Skill4 starsChanged 4 months agoMITView on GitHub
Native iOS/Android release automation with Fastlane: TestFlight, App Store submission, Match signing, screenshots. For non-EAS pipelines and CI deploys; iOS lanes need macOS.
- Reads credentials
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Aolinkun/Skillstheir own version, first seen Jul 17, 2026
- tuannv14/claude-team-toolkittheir own version, first seen May 5, 2026
- maxkle1nz/codex-fastlanetheir own version, first seen Apr 29, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Aolinkun/Skills★ 1same name
- maxkle1nz/codex-fastlane★ 1same name
- tuannv14/claude-team-toolkit★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository162 other files it gives its agents.
- agents/AGENTS.mdAGENTS.md
- skills/compound-engineering/AGENTS.mdAGENTS.md
- skills/trailofbits-security/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- skills/compound-engineering/CLAUDE.mdCLAUDE.md
- skills/trailofbits-security/CLAUDE.mdCLAUDE.md
- app-store-reviewSkill
- advanced-javascriptSkill
- ai-native-uiSkill
- anime-jsSkill
- app-l100Skill
- barba-jsSkill
- brand-guidelinesSkill
- cinematic-web-engineSkill
- codebase-knowledge-graphSkill
- crossplatform-monorepoSkill
- css-first-uiSkill
- design-auditSkill
- design-critiqueSkill
- dev-cycleSkill
- device-hardware-bridgeSkill
- discovery-docSkill
- docxSkill
- edge-intelligenceSkill
- graph-aware-reviewSkill
- linkedin-posterSkill
- local-first-architectureSkill
- modern-build-pipelineSkill
- motion-nativeSkill
- nano-bananaSkill
- playwrightSkill
- pptxSkill
- project-initSkill
- remotionSkill
- sensory-nativeSkill
- spline-3dSkill
- streaming-cacheSkill
- tanstack-ecosystemSkill
- design-taste-frontendSkill
- tauri-desktopSkill
- threejsSkill
- transition-nativeSkill
- ui-design-stackSkill
- visual-nativeSkill
- web-l100Skill
- web-platform-apisSkill
- xlsxSkill
- better-authSkill
- claude-real-videoSkill
- clone-websiteSkill
- css-keyframe-animationsSkill
- design-checkSkill
- design-dnaSkill
- design-polishSkill
- drizzle-neonSkill
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use Fastlane (this skill): when you have left the managed flow: bare React Native, native iOS/Android, custom signing, or a CI pipeline …
- Very specific: line 77
Run: fastlane lanes to list, fastlane ios beta, fastlane ios release.
- Very specific: line 123
Xcode Cloud: add ci_scripts/ci_post_clone.sh (installs Homebrew + Fastlane) and ci_post_xcodebuild.sh (runs the lane matching the workflow …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fastlane Deployment
Fastlane is the industry-standard automation toolchain for iOS/Android release: code signing, building, screenshots, TestFlight, and App Store submission as one-command lanes. This skill is the distilled playbook for wiring it into a project.
When to use this vs. EAS
- Use
expo-deployment(EAS Submit/Build) for Expo managed projects — it is the path of least resistance and runs from any OS. - Use Fastlane (this skill) when you have left the managed flow: bare React Native, native iOS/Android, custom signing, or a CI pipeline (Xcode Cloud, GitHub Actions macOS runners) where you want explicit, reproducible lanes.
Platform reality (important on Windows): the iOS lanes (
gym,pilot,deliver,snapshot,matchcert generation) require macOS + Xcode CLI tools. On a Windows box you drive these through a macOS CI runner (Xcode Cloud or a GitHub Actionsmacos-latestjob) — see the CI section. Android lanes (supply, Gradle builds) run on any OS.
Prerequisites
- macOS with Xcode CLI tools (
xcode-select --install) — for iOS - Homebrew, then
brew install fastlane(Homebrew avoids the Bundler/Ruby 4.x dependency breakage) - An Apple Developer account + an App Store Connect API key (
.p8) for non-interactive/CI auth
The release workflow
SETUP ──▶ MATCH ──▶ SNAPSHOT ──▶ BETA ──▶ RELEASE
(config) (signing) (screenshots) (TestFlight) (App Store)1. Setup — fastlane/Appfile + fastlane/Fastfile
Appfile holds identity; Fastfile defines lanes.
# fastlane/Appfile
app_identifier("com.yourco.app")
apple_id("you@example.com")
team_id("ABCD1234")# fastlane/Fastfile
default_platform(:ios)
platform :ios do
desc "Run tests"
lane :test do
scan(scheme: "YourApp")
end
desc "Build + upload to TestFlight (internal)"
lane :beta do |options|
setup_ci # temp keychain on CI; no-op locally
match(type: "appstore", readonly: true) # see lane :certificates
increment_build_number unless options[:skip_build_increment]
gym(scheme: "YourApp", export_method: "app-store")
pilot(skip_waiting_for_build_processing: true)
end
desc "Submit the latest TestFlight build for App Store review"
lane :release do
deliver(
build_number: latest_testflight_build_number.to_s,
submit_for_review: true,
automatic_release: false,
force: true,
skip_binary_upload: true # submit an already-uploaded build
)
end
endRun: fastlane lanes to list, fastlane ios beta, fastlane ios release.
2. Match — team code signing in a private Git repo
Match stores certificates + provisioning profiles encrypted in a private Git repo, so every machine/CI runner uses the same signing identity (kills "works on my machine" signing drift).
gh repo create certificates --private # private repo for the encrypted certs
fastlane match init # choose git storage, point at that repo
fastlane match appstore # generate App Store certs (first run sets the passphrase)- In build lanes, always call
match(type: "appstore", readonly: true)so CI can't regenerate/revoke certs. - Save the Match passphrase in a password manager — CI and new teammates need it.
- Onboard a teammate:
fastlane match appstore --readonly(needs repo access + passphrase + Apple team membership).
3. Snapshot — automated App Store screenshots
fastlane snapshot init writes a Snapfile + SnapshotHelper.swift; you add snapshot("01_Home") calls in a UI-test target, then fastlane snapshot captures every device × language combination. Upload with deliver:
fastlane deliver --skip_binary_upload --skip_metadata --overwrite_screenshotsGotchas: App Store rejects screenshots with an alpha channel (
ITMS-90475) — flatten to RGB first (magick in.png -alpha remove -alpha off out.png). Under any automated run StoreKit renders prices from the US storefront regardless of region; render non-USD prices from your own pricing source behind a#if DEBUGhook.deliveruploads app-level assets only — per-IAP review screenshots and the 1024² promo are uploaded by hand in App Store Connect.
4 & 5. Beta + Release
fastlane ios beta→ syncs certs, bumps build, builds withgym, uploads to TestFlight viapilot. External testers: abeta_externallane withdistribute_external: true+groups.fastlane ios release→ submits the tested TestFlight build for review. Arelease_fullvariant builds a fresh binary + bumps version + submits in one pass.
CI deployment (the Windows path)
Non-interactive auth needs an App Store Connect API key, not an Apple ID (which forces interactive 2FA):
api_key = app_store_connect_api_key(
key_id: ENV["APP_STORE_CONNECT_API_KEY_KEY_ID"],
issuer_id: ENV["APP_STORE_CONNECT_API_KEY_ISSUER_ID"],
key: ENV["APP_STORE_CONNECT_API_KEY_KEY"], # the .p8 contents, base64
is_key_content_base64: true
)
pilot(api_key: api_key)- GitHub Actions (
runs-on: macos-latest): setMATCH_PASSWORD,MATCH_GIT_URL, and the API-key vars as secrets; runfastlane ios certificates(=setup_ci+match readonly) thenfastlane ios beta. - Xcode Cloud: add
ci_scripts/ci_post_clone.sh(installs Homebrew + Fastlane) andci_post_xcodebuild.sh(runs the lane matching the workflow nameBeta/Release); add the API-key +MATCH_PASSWORDenv vars as Secret in the workflow.
Key environment variables
| Variable | Purpose |
MATCH_PASSWORD, MATCH_GIT_URL | Decrypt + locate the Match certs repo |
APP_STORE_CONNECT_API_KEY_KEY_ID / _ISSUER_ID / _KEY | Non-interactive ASC auth (preferred for CI) |
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD | App-specific password fallback for local Apple-ID auth |
Full detail
This is a distilled reference. The full per-command guides (exhaustive troubleshooting tables, the complete Snapfile/Matchfile templates, every lane variant) live in the pinned upstream repo — see NOTICE.md for the source + commit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

