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

playstore-react-nativeplaystore React native 搜索

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

214

周安装

9

GitHub Stars

公开资料未说明

下载量

75
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tacuchi/playstore-react-native --skill playstore-react-native

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护,适合生成或审查 React Native 移动端代码。

  • 适用于 Play Store 上架应用的前端开发、UI 一致性检查或性能优化场景。
  • 通过 npx skills add 命令安装,需结合 Expo 或 Metro 构建流程使用。
  • 建议在真机或模拟器上验证渲染效果,避免仅依赖 Web 端表现判断。
  • playstore-react-native 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Play Store Release — React Native

Prepare a React Native (bare workflow) project to build a signed Android App Bundle (AAB) ready for Google Play Store.

Expo users: If using Expo managed workflow, run eas build --platform android instead. This skill covers the bare React Native workflow.

Workflow Overview

StepActionKey file
1Generate upload keystoreupload-keystore.jks
2Create credentials fileandroid/gradle.properties
3Configure signing in Gradleandroid/app/build.gradle
4Configure ProGuard / R8android/app/proguard-rules.pro
5Build release AABCLI
6Verify outputCLI + checklist

Step 1 — Generate Upload Keystore

keytool -genkeypair \
  -alias upload \
  -keyalg RSA -keysize 2048 \
  -validity 10000 \
  -storetype PKCS12 \
  -keystore upload-keystore.jks

Rules:

  • -validity 10000 = ~27 years. Google requires validity beyond Oct 22 2033.
  • -storetype PKCS12 — industry standard, avoids JKS migration warnings.
  • With PKCS12, store password and key password must be identical.
  • Store the .jks outside version control. Recommended: ~/.android/keystores/ or a secrets manager.

Step 2 — Create Credentials

Add signing variables to android/gradle.properties (or ~/.gradle/gradle.properties for global scope):

MYAPP_UPLOAD_STORE_FILE=upload-keystore.jks
MYAPP_UPLOAD_KEY_ALIAS=upload
MYAPP_UPLOAD_STORE_PASSWORD=<your-store-password>
MYAPP_UPLOAD_KEY_PASSWORD=<your-key-password>

Add to .gitignore:

*.jks
*.keystore

If credentials are in android/gradle.properties, ensure that file is in .gitignore or use ~/.gradle/gradle.properties (per-user, never committed).


Step 3 — Configure Signing in Gradle

Edit android/app/build.gradle (Groovy — default for React Native):

android {
    signingConfigs {
        release {
            if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
                storeFile file(MYAPP_UPLOAD_STORE_FILE)
                storePassword MYAPP_UPLOAD_STORE_PASSWORD
                keyAlias MYAPP_UPLOAD_KEY_ALIAS
                keyPassword MYAPP_UPLOAD_KEY_PASSWORD
            }
        }
    }

    buildTypes {
        release {
            signingConfig signingConfigs.release
            minifyEnabled enableProguardInReleaseBuilds
            shrinkResources enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

At the top of android/app/build.gradle, set the ProGuard flag:

def enableProguardInReleaseBuilds = true

Version management: set versionCode and versionName in the defaultConfig block of the same file.


Step 4 — ProGuard / R8

Create or edit android/app/proguard-rules.pro:

# React Native Bridge
-keep class com.facebook.react.** { *; }
-keep class com.facebook.hermes.** { *; }
-keep class com.facebook.jni.** { *; }
-dontwarn com.facebook.**

# Hermes engine
-keep class com.facebook.hermes.unicode.** { *; }
-keep class com.facebook.jni.** { *; }

# SoLoader
-keep class com.facebook.soloader.** { *; }
-dontwarn com.facebook.soloader.**

# JNI — native module classes
-keepclassmembers class * {
    @com.facebook.react.uimanager.annotations.ReactProp <methods>;
}
-keepclassmembers class * {
    @com.facebook.react.bridge.ReactMethod <methods>;
}
-keep,includedescriptorclasses class * extends com.facebook.react.bridge.JavaScriptModule { *; }
-keep,includedescriptorclasses class * extends com.facebook.react.bridge.NativeModule { *; }

# OkHttp (used by React Native networking)
-dontwarn okhttp3.**
-dontwarn okio.**
-keep class okhttp3.** { *; }

# Keep native module registrations
-keep class com.facebook.react.PackageList { *; }

Step 5 — Build Release AAB

# Option 1 — React Native CLI
npx react-native build-android --mode=release

# Option 2 — Gradle directly
cd android && ./gradlew bundleRelease

Useful flags:

  • ./gradlew bundleRelease --stacktrace — full stack trace on errors.
  • ./gradlew clean bundleRelease — clean before building.

Output: android/app/build/outputs/bundle/release/app-release.aab


Step 6 — Verification Checklist

Run these checks before uploading:

# 1. Verify AAB exists
ls -lh android/app/build/outputs/bundle/release/app-release.aab

# 2. Verify signing
jarsigner -verify -verbose -certs android/app/build/outputs/bundle/release/app-release.aab

# 3. Check the signing certificate alias
keytool -printcert -jarfile android/app/build/outputs/bundle/release/app-release.aab

# 4. Verify versionCode (requires bundletool)
bundletool dump manifest --bundle=android/app/build/outputs/bundle/release/app-release.aab \
  | grep -E "versionCode|versionName"

Checklist:

  • AAB signed with upload key (not debug)
  • versionCode is higher than the previous upload
  • versionName matches intended release
  • *.jks and *.keystore are in .gitignore
  • Credentials not committed (check gradle.properties location)
  • enableProguardInReleaseBuilds = true is set
  • Hermes is the JS engine (default since RN 0.70)

Common Errors

ErrorCauseFix
signingConfigs.release not foundsigningConfigs block placed after buildTypesMove signingConfigs block before buildTypes
Hermes crash on release buildProGuard stripped Hermes classesAdd Hermes -keep rules to proguard-rules.pro
SYSTEM_ALERT_WINDOW permission in releaseDev-only permission leaking into release manifestAdd tools:node="remove" in release AndroidManifest.xml overlay
configureondemand build failureorg.gradle.configureondemand=true in gradle.propertiesSet to false — React Native requires all projects configured
APK rejected: "debug certificate"Built without release signingVerify project.hasProperty guard finds the credentials

Gotchas

  1. Groovy by default — React Native projects use Groovy DSL (build.gradle, not .gradle.kts). Do not convert to Kotlin DSL unless the entire project has been migrated.
  2. project.hasProperty() guard — The signing config uses a guard to avoid build failures when credentials are missing (e.g., on a fresh clone). Without the guard, ./gradlew assembleDebug would fail if credentials aren't set up.
  3. Hermes vs JSC — Hermes is the default engine since React Native 0.70. ProGuard rules must match the active engine. If the project uses JSC (legacy), adjust rules accordingly.
  4. New Architecture does not change signing — React Native's New Architecture (TurboModules, Fabric) does not affect the signing or release build process. The same Gradle signing config applies.
  5. enableProguardInReleaseBuilds — This flag is defined as a variable at the top of build.gradle, not in gradle.properties. Setting it in the wrong place has no effect.
  6. Expo managed workflow — If the project uses Expo managed workflow (app.json with expo key, no android/ directory), do NOT follow this skill. Use eas build --platform android instead. This skill is for bare React Native only.
  7. App Signing by Google Play — Google re-signs your app with their key. The keystore you generate is the upload key only. If you lose it, you can request a reset through the Play Console.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.11%
按下载量换算24

Claude

32.63%
按下载量换算24

Cursor

17.6%
按下载量换算13

Gemini CLI

10.02%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills