用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ForceInjection/domain-driven-design-skills --skill setup-fastlane命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | setup-fastlane |
| description | Set up Fastlane for iOS/macOS app automation |
| argument-hint | ["project-path"] |
| allowed-tools | Bash, Read, Write, Edit, Glob |
┌─────────────────────────────────────────────────────────────────┐
│ ONE-TIME SETUP │
│ ══════════════ │
│ After this, you'll have: │
│ │
│ fastlane ios test → Run tests │
│ fastlane ios beta → Upload to TestFlight │
│ fastlane ios release → Submit to App Store │
│ │
│ Do this once per project. Takes ~10 minutes. │
└─────────────────────────────────────────────────────────────────┘
xcode-select -p 2>/dev/null && echo "✓" || echo "✗ Run: xcode-select --install"brew --version 2>/dev/null | head -1 || echo "✗ Run: /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""fastlane --version 2>/dev/null | grep -o "fastlane [0-9.]*" | head -1 || echo "✗ Run: brew install fastlane"find . -maxdepth 2 -name "*.xcodeproj" 2>/dev/null | head -1 || echo "None found"find . -maxdepth 2 -name "*.xcworkspace" ! -path "*/.build/*" ! -path "*/xcodeproj/*" 2>/dev/null | head -1 || echo "None"grep -r "PRODUCT_BUNDLE_IDENTIFIER" --include="*.pbxproj" . 2>/dev/null | head -1 | sed 's/.*= //' | tr -d '";' || echo "Not found"grep -r "DEVELOPMENT_TEAM" --include="*.pbxproj" . 2>/dev/null | head -1 | sed 's/.*= //' | tr -d '";' || echo "Not found"brew install fastlane
Why Homebrew? Bundler 4.x broke Fastlane's Ruby dependencies. Homebrew avoids all version conflicts.
fastlane/Appfileapp_identifier("{{BUNDLE_ID}}") # Your bundle ID
apple_id("{{APPLE_ID}}") # Your Apple ID email
team_id("{{TEAM_ID}}") # Your team ID
fastlane/Fastfiledefault_platform(:ios)
platform :ios do
desc "Run tests"
lane :test do
scan(scheme: "{{SCHEME}}")
end
desc "Upload to TestFlight"
lane :beta do
increment_build_number
gym(scheme: "{{SCHEME}}", export_method: "app-store")
pilot(skip_waiting_for_build_processing: true)
end
desc "Submit to App Store"
lane :release do
increment_build_number
gym(scheme: "{{SCHEME}}", export_method: "app-store")
deliver(submit_for_review: false, force: true)
end
end
Replace {{SCHEME}} with your app's scheme name (usually the app name).
Download your existing App Store listing:
fastlane deliver download_metadata
fastlane deliver download_screenshots
This creates fastlane/metadata/ with editable text files for your app description, keywords, etc.
# Verify setup
fastlane lanes
# Run your first lane
fastlane ios test
| Command | What it does |
|---|---|
fastlane ios test | Run tests |
fastlane ios beta | Build + TestFlight |
fastlane ios release | Build + App Store |
fastlane deliver download_metadata | Fetch App Store listing |