platform-mobile
Skill1 starsChanged 18 days agoMITView on GitHub
Mobile platform engineering rules for React Native (Expo) and Flutter, covering offline-first storage, push notifications, app store deployment, 44px touch targets, and Detox/Maestro testing. Load when STACK.md targets Mobile.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- platform-cliSkill
- platform-desktopSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- boundary-guardSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- database-architectSkill
- design-auditSkill
- design-system-generatorSkill
- design-system-integratorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sast-scannerSkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- test-suite-auditorSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
Files
Mobile Platform Pack
Trigger
Loaded conditionally when docs/project/STACK.md targets a Mobile application (iOS / Android).
Supported Stacks
- React Native (Expo) and Flutter.
Engineering Rules
- Offline-First Storage: Persist critical local state and pending mutations in SQLite or WatermelonDB (or Drift/sqflite in Flutter). Sync idempotently on reconnect with explicit conflict handling and optimistic UI rollback on failure.
- Push Notifications: Request notification permissions contextually with clear user rationale; handle denied states gracefully; validate/refresh device push tokens server-side and never store secrets in notification payloads.
- Mobile UI/UX Ergonomics: Enforce at least
44x44px (or 44pt/48dp) touch targets for all interactive controls, respect safe-area insets (notches, home indicators), handle keyboard avoidance on forms, and support low-connectivity loading/error states. - App Store Deployment: Separate development/staging/production bundle IDs and signing configs (EAS Build / Xcode / Play App Signing); strip debug logs and test credentials from release builds; check required privacy manifests and permission descriptions.
Testing
- Unit: Jest / Vitest (React Native) or
flutter test(Flutter). - End-to-End: Detox or Maestro (or
flutter_skillMCP when available) for real device/simulator flows, offline transitions, and gesture navigation.
Prohibitions
- Storing auth tokens or sensitive secrets in unencrypted plain preferences (
AsyncStorage/SharedPreferenceswithout SecureStore/Keychain/Keystore). - Interactive buttons or list rows smaller than 44px touch targets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

