Skip to content
Skills Library
DevOps & cloud · Automation

fastlane-knowledge

/fastlane-knowledge

Provides Fastlane configuration patterns for Flutter apps including iOS and Android lanes, code signing with match, CI/CD integration with GitHub Actions, and environment management. Use when user asks about Fastlane setup, deployment automation, code signing, or CI/CD for mobile.

Repository
ai-kit ↗
Licence
MIT
Last repository change
15.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 15.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Provides Fastlane configuration patterns for Flutter apps including iOS and Android lanes, code signing with match, CI/CD integration with GitHub Actions, and environment management. Use when user asks about Fastlane setup, deployment automation, code signing, or CI/CD for mobile.

Original author description

Provides Fastlane configuration patterns for Flutter apps including iOS and Android lanes, code signing with match, CI/CD integration with GitHub Actions, and environment management. Use when user asks about Fastlane setup, deployment automation, code signing, or CI/CD for mobile.

How it works

  1. Directory Structure
  2. Setup Commands
  3. iOS Fastfile Template
  4. Android Fastfile Template
  5. Code Signing
  6. GitHub Actions Integration
  7. Common Lanes
  8. Environment Variables
Original SKILL.md headings · 186 lines, 479 words
SKILL.md preview
---
name: fastlane-knowledge
description: >-
  Provides Fastlane configuration patterns for Flutter apps including iOS and Android lanes,
  code signing with match, CI/CD integration with GitHub Actions, and environment management.
  Use when user asks about Fastlane setup, deployment automation, code signing, or CI/CD for mobile.
version: 1.0.0
---

# Fastlane for Flutter

Configure and use Fastlane for automated Flutter app deployment.

## Directory Structure

```
project/
├── ios/
│   └── fastlane/
│       ├── Fastfile          # iOS lanes
│       ├── Appfile           # App identifier config
│       ├── Matchfile         # Code signing config
│       └── metadata/         # App Store metadata
├── android/
│   └── fastlane/
│       ├── Fastfile          # Android lanes
│       ├── Appfile           # Package name config
│       └── metadata/         # Play Store metadata
└── Gemfile                   # Ruby dependencies
```

## Setup Commands

```bash
# Install Fastlane
gem install fastlane

# Initialize for iOS
cd ios && fastlane init

# Initialize for Android
cd android && fastlane init

# Initialize match (iOS code signing)
cd ios && fastlane match init
```

## iOS Fastfile Template

```ruby
default_platform(:ios)

platform :ios do
  before_all do
    setup_ci if ENV['CI']
  end

  desc "Build and upload to TestFlight"
  lane :beta do
    match(type: "appstore", readonly: true)

    build_app(
      workspace: "Runner.xcworkspace",
      scheme: "Runner",
      export_method: "app-store",
      output_directory: "./build"
    )

    upload_to_testflight(
      skip_waiting_for_build_processing: true
    )
  end

  desc "Deploy to App Store"
  lane :release do
    match(type: "appstore", readonly: true)

    build_app(
      workspace: "Runner.xcworkspace",
      scheme: "Runner",
      export_method: "app-store"
    )

    upload_to_app_store(
      submit_for_review: true,
      automatic_release: false,
      force: true
    )
  end
end
```

## Android Fastfile Template

```ruby
default_platform(:android)

platform :android do
  desc "Deploy to internal testing"
  lane :internal do
    upload_to_play_store(
      track: "internal",
      aab: "../build/app/outputs/bundle/release/app-release.aab",
      json_key_data: ENV["PLAY_STORE_JSON_KEY"]
    )
  end

  desc "Promote to beta"
  lane :beta do
    upload_to_play_store(
      track: "beta",
      track_promote_to: "beta"
    )
  end

  desc "Deploy to production"
  lane :release do
    upload_to_play_store(
      track: "production",
      aab: "../build/app/outputs/bundle/release/app-release.aab",
      json_key_data: ENV["PLAY_STORE_JSON_KEY"]
    )
  end
end
```

## Code Signing

### iOS with Match
```ruby
# Matchfile
git_url("git@github.com:company/certificates.git")
storage_mode("git")
type("appstore")
app_identifier(["com.company.app"])
```

### Match Commands
```bash
# Create new certificates/profiles
fastlane match appstore
fastlane match development
fastlane match adhoc

# Use existing (CI)
fastlane match appstore --readonly
```

### Android Keystore
```bash
# Generate upload keystore
keytool -genkey -v -keystore upload-keystore.jks \
  -keyalg RSA -keysize 2048 -validity 10000 -alias upload
```

## GitHub Actions Integration

### Required Secrets
- `MATCH_PASSWORD` - Match encryption password
- `MATCH_GIT_AUTH` - Base64 encoded Git credentials
- `ASC_KEY_ID` - App Store Connect API Key ID
- `ASC_ISSUER_ID` - App Store Connect Issuer ID
- `ASC_KEY_CONTENT` - App Store Connect API Key content
- `PLAY_STORE_JSON_KEY` - Google Play service account JSON
- `KEYSTORE_BASE64` - Base64 encoded Android keystore
- `KEYSTORE_PASSWORD` - Android keystore password
- `KEY_PASSWORD` - Android key password
- `KEY_ALIAS` - Android key alias

## Common Lanes

| Lane | Platform | Description |
|------|----------|-------------|
| `beta` | iOS | TestFlight upload |
| `release` | iOS | App Store submission |
| `internal` | Android | Internal testing track |
| `beta` | Android | Beta track |
| `release` | Android | Production release |

## Environment Variables

```bash
# iOS
export MATCH_PASSWORD="your-match-password"
export APP_STORE_CONNECT_API_KEY_ID="your-key-id"
export APP_STORE_CONNECT_API_ISSUER_ID="your-issuer-id"
export APP_STORE_CONNECT_API_KEY_CONTENT="-----BEGIN PRIVATE KEY-----\n..."

# Android
export PLAY_STORE_JSON_KEY='{"type":"service_account",...}'
```

For complete Fastlane configuration, use the `/fastlane-setup` command.

Versions

The database has no other skills named fastlane-knowledge.

Database snapshot: 13.11.2026 · package version f4759072e861 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ios-deployment
    Automate provisioning, signing, and deployment with Fastlane. Use when provisioning iOS apps, managing code signing, or automating deployments with Fastlane.
  • 100fastlane
    Automate mobile app builds, signing, and deployment with Fastlane — CI/CD for iOS and Android. Use when someone asks to "automate App Store deployment", "Fastlane", "automate iOS build", "CI/CD for mobile", "automate Play Store upload", "code signing automation", or "mobile…
  • 100mobile-ci
    Sets up and reviews mobile CI/CD and fastlane automation across Flutter, Android, iOS, React Native and Kotlin Multiplatform. Use for Fastfile lanes, Match signing, TestFlight beta uploads, App Store submission, Snapshot screenshots, Xcode Cloud or build and deployment pipelines.
  • 100flutter-cicd
    Set up CI/CD pipelines for Flutter apps. Use when configuring automated testing, build, or deployment workflows with GitHub Actions or Fastlane.
  • 100mobile-cicd
    Fastlane, GitHub Actions for mobile, code signing (iOS provisioning, Android keystores), beta distribution (TestFlight, Firebase App Distribution), and app store submissions. Use when setting up mobile build pipelines, automating releases, or managing signing.
  • 100wai-mobile-release
    One-time setup of build, code signing and store delivery for a native iOS or Android repo (TestFlight/App Store Connect, or Play Console tracks) — and owner of the mobile merge gate. Creates Fastlane lanes or the Gradle release config, signing, the Actions required-check gate,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.