expo-build-preflight
3
总安装量
3
周安装量
#58965
全站排名
安装命令
npx skills add https://github.com/marcelocanovas/expo-build-preflight --skill expo-build-preflight
Agent 安装分布
amp
3
gemini-cli
3
github-copilot
3
codex
3
kimi-cli
3
opencode
3
Skill 文档
Expo Production Preflight Workflow
Follow these steps sequentially to audit the Expo project before a production build. Respond with [PASS], [FAIL], or [WARN] for each evaluated item.
Step 1: Programmatic Validation (Deterministic)
Execute the validation scripts on the project files.
- Run
node scripts/validate_expo_config.js <path-to-app.json> <path-to-eas.json>.- Expected:
autoIncrementis true,runtimeVersionuses fingerprint policy, New Architecture is enabled (SDK 55+), and target SDKs are correct.
- Expected:
- Run
node scripts/check_assets.js <path-to-assets-folder>.- Expected: Icons are 1024×1024, no transparent backgrounds on Android adaptive icons.
Step 2: Platform-Specific Checks (Contextual)
Review platform-specific configurations based on the build target.
- For Android builds: Read
references/android-rules.mdto validate API 35 compliance, 16KB page size alignment, and required permissions. - For iOS builds: Read
references/ios-rules.mdto validatePrivacyInfo.xcprivacyentries,Info.plistpermission strings, and deployment targets.
Step 3: Third-Party & Environment Checks
If the project uses external services (Firebase, Sentry, AI features, Monetization), read references/third-party-services.md.
- Ensure
google-services.jsonandGoogleService-Info.plistare handled securely via EAS Secrets (Base64), not committed to the repo. - Verify AI Transparency consent screens and Paywall EULA/Privacy Policy visibility.
Final Output
Summarize the findings. If any [FAIL] is present, halt the process and provide exact remediation steps.