fastlane
Skill1 starsChanged 7 months agoMITView on GitHub
Use when releasing iOS/Android builds, uploading to TestFlight, App Store Connect, or Play Console, or managing code signing with match. Multi-app via FASTLANE_PROFILE.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Leo-Atienza/atlas-claudetheir own version, first seen Jul 24, 2026
- Aolinkun/Skillstheir own version, first seen Jul 17, 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
- Leo-Atienza/atlas-claude★ 4same name
- Aolinkun/Skills★ 1same name
- maxkle1nz/codex-fastlane★ 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 repository16 other files it gives its agents.
- azure-devopsSkill
- firebaseSkill
- herokuSkill
- k6Skill
- linearSkill
- maestroSkill
- postgresSkill
- profiles-and-credentialsSkill
- rails-securitySkill
- react-nativeSkill
- rspecSkill
- sentrySkill
- shopifySkill
- slackSkill
- trelloSkill
- xlsx-testcasesSkill
The file
Files
/fastlane — mobile release automation (multi-app)
Wraps bundle exec fastlane for iOS/Android release workflows. Profiles
manage credentials per app/team. The Fastfile lives in the project repo.
Profile resolution: --profile → FASTLANE_PROFILE → ~/.fastlane/active_profile → [default].
Overview
Wraps bundle exec fastlane for mobile release workflows. Profiles per app/team isolate API keys, signing repos, and credentials. The Fastfile lives in the project repo — this skill orchestrates which env vars and lanes to run.
When to Use
- Releasing iOS/Android: TestFlight, App Store Connect, Play Console
- Code signing via match (cert/profile sync through encrypted git)
- Beta distribution to testers (TestFlight, Play internal track)
- Generating screenshots, pulling/pushing App Store metadata
When NOT to Use
- Project has no
Fastfile→ set up Fastlane first (fastlane init) - One-off CLI builds →
xcodebuild/gradledirectly - Web/non-mobile releases → wrong tool
- Build errors unrelated to release → use
react-nativeor platform tools
Profile config
~/.fastlane/credentials (mode 600):
[default]
project_path = .
# iOS — App Store Connect API key (preferred over Apple ID + 2FA)
appstore_api_key_id = ABCDEFGHIJ
appstore_api_issuer_id = 12345678-aaaa-bbbb-cccc-1234567890ab
appstore_api_key_path = /Users/me/.appstore-keys/AuthKey_ABCDEFGHIJ.p8
# Android — Google Play service account JSON
google_play_json_key = /Users/me/.gplay/service-account.json
# Match (signing) — repo + passphrase (also via MATCH_PASSWORD env)
match_git_url = git@github.com:org/certs.git
match_password = xxxxxxxxxxxx
[work]
project_path = /path/to/work/app
appstore_api_key_id = XYZWVU1234
require_confirm = true # gate every releaseWhy API keys over Apple ID: API key has no 2FA, scoped permissions, revocable. CI breaks daily on Apple ID + phone-based 2FA codes.
Match (recommended): stores certs/profiles in encrypted git repo. Anyone
on team gets identical signing setup. Encrypted with match_password.
Helpers
Shared profile/INI/
ctt_*pattern reference: profiles-and-credentials.
source "$HOME/.claude-team-toolkit/lib/credentials.sh"
source "$HOME/.claude-team-toolkit/lib/confirm.sh"
ctt_load_creds fastlane "$PROFILE"
cd "$CTT_PROJECT_PATH" || { echo "No project at $CTT_PROJECT_PATH" >&2; return 1; }
fastlane_run() {
APP_STORE_CONNECT_API_KEY_KEY_ID="$CTT_APPSTORE_API_KEY_ID" \
APP_STORE_CONNECT_API_KEY_ISSUER_ID="$CTT_APPSTORE_API_ISSUER_ID" \
APP_STORE_CONNECT_API_KEY_KEY_FILEPATH="$CTT_APPSTORE_API_KEY_PATH" \
GOOGLE_PLAY_JSON_KEY="$CTT_GOOGLE_PLAY_JSON_KEY" \
MATCH_PASSWORD="$CTT_MATCH_PASSWORD" \
bundle exec fastlane "$@"
}Dispatch
lanes — list available lanes from Fastfile
fastlane_run lanesrun <platform> <lane> [args...]
[ "$CTT_REQUIRE_CONFIRM" = "true" ] && \
ctt_confirm "Run fastlane $PLATFORM $LANE on $CTT_PROFILE? Type RUN:" "RUN" || return 1
fastlane_run "$PLATFORM" "$LANE" "$@"
ctt_audit_log fastlane "$PLATFORM $LANE $*"beta-ios [--changelog "..."] — TestFlight
fastlane_run ios beta changelog:"$CHANGELOG"beta-android [--track internal|alpha|beta] — Play internal
fastlane_run android beta track:"${TRACK:-internal}"release-ios / release-android — DESTRUCTIVE
ctt_warn_destructive "Submit to ${PLATFORM} Store"
ctt_confirm "Type RELEASE to confirm:" "RELEASE" || return 1
fastlane_run "$PLATFORM" release ${TRACK:+track:$TRACK}
ctt_audit_log fastlane "$PLATFORM release"match-sync — sync code signing
fastlane_run match readonly:true # readonly=true won't create new certsFor new device or initial setup: readonly:false (devs only, not CI).
screenshots [--device "iPhone 15 Pro"]
fastlane_run snapshot ${DEVICE:+--devices "$DEVICE"}Requires Snapfile + SnapshotHelper.swift in project.
pilot-list — TestFlight builds + testers
fastlane_run pilot builds
fastlane_run pilot listmetadata-pull — download App Store metadata to git
fastlane_run deliver download_metadata
fastlane_run supply --action download_metadata # AndroidSafety
- API keys are sensitive —
.p8filechmod 600, never commit. match_passworddecrypts certs — leak = full code signing capability. Long random passphrase, rotate yearly.- Service account JSON for Play grants release power →
chmod 600. require_confirm=trueon prod profiles prevents accidental releases.- Symbols upload mandatory for prod — without it, crash stacks are useless.
- iOS keystore lost = re-create with match. Android keystore lost = can't update app on Play. Back up encrypted to git.
Common Mistakes
- "Bundle ID mismatch" → check
app_identifierin Appfile vs Xcode. - "Code signing failed" → 99% fixed by
match-sync. - "App Store rate limit" → use API key (much higher limit) not Apple ID.
- Committing
.p8API key ormatch_password→ revoke + rotate immediately - Running
match readonly:falsefrom CI → creates new certs, breaks team setup
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.

