Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

fastlanefastlane 命令行

Agent Skill

fastlane 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

517

周安装

22

GitHub Stars

公开资料未说明

下载量

181
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fastlane(fastlane 命令行)
来源仓库:https://github.com/pstuart/pstuart
仓库路径:skills/fastlane
安装命令:
npx skills add pstuart/pstuart --skill "fastlane"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add pstuart/pstuart --skill "fastlane"

简介

fastlane 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它主要用于命令行相关的技能扩展。
  • 安装命令为 npx skills add pstuart/pstuart --skill "fastlane"。
  • 使用时需注意是否会触发联网、命令执行或文件读写操作。
  • 建议结合来源仓库和原始 README 核验具体用法。

SKILL.md

name
fastlane
description
Comprehensive guide to Fastlane automation for iOS and Android app deployment. Use when helping with mobile app releases, code signing, screenshots, TestFlight, App Store Connect, Google Play Store, beta distribution, CI/CD pipelines, or any Fastlane actions/lanes. Covers gym, match, pilot, deliver, supply, snapshot, screengrab, and 100+ other actions.

Fastlane Deployment Skill

Fastlane automates iOS and Android app building, testing, and deployment. This skill provides action references, common workflows, and Fastfile patterns.

Quick Reference

Core Tools (Aliases)

ToolActionPurpose
gymbuild_appBuild and sign iOS/macOS apps
pilotupload_to_testflightUpload to TestFlight
deliverupload_to_app_storeUpload to App Store
supplyupload_to_play_storeUpload to Google Play
matchsync_code_signingSync certificates/profiles
certget_certificatesCreate iOS certificates
sighget_provisioning_profileGenerate provisioning profiles
snapshotcapture_ios_screenshotsiOS screenshots
screengrabcapture_android_screenshotsAndroid screenshots
producecreate_app_onlineCreate app on App Store Connect
pemget_push_certificatePush notification certificates
scanrun_testsRun iOS/macOS tests
precheckcheck_app_store_metadataValidate metadata before submission

Common Workflows

iOS TestFlight Deployment

lane :beta do
  app_store_connect_api_key(
    key_id: ENV["ASC_KEY_ID"],
    issuer_id: ENV["ASC_ISSUER_ID"],
    key_filepath: ENV["ASC_KEY_PATH"]
  )
  increment_build_number
  match(type: "appstore")
  build_app(scheme: "MyApp")
  upload_to_testflight
  slack(message: "Build uploaded to TestFlight!")
end

iOS App Store Release

lane :release do
  app_store_connect_api_key(...)
  capture_screenshots
  sync_code_signing(type: "appstore")
  build_app(scheme: "MyApp")
  upload_to_app_store(
    submit_for_review: true,
    automatic_release: true
  )
end

Android Play Store Deployment

lane :deploy do
  gradle(task: "clean assembleRelease")
  upload_to_play_store(
    track: "production",
    json_key: ENV["GOOGLE_PLAY_JSON_KEY"]
  )
end

Android Beta (Internal Testing)

lane :beta do
  gradle(task: "clean bundleRelease")
  upload_to_play_store(
    track: "internal",
    aab: "app/build/outputs/bundle/release/app-release.aab"
  )
end

Code Signing with Match

# Appfile
app_identifier("com.example.app")

# Matchfile
git_url(" [email protected] :org/certificates.git")
storage_mode("git")
type("appstore")

# Usage in lane
lane :setup_signing do
  match(type: "development")  # Dev certs
  match(type: "appstore")     # Distribution certs
end

CI/CD Integration

GitHub Actions Environment

lane :ci_build do
  setup_ci  # Sets up keychain for CI
  match(type: "appstore", readonly: true)
  build_app(scheme: "MyApp")
end

Environment Variables

# App Store Connect API Key (recommended over password auth)
app_store_connect_api_key(
  key_id: ENV["ASC_KEY_ID"],
  issuer_id: ENV["ASC_ISSUER_ID"],
  key_content: ENV["ASC_KEY_CONTENT"],  # Base64 encoded .p8
  is_key_content_base64: true
)

# Google Play Service Account
upload_to_play_store(
  json_key_data: ENV["GOOGLE_PLAY_JSON_KEY"]
)

Detailed Action References

For complete action parameters and examples, see:

  • Building: references/building.md - gym, gradle, xcodebuild, cocoapods
  • Code Signing: references/code-signing.md - match, cert, sigh, notarize
  • App Store: references/app-store.md - deliver, pilot, produce, precheck
  • Google Play: references/google-play.md - supply, gradle actions
  • Screenshots: references/screenshots.md - snapshot, screengrab, frameit
  • Testing: references/testing.md - scan, slather, swiftlint
  • Utilities: references/utilities.md - notifications, source control, misc

Essential Commands

# Initialize fastlane
fastlane init

# List all actions
fastlane actions

# Get action details
fastlane action [action_name]

# Run a lane
bundle exec fastlane [lane_name]

# Run with verbose output
bundle exec fastlane [lane_name] --verbose

App Store Connect Restrictions

Metadata Character Limits

FieldMax LengthNotes
App Name30 charactersShown on App Store
Subtitle30 charactersBelow app name
Keywords100 charactersTotal including commas, no spaces after commas
Promotional Text170 charactersCan update without new build
Description4000 characters
What's New4000 charactersRelease notes

Screenshot Size Requirements

Device ClassResolutionRequired
iPhone 6.9" (16 Pro Max)1320×2868Yes
iPhone 6.7" (15 Pro Max)1290×2796Yes
iPhone 6.5" (11 Pro Max)1242×2688Yes
iPhone 5.5" (8 Plus)1242×2208Yes
iPad 12.9"2048×2732If iPad supported

Known Issue: Screenshots from Xcode 26 beta simulators (iPhone 17 series) may have resolutions not yet recognized by App Store Connect. Use iPhone 16 series simulators.

API Key Configuration

The App Store Connect API key must be properly formatted in JSON:

{
  "key_id": "YOUR_KEY_ID",
  "issuer_id": "YOUR_ISSUER_ID",
  "key": "-----BEGIN PRIVATE KEY-----\nLINE1...\nLINE2...\n-----END PRIVATE KEY-----",
  "duration": 1200,
  "in_house": false
}

Critical: The PEM key MUST have \n newline characters between lines. A single-line PEM causes OpenSSL::PKey::ECError: invalid curve name.

Common Errors and Solutions

ErrorCauseSolution
invalid curve nameAPI key PEM on single lineAdd \n between 64-char lines
Invalid screenshot sizeUnrecognized device resolutionUse supported device simulators
Keywords too longOver 100 characters totalTrim keywords, remove duplicates
Subtitle too longOver 30 charactersShorten subtitle
No data from fetch_app_store_review_detailKnown bug for new appsIgnore - metadata uploads successfully
validate_only not foundParameter renamedUse verify_only instead
Bundler version mismatchGemfile.lock version conflictUse fastlane directly instead of bundle exec fastlane

Fastfile Structure

# fastlane/Fastfile
default_platform(:ios)

platform :ios do
  before_all do
    # Runs before every lane
  end

  lane :test do
    run_tests(scheme: "MyApp")
  end

  lane :beta do
    # Beta deployment
  end

  after_all do |lane|
    # Runs after successful lane completion
  end

  error do |lane, exception|
    slack(
      message: "Error in #{lane}: #{exception.message}",
      success: false
    )
  end
end

platform :android do
  lane :deploy do
    gradle(task: "assembleRelease")
  end
end

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

28.42%
按下载量换算51

Codex

25.05%
按下载量换算45

Claude Code

18.91%
按下载量换算34

Antigravity

11.74%
按下载量换算21

Gemini CLI

7.37%
按下载量换算13

trae

3.54%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills