Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问许可证需确认审计提醒

gpc-migrate-fastlaneGPC 迁移快速通道

Agent Skill

gpc-migrate-fastlane 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

242

周安装

10

GitHub Stars

公开资料未说明

下载量

79
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yasserstudio/gpc-skills --skill gpc-migrate-fastlane

简介

用于将旧版 Fastlane 配置迁移至新版 Play Console CLI 体系,适合升级自动化流程。

  • 自动转换 lane 定义、证书管理及分发策略等核心配置项到新格式。
  • 保留原有注释与变量命名习惯,最大限度减少人工适配工作量。
  • 迁移后仍需手动验证签名有效性及权限配置正确性,不能完全依赖工具保证。
  • gpc-migrate-fastlane 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

gpc-migrate-fastlane

Complete guide for migrating from Fastlane supply to GPC.

When to use

  • Migrating from Fastlane supply to GPC (partial or full)
  • Running GPC alongside Fastlane during a transition period
  • Comparing Fastlane and GPC commands
  • Converting Fastlane CI workflows to GPC
  • Understanding metadata directory compatibility

Inputs required

  • Existing Fastlane setup — Fastfile, Appfile, metadata directory
  • Service account key — same key file works for both tools
  • App package name — from Appfile or Fastfile configuration

Procedure

1. Assess current Fastlane usage

Identify which Fastlane supply features you use:

# Check your Fastfile for supply lanes
cat fastlane/Fastfile | grep -A 10 'supply'

# Check metadata directory
ls fastlane/metadata/android/

# Check Appfile for config
cat fastlane/Appfile

2. Install GPC (keep Fastlane installed)

npm install -g @gpc-cli/cli

Both tools can coexist — they share the same service account keys and metadata directory structure.

3. Authenticate with the same service account

# Use the same key file from Fastlane
gpc auth login --service-account path/to/play-store-key.json

# Or set via environment variable (same as SUPPLY_JSON_KEY)
export GPC_SERVICE_ACCOUNT=$(cat path/to/play-store-key.json)

# Configure default app (from your Appfile)
gpc config set app com.example.app

# Verify
gpc doctor

4. Map your Fastlane commands to GPC

Read: references/command-mapping.md for the complete command mapping table.

Key mappings:

# Upload AAB
# Fastlane: fastlane supply --aab app.aab --track beta
# GPC:
gpc releases upload app.aab --track beta

# Upload with rollout
# Fastlane: fastlane supply --aab app.aab --track production --rollout 0.1
# GPC:      (note: percentage, not decimal)
gpc releases upload app.aab --track production --rollout 10

# Download metadata
# Fastlane: fastlane supply --download_metadata --metadata_path metadata/
# GPC:
gpc listings pull --dir metadata/

# Push metadata
# Fastlane: fastlane supply --skip_upload_aab --metadata_path metadata/
# GPC:
gpc listings push --dir metadata/

# Upload screenshots
# Fastlane: fastlane supply --skip_upload_aab --skip_upload_metadata
# GPC:
gpc listings images upload --lang en-US --type phoneScreenshots *.png

5. Test with dry-run

Before switching any CI pipeline, verify GPC produces the same results:

# Preview metadata push (no changes applied)
gpc listings push --dir fastlane/metadata/android/ --dry-run

# Preview upload (validates AAB without uploading)
gpc validate app.aab

# Compare listing output
gpc listings view --lang en-US --json

6. Migrate CI configuration

Read: references/ci-migration.md for platform-specific CI migration examples.

Replace Fastlane supply calls in your CI with GPC equivalents:

# Before (GitHub Actions with Fastlane)
- name: Deploy to beta
  run: bundle exec fastlane supply --aab app.aab --track beta

# After (GitHub Actions with GPC)
- name: Deploy to beta
  env:
    GPC_SERVICE_ACCOUNT: ${{ secrets.PLAY_SA_KEY }}
    GPC_APP: com.example.app
  run: npx @gpc-cli/cli releases upload app.aab --track beta

7. Clean up Fastlane (optional)

Once fully migrated and confident:

# Remove Fastlane files
rm -rf fastlane/Fastfile fastlane/Appfile fastlane/Pluginfile
rm Gemfile Gemfile.lock

# Keep metadata directory — GPC uses the same structure
# fastlane/metadata/android/ → works with both tools

Note: The metadata directory (fastlane/metadata/android/) is fully compatible. You can rename it if you want (e.g., metadata/) — just update the --dir flag.

Verification

  • gpc doctor passes all checks
  • gpc listings push --dir fastlane/metadata/android/ --dry-run shows no errors
  • gpc releases upload app.aab --track internal --dry-run validates the bundle
  • CI pipeline runs successfully with GPC commands
  • Metadata and screenshots match what was uploaded via Fastlane

Failure modes / debugging

SymptomLikely CauseFix
Auth fails with same keyKey path differs between toolsUse absolute path or GPC_SERVICE_ACCOUNT env var
Metadata push shows no changesGPC already matches Play StoreThis is expected — both tools read the same source
Rollout percentage wrongFastlane uses decimal (0.1), GPC uses percentage (10)Convert: multiply Fastlane value by 100
Screenshots missing after pushGPC listings push doesn't push imagesUse gpc listings images upload separately
CI slower than FastlaneRuby/Bundler vs Node.js startupUse npx @gpc-cli/cli or pre-install globally; both are fast
EDIT_CONFLICT errorFastlane and GPC both have open editsDon't run both tools simultaneously on the same app

Related skills

  • gpc-setup — initial authentication and configuration
  • gpc-metadata-sync — detailed metadata management beyond migration
  • gpc-release-flow — full release lifecycle with GPC
  • gpc-ci-integration — CI/CD pipeline setup with GPC

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

36.01%
按下载量换算28

Claude

29.1%
按下载量换算23

Cursor

19.95%
按下载量换算16

Gemini CLI

9.79%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills