Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

android-playstore-setupAndroid Play 商店设置

Agent Skill

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

总安装

1,371

周安装

56

GitHub Stars

3

下载量

439
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hitoshura25/claude-devtools --skill android-playstore-setup

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合在 Codex、Claude、Cursor 或 Gemini CLI 中围绕代码变更进行整理。
  • 安装命令:npx skills add https://github.com/hitoshura25/claude-devtools --skill android-playstore-setup。
  • 建议确认权限范围和仓库状态,避免误操作影响 CI/CD 流程。
  • 注意检查是否已正确配置服务账户和 API 密钥。

SKILL.md

Android Play Store Setup

This skill orchestrates complete Google Play Store deployment setup with automated publishing to the internal testing track using Fastlane.

What This Does

Scope: Internal track deployment only (simplified for quick testing)

Sets up everything needed for automated Play Store deployment using Fastlane:

  1. Scan Project - Analyze project and generate setup checklist
  2. Fastlane Setup - Configure Fastlane with supply and screengrab
  3. App Icon - Generate and place icon assets
  4. Screenshots - Automated screenshot capture
  5. Store Listing - Feature graphic and metadata
  6. Privacy Policy - Generate privacy policy for GitHub Pages
  7. Version Management - Setup Git tag-based versioning
  8. Signing Configuration - Configure release signing
  9. Service Account - Play Store API access
  10. GitHub Actions - CI/CD workflows with Fastlane

Prerequisites

  • Google Play Developer account ($25 one-time)
  • Google Cloud Platform account (free)
  • Admin access to Play Console
  • Package name reserved in Play Console

Workflow Overview

1. Scan → 2. Review → 3. Setup → 4. Deploy
   ↓          ↓          ↓          ↓
  📋        ✅         🔧         🚀

Process

Step 1: Scan Project (Analysis Only)

Run /devtools:android-playstore-scan

What it does:

  • Scans AndroidManifest.xml and build.gradle
  • Detects Health Connect, ads, analytics
  • Checks for privacy policy
  • Generates PLAY_CONSOLE_SETUP.md with pre-filled answers

Output: PLAY_CONSOLE_SETUP.md

Action: Review the generated file and address any warnings


Step 2: Generate Privacy Policy (If Needed)

If PLAY_CONSOLE_SETUP.md shows privacy policy is missing:

Run /devtools:privacy-policy-generate

What it does:

  • Scans project for app info
  • Detects Health Connect and third-party SDKs
  • Prompts for developer info
  • Generates docs/privacy-policy.md
  • Creates GitHub Pages setup guide

Verify:

test -f docs/privacy-policy.md && echo "✓ Privacy policy created"

Next: Enable GitHub Pages (Settings → Pages → Source: docs/)


Step 3: Setup Version Management

Run /devtools:version-management with platform=gradle

What it does:

  • Creates scripts/version-manager.sh (core)
  • Creates scripts/gradle-version.sh (Android adapter)
  • Creates version.properties with initial version
  • Updates app/build.gradle.kts to read from version.properties

Verify:

./scripts/version-manager.sh latest
./scripts/gradle-version.sh generate patch

Step 4: Generate Keystores

Run /devtools:android-keystore-generation

What it does:

  • Generates production-release.jks (for CI/CD)
  • Generates local-dev-release.jks (for local testing)
  • Creates KEYSTORE_INFO.txt with credentials
  • Updates.gitignore

Verify:

ls keystores/*.jks
cat keystores/KEYSTORE_INFO.txt

Step 5: Configure Signing

Run /devtools:android-signing-config

What it does:

  • Adds signing configuration to app/build.gradle.kts
  • Configures dual-source credentials (env vars + gradle.properties)
  • Updates local ~/.gradle/gradle.properties
  • Adds validation for release builds

Verify:

./gradlew assembleRelease

Step 6: Configure ProGuard (If Not Already Setup)

Run /devtools:android-proguard-setup

What it does:

  • Creates app/proguard-rules.pro with safe defaults
  • Enables minification and resource shrinking
  • Adds library-specific rules if needed

Verify:

grep "isMinifyEnabled = true" app/build.gradle.kts

Step 7: Setup Fastlane

Run /devtools:android-fastlane-setup

What it does:

  • Creates Gemfile with fastlane and screengrab
  • Creates fastlane/Appfile with package name
  • Creates fastlane/Fastfile with deployment lanes
  • Creates fastlane/Screengrabfile for screenshot automation
  • Creates fastlane/metadata/ directory structure

Verify:

bundle exec fastlane --version
bundle exec fastlane lanes

Step 7a: Generate App Icon

Run /devtools:android-app-icon

What it does:

  • Analyzes project for app name and colors
  • Generates docs/APP_ICON_SETUP.md with IconKitchen instructions
  • Provides helper script to process IconKitchen downloads
  • Copies mipmap resources and Play Store icon

Verify:

test -f fastlane/metadata/android/en-US/images/icon.png
file fastlane/metadata/android/en-US/images/icon.png | grep "512 x 512"

Step 7b: Setup Screenshot Automation

Run /devtools:android-screenshot-automation

What it does:

  • Adds screengrab dependency to app/build.gradle.kts
  • Creates debug manifest with required permissions
  • Creates ScreenshotTest.kt for automated capture
  • Creates DemoModeRule.kt for clean status bar

Verify:

bundle exec fastlane screenshots
ls fastlane/metadata/android/en-US/images/phoneScreenshots/

Step 7c: Create Store Listing Assets

Run /devtools:android-store-listing

What it does:

  • Generates docs/STORE_LISTING_GUIDE.md
  • Creates metadata templates (title, description, etc.)
  • Provides feature graphic generation script
  • Guides user through asset creation

Verify:

test -f fastlane/metadata/android/en-US/images/featureGraphic.png
wc -c fastlane/metadata/android/en-US/*.txt

Step 8: Create Deployment Workflows

Run /devtools:android-workflow-internal

What it does:

  • Creates.github/workflows/build.yml (CI only - runs on push/PR)
  • Creates.github/workflows/release-internal.yml (Manual releases with Fastlane)
  • Adds Ruby setup and bundle caching
  • Uses bundle exec fastlane deploy_internal for deployment
  • All actions pinned to SHAs

Verify:

test -f .github/workflows/build.yml
test -f .github/workflows/release-internal.yml
grep "bundle exec fastlane" .github/workflows/release-internal.yml

Step 9: Service Account Setup

Run /devtools:android-service-account-guide

What it does:

  • Provides step-by-step guide for Google Cloud setup
  • Documents service account creation
  • Creates Play Console setup documentation

Manual steps required:

  1. Create service account in Google Cloud
  2. Download JSON key
  3. Grant permissions in Play Console
  4. Add JSON to GitHub Secrets as SERVICE_ACCOUNT_JSON_PLAINTEXT

Step 10: Add Keystore to GitHub Secrets

From keystores/KEYSTORE_INFO.txt, add these secrets to GitHub:

# From KEYSTORE_INFO.txt, copy the base64 encoded keystore:
SIGNING_KEY_STORE_BASE64: <base64_string>
SIGNING_KEY_ALIAS: upload
SIGNING_STORE_PASSWORD: <password>
SIGNING_KEY_PASSWORD: <password>

Step 11: Validate API Connection

Run /devtools:android-playstore-api-validation

What it does:

  • Creates scripts/validate-playstore.py
  • Tests Play Store API connection
  • Verifies service account permissions

Verify:

python3 -m venv .venv
source .venv/bin/activate
pip install google-auth google-api-python-client
python3 scripts/validate-playstore.py /path/to/service-account.json com.example.app

Step 12: First Manual Upload (CRITICAL)

⚠️ Before GitHub Actions can deploy, you MUST manually upload your first release.

Why?

  1. Google Play requires manual first upload to complete store listing
  2. Your production keystore becomes the upload key
  3. Play App Signing is automatically enabled

Steps:

# 1. Build release bundle locally
./gradlew bundleRelease

# 2. Verify it's signed
jarsigner -verify -verbose app/build/outputs/bundle/release/app-release.aab

# 3. Manual upload via Play Console

In Play Console:

  1. Go to ReleaseInternal testing
  2. Click Create new release
  3. Upload app-release.aab
  4. Complete store listing (title, description, icon)
  5. Complete app content declarations
  6. Publish to internal testing

IMPORTANT: The keystore used for this first upload must be the same one configured in GitHub Secrets!


Step 13: Test Fastlane Deployment

After first manual upload is complete:

# Push to main branch to trigger deployment
git add .
git commit -m "Setup Play Store deployment"
git push origin main

What happens:

  1. GitHub Actions workflow triggers
  2. Runs unit tests
  3. Builds release bundle
  4. Deploys to internal testing track

Monitor: Go to repository → Actions tab


Understanding Play App Signing

Two Keys System

Key TypePurposeHolderCan Reset?
App Signing KeySigns APKs for usersGoogleNo (permanent)
Upload KeyAuthenticates your uploadsYouYes (via Play Console)

Automatic Setup

For apps created after August 2021, Play App Signing is automatic:

  1. First upload: Google generates app signing key
  2. Your production keystore = upload key
  3. Google re-signs with app signing key before distribution

No action needed - it just works!


Final Verification Checklist

# Project files
✓ Fastlane configured (Gemfile, Fastfile, Appfile)
✓ Version management scripts in scripts/
✓ Keystores in keystores/ (gitignored)
✓ Privacy policy in docs/privacy-policy.md
✓ Metadata in fastlane/metadata/android/en-US/
✓ CI workflow in .github/workflows/build.yml
✓ Release workflow in .github/workflows/release-internal.yml

# Build verification
✓ ./gradlew assembleRelease succeeds
✓ Unit tests pass
✓ ProGuard enabled

# GitHub Secrets configured
✓ SERVICE_ACCOUNT_JSON_PLAINTEXT
✓ SIGNING_KEY_STORE_BASE64
✓ SIGNING_KEY_ALIAS
✓ SIGNING_STORE_PASSWORD
✓ SIGNING_KEY_PASSWORD

# Play Console
✓ First manual upload completed
✓ Internal testing track active
✓ Service account has permissions

# API validation
✓ scripts/validate-playstore.py passes

Next Steps

For Beta/Production Deployment

Once internal testing is working:

# Add beta track
/devtools:android-workflow-beta

# Add production track
/devtools:android-workflow-production

Track Information

TrackAudienceReview TimeUse Case
InternalUp to 100 testersInstantQuick testing, no review
Closed (Alpha)Invited testers< 24hBeta testing
Open (Beta)Anyone can join< 24hPublic beta
ProductionAll users1-7 daysFull release

Troubleshooting

"Package not found" in API validation

  • Ensure app exists in Play Console
  • Verify package name matches exactly
  • Complete first manual upload

"Upload key mismatch"

  • Your first upload keystore ≠ GitHub Secrets keystore
  • Fix: Use Play Console → App signing → Request upload key reset
  • Re-upload with correct keystore

"Permission denied" for service account

  • Grant "Release to production" permission in Play Console
  • Wait 5-10 minutes for permissions to propagate

GitHub Actions fails to deploy

  • Verify all GitHub Secrets are set correctly
  • Check workflow logs for specific error
  • Ensure first manual upload was completed

Summary

You've successfully setup:

  • ✅ Privacy policy (GitHub Pages ready)
  • ✅ Version management (Git tag-based)
  • ✅ Release signing (production + local dev)
  • ✅ Fastlane deployment automation
  • ✅ GitHub Actions CI/CD (internal track)
  • ✅ Play Store API connection

Your app is now ready for continuous integration and deployment!

Every push to main or PR → Automatic build & test (CI) ✅ Manual workflow trigger → Version management + deployment to internal track 🚀

All checks must pass before marking this skill as complete.

Completion Criteria

Do NOT mark complete unless ALL are verified:

Service Account Setup

  • Service account created in Google Cloud
  • JSON key downloaded and stored securely
  • Play Developer API enabled
  • Service account linked to Play Console
  • "Release" permission granted

Store Metadata Structure

  • fastlane/metadata/android/en-US/ directory exists
  • At least en-US locale configured
  • Metadata files created (title, description, changelogs)
  • docs/PLAY_STORE_TRACKS.md documentation created

API Validation

  • scripts/validate-playstore.py exists
  • Validation script runs successfully
  • API connection confirmed
  • Package access confirmed

Documentation

  • PLAY_CONSOLE_SETUP.md exists (project root)
  • GITHUB_SECRETS.md exists (if needed)

Summary Report

After completion, provide this summary:

✅ Android Play Store Setup Complete!

🔐 Service Account:
  ✓ Created in Google Cloud
  ✓ JSON key downloaded
  ✓ Linked to Play Console
  ✓ Permissions granted

📝 Store Metadata:
  ✓ Structure created: fastlane/metadata/android/en-US/
  ✓ Locales configured
  ✓ Templates ready

✅ API Validation:
  ✓ Validation script created
  ✓ API connection tested
  ✓ Package access confirmed

📋 Next Steps:

  For GitHub:
    1. Add secrets (see GITHUB_SECRETS.md if it exists)
    2. Create "production" environment with reviewers

  For Deployment:
    1. Run: /devtools:android-playstore-publish
    2. Generate deployment workflows

⚠️  CRITICAL REMINDERS:
  - NEVER commit service account JSON to git
  - Store JSON key in password manager
  - Add all 5 secrets to GitHub before deploying
  - Wait 5-10 minutes after granting permissions

Integration with Other Skills

This skill is prerequisite for:

  • android-playstore-publishing - Uses service account for deployment
  • android-playstore-pipeline - Complete pipeline setup

Troubleshooting

If any skill fails:

  1. Fix the specific issue in that skill
  2. Re-run that skill until it completes
  3. Continue with remaining skills
  4. Run final verification

Common issues:

  • Service account not found → Check Google Cloud project
  • Permissions denied → Grant "Release" permission
  • API validation fails → Wait 5-10 minutes for propagation

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.34%
按下载量换算155

Claude

29.74%
按下载量换算131

Cursor

20.88%
按下载量换算92

Gemini CLI

9.33%
按下载量换算41

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills