Token导航 LogoToken导航

Agent Skill · 开发

android-release-validation(Android 发布验证)

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

android-release-validation 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 20,462。

总安装 220周安装 9GitHub Stars 3下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

该技能用于验证 Android 发布构建结果,确保 ProGuard/R8 处理未破坏功能。适用于发布前的质量门禁检查,包含构建产物验证和端到端测试执行。自动检测 APK/AAB 生成状态,并在发布配置下运行关键回归测试。建议在 CI/CD 流程中使用,以捕获混淆导致的运行时问题。

android-release-validation 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/android-release-validation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/hitoshura25/claude-devtools --skill android-re…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

android-release-validation 怎么安装?

在终端执行 npx skills add https://github.com/hitoshura25/claude-devtools --skill android-release-vali…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

android-release-validation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

android-release-validation 需要什么权限?

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

android-release-validation 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

android-release-validation 用的人多吗?

公开数据是累计安装 220 次,近一周安装 9 次,下载 71 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

android-release-validation 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
android-release-validation

Android 发布验证 · 本页

2203接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Android Release Validation

This skill validates Android release builds to catch issues before they reach production. Critical for ensuring ProGuard/R8 doesn't break functionality and that the release build is production-ready.

What This Does

  1. Build Release Artifacts

- Builds release APK and AAB - Verifies build succeeds with ProGuard/R8 enabled - Checks build outputs are generated correctly - Validates file sizes are reasonable

  1. Run E2E Tests on Release Build

- Executes Espresso tests against release APK - Catches ProGuard/R8 breaking functionality - Verifies obfuscated code still works - Tests on release configuration (not debug)

  1. Validate Signing Configuration

- Verifies release build is signed correctly - Checks keystore configuration - Validates signing credentials - Ensures signature is valid

  1. Validate ProGuard Mapping

- Checks mapping file exists - Verifies mapping file is not empty - Validates file can be used for deobfuscation - Critical for crash reporting

  1. Check Build Metadata

- Validates version code/name - Checks package name - Verifies minimum/target SDK versions - Validates permissions

  1. APK/AAB Analysis

- Checks file sizes (warns if too large) - Validates APK structure - Checks for debug symbols (should be stripped) - Verifies resources are optimized

Prerequisites

  • Android project with Gradle
  • Release build configured (android-release-build-setup)
  • E2E tests created (android-e2e-testing-setup)
  • Signing keystore configured
  • ProGuard/R8 enabled

Parameters

None required - skill will detect project configuration and validate accordingly.

Step-by-Step Process

Prerequisites Check (MANDATORY - DO FIRST)

Device/Emulator Requirement

⛔ This skill REQUIRES a connected device or running emulator. It cannot be skipped.

Check for connected devices:

adb devices

If output shows "List of devices attached" with no devices:

Option 1 - Start an emulator:

# List available AVDs
emulator -list-avds

# Start emulator in background
emulator -avd <AVD_NAME> -no-snapshot-save &

# Wait for device to be ready (may take 1-2 minutes)
adb wait-for-device
adb shell getprop sys.boot_completed  # Should return "1" when ready

Option 2 - Connect physical device:

  1. Enable Developer Options on device
  2. Enable USB Debugging
  3. Connect via USB
  4. Accept debugging prompt on device

DO NOT PROCEED until adb devices shows a connected device.

If user cannot provide a device/emulator:

  • ❌ STOP - Inform user this skill cannot complete
  • ❌ DO NOT skip validation steps
  • ❌ DO NOT mark skill as complete

Step 1: Pre-Validation Checks

Verify prerequisites are met:

// Check that release build is configured
// - signingConfig exists
// - isMinifyEnabled = true
// - proguard-rules.pro exists

// Check that tests exist
// - androidTest directory exists
// - At least one test file present

// Check that keystore is configured
// - For local: gradle.properties has signing config
// - For CI: environment variables are available

Ask the user:

  • "Run full validation (includes E2E tests) or quick validation (build only)?"
  • "Validate APK, AAB, or both?"
  • "Use local dev keystore or production keystore?" (if both available)

Step 2: Clean Build

Start with clean slate:

./gradlew clean

# Remove build outputs
rm -rf app/build/outputs/

# Optional: Clear gradle cache for fresh build
# rm -rf .gradle/

Why: Ensures we're testing a fresh build, not using cached artifacts.

Step 3: Build Release APK

Build release APK with ProGuard/R8:

./gradlew assembleRelease

# Expected output location:
# app/build/outputs/apk/release/app-release.apk

Validations:

  • Build succeeds without errors
  • ProGuard/R8 runs successfully
  • APK file is generated
  • APK size is reasonable (< 100MB warning threshold)

Capture:

  • Build time
  • APK size
  • Number of methods (DEX count)
  • Any ProGuard warnings

Step 4: Build Release AAB (Android App Bundle)

Build release AAB for Play Store:

./gradlew bundleRelease

# Expected output location:
# app/build/outputs/bundle/release/app-release.aab

Validations:

  • Build succeeds without errors
  • AAB file is generated
  • AAB size is reasonable
  • Base module included

Capture:

  • Build time
  • AAB size
  • Modules included

Step 5: Validate Signing

Verify APK/AAB is properly signed:

# Verify APK signature (supports APK Signature Scheme v2/v3)
$ANDROID_HOME/build-tools/34.0.0/apksigner verify --verbose app/build/outputs/apk/release/app-release.apk

# Or if apksigner is in PATH:
apksigner verify --verbose app/build/outputs/apk/release/app-release.apk

# Check AAB signature (extract first)
unzip -p app/build/outputs/bundle/release/app-release.aab META-INF/MANIFEST.MF

Expected output for APK:

Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): true

Validations:

  • APK/AAB is signed
  • Signature is valid (v2/v3 schemes for APK)
  • Certificate matches expected keystore
  • Signature algorithm is secure (SHA256withRSA or better)

Warnings:

  • Using debug keystore for release (CRITICAL ERROR)
  • Weak signature algorithm
  • Certificate expires soon (< 6 months)

Step 6: Validate ProGuard Mapping

Check mapping file exists and is valid:

# Default location
ls -lh app/build/outputs/mapping/release/mapping.txt

# Verify file is not empty
[ -s app/build/outputs/mapping/release/mapping.txt ] && echo "Mapping file OK" || echo "Mapping file EMPTY"

# Check file size (should be substantial if minification is working)
du -h app/build/outputs/mapping/release/mapping.txt

Validations:

  • Mapping file exists
  • File is not empty (size > 1KB)
  • File contains obfuscation mappings
  • Format is valid

Why Critical: Without mapping file:

  • Cannot deobfuscate crash reports
  • Cannot debug production issues
  • Stack traces will be unreadable

Step 7: Analyze APK Contents

Use Android tools to analyze APK:

# Get APK info (package name, version, permissions)
aapt dump badging app/build/outputs/apk/release/app-release.apk

# Get detailed APK contents
aapt list -v app/build/outputs/apk/release/app-release.apk

# Check for debug symbols (should not be present in release)
aapt list -v app/build/outputs/apk/release/app-release.apk | grep -i debug

# Analyze APK with apkanalyzer (if available)
apkanalyzer apk summary app/build/outputs/apk/release/app-release.apk

Extract and validate:

  • Package name matches expected
  • Version code/name correct
  • Minimum SDK version
  • Target SDK version
  • Permissions list
  • Native libraries (if any)
  • DEX file count and size

Warnings:

  • APK > 100MB (consider optimization)
  • Debug symbols present (should be stripped)
  • Excessive permissions
  • targetSdk < 33 (Play Store requirement)

Step 8: Run Smoke Tests on Release Build

This is the key validation step for ProGuard/R8.

Option A: Using testBuildType (Recommended)

Configure app/build.gradle.kts to test against release:

android {
    testBuildType = "release"
}

Then run:

./gradlew connectedAndroidTest

This:

  • Builds release APK (with ProGuard)
  • Builds test APK (signed with release key)
  • Installs both and runs tests
  • Both APKs have matching signatures ✓

Expected output:

> Task :app:connectedReleaseAndroidTest
Tests on Pixel_6_API_34 - 14

SmokeTest > appLaunches_doesNotCrash PASSED
SmokeTest > appLaunches_hasVisibleContent PASSED

2 tests, 2 passed, 0 failed
Option B: Manual Installation (If testBuildType doesn't work)

If you need to test a pre-built release APK:

# 1. Build release APK
./gradlew assembleRelease

# 2. Build release-signed test APK
# First, temporarily set testBuildType = "release" in build.gradle.kts
./gradlew assembleReleaseAndroidTest

# 3. Install both APKs
adb install app/build/outputs/apk/release/app-release.apk
adb install app/build/outputs/apk/androidTest/release/app-release-androidTest.apk

# 4. Run tests
adb shell am instrument -w \
  -e class {PACKAGE_NAME}.SmokeTest \
  {PACKAGE_NAME}.test/androidx.test.runner.AndroidJUnitRunner
If tests fail on release but pass on debug

This indicates ProGuard removed something needed:

  1. Check logcat for the specific error: adb logcat -d | grep -E "ClassNotFoundException|NoSuchMethodError|NoSuchFieldError"
  2. Add keep rules to proguard-rules.pro: # Keep the class that was removed -keep class com.example.MissingClass {*;} # Keep classes used by reflection -keepclassmembers class * {@com.google.gson.annotations.SerializedName <fields>;}
  3. Rebuild and re-test

Step 9: Test Installation and Basic Functionality

Manual validation steps:

# Uninstall any existing version
adb uninstall com.example.app

# Install release APK
adb install app/build/outputs/apk/release/app-release.apk

# Launch app
adb shell am start -n com.example.app/.MainActivity

# Check for crashes in logcat
adb logcat -T 1 | grep -i "crash\|fatal\|error"

Manual checks:

  • App launches successfully
  • No immediate crashes
  • Main screen displays correctly
  • Basic navigation works
  • No obvious UI glitches

Step 10: Validate APK Size and Optimization

Check APK is optimized:

# Check uncompressed APK size
unzip -l app/build/outputs/apk/release/app-release.apk | tail -1

# Check for large resources
unzip -l app/build/outputs/apk/release/app-release.apk | sort -k4 -n -r | head -20

# Verify resources are optimized
# - Images should be compressed
# - Unused resources should be removed (shrinkResources = true)

Optimization checks:

  • Resource shrinking enabled (isShrinkResources = true)
  • No duplicate resources
  • Images are compressed
  • No debug resources included
  • Unused code removed

Size thresholds:

  • < 20MB: Excellent
  • 20-50MB: Good
  • 50-100MB: Warning (consider optimization)
  • 100MB: Critical (Play Store has limits)

Step 11: Validate Release Build (MANDATORY)

CRITICAL: This step is MANDATORY and must pass before completing the skill.

Execute actual validation:

# 1. REQUIRED: Build release APK and AAB
./gradlew clean
./gradlew bundleRelease
./gradlew assembleRelease

# 2. REQUIRED: Verify outputs exist
ls -lh app/build/outputs/bundle/release/app-release.aab
ls -lh app/build/outputs/apk/release/app-release.apk
ls -lh app/build/outputs/mapping/release/mapping.txt

# 3. REQUIRED: Verify signing
apksigner verify --verbose app/build/outputs/apk/release/app-release.apk

# 4. REQUIRED: Install release APK and run smoke tests
adb uninstall {PACKAGE_NAME} || true
adb install app/build/outputs/apk/release/app-release.apk
./gradlew assembleDebugAndroidTest
adb install app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
adb shell am instrument -w -e class {PACKAGE_NAME}.SmokeTest {PACKAGE_NAME}.test/androidx.test.runner.AndroidJUnitRunner

# 5. REQUIRED: Verify ProGuard mapping is not empty
[ -s app/build/outputs/mapping/release/mapping.txt ] && echo "✓ Mapping file OK" || echo "✗ Mapping file empty"

Expected output:

  • AAB exists: ✓
  • APK exists: ✓
  • Mapping exists and not empty: ✓
  • APK signed correctly: ✓ "Verifies"
  • Smoke tests pass on release APK: ✓

If ANY fail:

  1. DO NOT complete skill
  2. Investigate error
  3. Fix issue
  4. Re-run validation
  5. Only complete when ALL pass

Common Failures:

  • "ProGuard error" → Add keep rules
  • "Tests fail on release but pass on debug" → ProGuard removed required code
  • "Mapping file empty" → Verify isMinifyEnabled = true

Step 12: Generate Validation Report

Create comprehensive validation report:

# Release Build Validation Report

**Build Date:** {DATE}
**Version:** {VERSION_NAME} ({VERSION_CODE})
**Package:** {PACKAGE_NAME}

## Build Status

### APK Build
- Status: ✓ Success / ✗ Failed
- Size: {APK_SIZE} MB
- Location: app/build/outputs/apk/release/app-release.apk
- Build time: {BUILD_TIME} seconds

### AAB Build
- Status: ✓ Success / ✗ Failed
- Size: {AAB_SIZE} MB
- Location: app/build/outputs/bundle/release/app-release.aab
- Build time: {BUILD_TIME} seconds

## Configuration

### SDK Versions
- Minimum SDK: {MIN_SDK}
- Target SDK: {TARGET_SDK}
- Compile SDK: {COMPILE_SDK}

### ProGuard/R8
- Minification: ✓ Enabled
- Resource Shrinking: ✓ Enabled
- Mapping file: ✓ Present ({MAPPING_SIZE} KB)

### Signing
- Signed: ✓ Yes
- Algorithm: {ALGORITHM}
- Certificate: {CERTIFICATE_INFO}

## Test Results

### E2E Tests on Release
- Total tests: {TOTAL}
- Passed: {PASSED}
- Failed: {FAILED}
- Skipped: {SKIPPED}

{TEST_DETAILS}

## APK Analysis

### Size Breakdown
- DEX files: {DEX_SIZE} MB ({DEX_PERCENT}%)
- Resources: {RES_SIZE} MB ({RES_PERCENT}%)
- Native libs: {LIB_SIZE} MB ({LIB_PERCENT}%)
- Assets: {ASSET_SIZE} MB ({ASSET_PERCENT}%)
- Other: {OTHER_SIZE} MB ({OTHER_PERCENT}%)

### Permissions
{PERMISSIONS_LIST}

### Large Files (Top 10)
{LARGE_FILES}

## Issues Found

### Critical Issues
{CRITICAL_ISSUES}

### Warnings
{WARNINGS}

## Recommendations

{RECOMMENDATIONS}

## Validation Summary

Overall Status: ✓ PASSED / ✗ FAILED

{SUMMARY}

---
Generated: {TIMESTAMP}

Step 13: Summary and Next Steps

Provide clear summary:

✅ Android Release Build Validation Complete!

📦 Build Artifacts:
  APK: app/build/outputs/apk/release/app-release.apk ({APK_SIZE} MB)
  AAB: app/build/outputs/bundle/release/app-release.aab ({AAB_SIZE} MB)
  Mapping: app/build/outputs/mapping/release/mapping.txt

✓ Build Status:
  ✓ APK build succeeded
  ✓ AAB build succeeded
  ✓ ProGuard/R8 completed successfully
  ✓ Signed with release keystore

✓ Tests:
  ✓ {PASSED}/{TOTAL} E2E tests passed on release build
  ✓ No crashes during testing
  ✓ All critical paths validated

✓ Configuration:
  ✓ ProGuard enabled and working
  ✓ Mapping file generated
  ✓ Resource shrinking active
  ✓ Target SDK 34 (meets Play Store requirements)

✓ Quality Checks:
  ✓ APK size reasonable ({APK_SIZE} MB)
  ✓ No debug symbols in release
  ✓ Signature valid
  ✓ Permissions appropriate

⚠️  Warnings:
  {WARNINGS_IF_ANY}

📋 Next Steps:

  If validation passed:
    1. Save ProGuard mapping file securely
    2. Ready for Play Store upload
    3. Use android-playstore-publishing skill for deployment

  If validation failed:
    1. Review issues listed above
    2. Fix ProGuard rules if tests failed
    3. Address any critical warnings
    4. Re-run validation

  ProGuard Mapping:
    - Save to version control (encrypted/secure location)
    - Upload to Play Console with release
    - Store for crash deobfuscation

🔒 Security Reminders:
  - Never commit release APK/AAB to git
  - Store mapping files securely
  - Protect signing keystore
  - Review permissions before release

Error Handling

Build Fails

ProGuard/R8 errors:

Error: program class missing: com.example.SomeClass

Solution: Add keep rule to proguard-rules.pro:

-keep class com.example.SomeClass { *; }

Build timeout:

  • Increase Gradle heap size in gradle.properties
  • Check for infinite loops in ProGuard rules
  • Review dependency conflicts

Tests Fail on Release

Common causes:

  1. ProGuard removed required classes
  2. Reflection not working (class names obfuscated)
  3. Serialization broken
  4. Native methods stripped

Solution:

  1. Run tests with verbose logging
  2. Check stack trace for missing classes
  3. Add keep rules for affected classes
  4. Rebuild and re-test

Signing Validation Fails

Using wrong keystore:

  • Check SIGNING_KEY_STORE_PATH
  • Verify passwords are correct
  • Ensure using release keystore, not debug

Signature algorithm weak:

  • Regenerate keystore with SHA256withRSA
  • Update signing configuration

Mapping File Missing

Causes:

  • ProGuard/R8 disabled
  • isMinifyEnabled = false
  • Build failed before mapping generated

Solution:

  • Verify isMinifyEnabled = true in release buildType
  • Check build logs for ProGuard errors
  • Ensure proguard-rules.pro exists

APK Too Large

Size optimization:

  1. Enable resource shrinking: isShrinkResources = true
  2. Use APK splits for ABIs/densities
  3. Convert images to WebP
  4. Remove unused resources
  5. Use Android App Bundle (AAB) instead of APK

Security Best Practices

  1. Keystore Protection

- Use local dev keystore for validation - Never use production keystore locally - Store production keystore only in CI/CD

  1. Mapping File Security

- Store mapping files securely - Don't commit to public repos - Keep for each release version - Upload to Play Console

  1. APK/AAB Security

- Don't commit built artifacts - Scan for hardcoded secrets - Review permissions before release - Enable obfuscation

  1. Validation in CI/CD

- Run validation on every release build - Block deployment if validation fails - Store validation reports - Track metrics over time

Integration with Other Skills

This skill integrates with:

  • android-release-build-setup - Provides release build configuration
  • android-e2e-testing-setup - Provides tests to run
  • android-playstore-publishing - Uses validated build for deployment
  • android-playstore-pipeline - Part of complete release workflow

Troubleshooting

"aapt not found"

Install Android SDK build-tools:

# Via Android Studio SDK Manager
# Or via command line
sdkmanager "build-tools;34.0.0"

"apksigner not found"

Install Android SDK build-tools:

# Via Android Studio SDK Manager
# Or via command line
sdkmanager "build-tools;34.0.0"

# Or add to PATH if already installed:
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/build-tools/34.0.0

"Tests pass on debug but fail on release"

This is the exact issue this validation catches!

  1. Check test logs for specific failures
  2. Add ProGuard keep rules for affected classes
  3. Common issues:

- Reflection on obfuscated classes - Serialization of obfuscated classes - Native method bindings

"APK installs but crashes immediately"

  1. Check logcat for crash details
  2. Use mapping file to deobfuscate stack trace
  3. Common causes:

- Missing keep rule for Application class - Native library not loaded - Resource not found

Files Created/Modified

Created:

  • validation-report.md - Detailed validation report
  • validation-summary.json - Machine-readable summary

Modified:

  • None (this is a read-only validation skill)

Temporary:

  • app/build/ - Build outputs (can be cleaned)

Preserved:

  • app/build/outputs/mapping/release/mapping.txt - MUST keep for crash reports

Completion Criteria (ALL MUST PASS)

Do NOT mark this skill as complete unless ALL of the following are verified:

✅ Validation script created

  • validate-release.sh exists and is executable
  • Script includes all validation checks

✅ Validation workflow created

  • .github/workflows/release-validation.yml exists
  • Workflow runs on release branches

✅ MANDATORY: Validation execution

  • Device/emulator connected (adb devices shows device)
  • testBuildType = "release" configured in build.gradle.kts (for release validation)
  • ./gradlew connectedAndroidTest succeeds with release build
  • Release APK is signed (apksigner verify passes)
  • ProGuard mapping exists: app/build/outputs/mapping/release/mapping.txt
  • App launches without crashing on release build
  • Smoke tests pass

If no device available: FAIL. Do not skip. If signature mismatch error: Verify testBuildType = "release" is set.

✅ Validation report generated

  • Report template exists
  • Report includes all critical checks

If ANY checkbox is unchecked, the skill is NOT complete.

Expected Outcomes

After running this skill:

✅ Release build validated - APK and AAB built successfully ✅ ProGuard working - Mapping file generated, tests pass ✅ Signing verified - Release is properly signed ✅ Tests passing - E2E tests work on release build ✅ Quality assured - Size, permissions, configuration validated ✅ Ready for deployment - Safe to upload to Play Store

Next Skills (Dependencies)

This skill DEPENDS on:

  • android-release-build-setup - Must complete first (requires working release build)
  • android-e2e-testing-setup - Must complete first (uses E2E tests for validation)

This skill is a PREREQUISITE for:

  • android-playstore-publishing - Only deploy validated builds
  • android-playstore-pipeline - Part of complete workflow

Do NOT run this skill until both dependencies' completion criteria are met. Do NOT run publishing skills until this skill's completion criteria are met.

References

平台分布

Codex

35.03%
按下载量换算25

Claude

29.58%
按下载量换算21

Cursor

19.88%
按下载量换算14

Gemini CLI

9.49%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills