← All skills
Engineering https://ai-skills-vault.pages.dev/skills/mobile-app-with-ai.md

Mobile App With AI

Ship an Expo app with an AI feature that survives store review.

Download .md All skills
Install URLhttps://ai-skills-vault.pages.dev/skills/mobile-app-with-ai.md
Install prompt tap to copy
Read the skill at https://ai-skills-vault.pages.dev/skills/mobile-app-with-ai.md and install it as a skill in your agent. Follow it exactly, including its checklists. Then ask me the questions it requires and do the work.

Phones are the constraint: battery, bandwidth, memory, and a store review that will reject you for a missing privacy policy. Design for that first.

When to use this skill

Stage 1 - Decide what ships in v1

Three screens maximum. One core loop. Write it as: "A user opens the app to ___ and leaves having ___."

Cut anything that is not the loop. Onboarding under 30 seconds or it is not onboarding, it is a wall.

Then decide the platform: Expo + React Native for 90% of cases (one codebase, OTA updates, easy builds). Native Swift/Kotlin only for heavy AR, deep background work or performance-critical UI.

Stage 2 - Project setup that survives

app/            expo-router routes
components/     UI primitives
features/       one folder per feature
lib/            api client, storage, analytics
assets/         icons, splash, fonts

Stage 3 - On-device vs cloud

TaskOn-deviceCloud
Text classification, simple OCRYes (fast, free, private)Overkill
Speech-to-text short clipsYes on modern phonesFallback for old devices
Chat / reasoningNoYes
Image generationNoYes
Anything over ~50 MB of modelNoYes

Rules: never run a heavy model on the main thread; use a worker. Check device capability and degrade gracefully (a 4-year-old Android is your real baseline). Cache aggressively - repeat calls cost money and time.

Stage 4 - The AI feature contract

  1. Latency expectation - show streaming text or a skeleton within 300 ms, or users assume it is broken.
  2. Cost per user action - know it. A chat screen with a 4,000-token system prompt at scale is a business risk. Use a short prompt, cap history, summarise older turns.
  3. Failure UI - offline, rate-limited, quota exceeded, model refused. Four distinct messages, four retries strategies.
  4. Safety - user-generated content moderation before display, report button, block list.
  5. Data - what leaves the device, what is stored, how it is deleted. This becomes your privacy label.

Stage 5 - Data and offline

Stage 6 - Native capabilities, correctly

Stage 7 - Performance

Stage 8 - Store readiness

Stage 9 - Release and after

Quality checklist

Copy-ready agent prompt

Read the skill at the URL above. Ask me for the core loop in one sentence and the AI feature. Then scaffold the Expo project structure, build the three screens, implement the AI call with streaming, cost caps and four failure states, add offline-first storage, and give me the store checklist and the exact EAS build commands. Point out anything in my plan that will get rejected in review.
Copied