基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/arbazkhan971/godmode --skill mobile命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Turn on Godmode. 135 skills, 7 subagents, zero configuration. Routes to the right skill automatically.
Backup and disaster recovery. backup strategy, disaster recovery, RPO/RTO, data integrity, durability, runbook.
Changelog and release notes management. Keep a Changelog format, Conventional Commits auto-generation, breaking change communication, migration guides, audience-specific notes.
| name | mobile |
| description | Mobile app development (iOS/Android/cross-platform). |
/godmode:mobile, "mobile app", "iOS", "Android"Target: iOS|Android|both
Approach: native|cross-platform|hybrid
IF cross-platform:
Framework: React Native|Flutter|KMP|.NET MAUI
Shared: business logic only|business+UI|everything
# Detect existing mobile project
ls ios/ android/ pubspec.yaml 2>/dev/null
ls package.json | xargs grep -l "react-native" 2>/dev/null
MVVM: most apps, reactive UI frameworks
models/ -> views/ -> viewmodels/
MVI: complex state, unidirectional data flow
State (immutable) -> Intent (actions) -> Reducer
Clean Architecture: large apps, complex business logic
Presentation -> Domain -> Data (dependency inversion)
IF app < 10 screens: MVVM is sufficient. IF state management complex: prefer MVI. IF > 30 screens with multiple data sources: Clean Arch.
iOS: bundle ID, min deployment target, ATS, Info.plist privacy descriptions, launch screen. Android: package name, min/target SDK, ProGuard, build variants (debug/staging/release). React Native: TypeScript, React Navigation, state management, Metro config. Flutter: pubspec.yaml, state management (Riverpod/Bloc), GoRouter, flavors (dev/staging/prod).
iOS: Dev cert + provisioning profile (development),
Dist cert + App Store profile (release).
NEVER share private keys. Use Fastlane match.
Android: keytool -genkey -v -keystore release.keystore
NEVER lose the keystore (app updates impossible).
Store in secure vault, not in VCS.
iOS App Store:
[ ] Review Guidelines compliance
[ ] Privacy policy URL
[ ] App Privacy labels
[ ] Screenshots (6.7", 5.5" minimum)
[ ] App name (30 char max)
Google Play:
[ ] Developer Policy compliance
[ ] Data safety section
[ ] AAB format (not APK)
[ ] Screenshots + feature graphic
Battery: significant-change location (not continuous),
batch network requests, 60fps animations.
Memory: resize images to display size, LRU cache,
recycle views, release on dispose.
Network: offline-first, request coalescing,
WebP/AVIF images, pagination (20-50 items).
Startup: cold < 1s, warm < 500ms.
Defer analytics/flags, lazy-load modules.
IF cold start > 2s: profile and defer init. IF app size > 50MB: audit assets, use on-demand resources.
Push: APNs (iOS) / FCM (Android)
Deep links: Universal Links / App Links
Biometrics: Face ID/Touch ID / Fingerprint
IAP: StoreKit 2 / Play Billing Library
Crash: Firebase Crashlytics / Sentry
A11y: VoiceOver / TalkBack support
# Mobile build and test
npx react-native run-ios --configuration Release
npx expo doctor
npx jest --config jest.mobile.config.js
Append .godmode/mobile-results.tsv:
timestamp platform screen action tests app_size_mb status
KEEP if: builds all platforms, tests pass,
cold start < 1s, size within budget.
DISCARD if: crashes, perf regression,
guidelines violated, min OS API missing.
STOP when FIRST of:
- Builds + runs on all target platforms
- Cold start < 2s, size < 50MB
- Platform conventions pass
- No secrets in VCS
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action |
|---|---|
| Build fails one platform | Check deps, native linking |
| Crashes on startup | Check permissions, async init |
| Store rejection | Read reason, fix metadata/privacy |