/vector-skills:react-native-expo-app-builderfrom Vector Skills
Scaffolds production-ready React Native apps with Expo from a design (Figma/screenshots) and API (OpenAPI/docs). Creates project with tested core, auth, SSE streaming, offline cache, Maestro e2e tests, and parallel workspace slices.
Ships in Vector Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are the tech lead of a mobile app that does not exist yet. Someone has handed you a design and an API and asked you to build it in Expo (React Native) for iOS and Android. Building the screens is the part you are already good at. This skill is about everything else that decides whether the app reaches the stores without a human acting as your tester, your memory and your release manager.
scripts/create-app.mjs runs create-expo-app@latest and adds a tested core
plus only the modules the app needs. Nothing is pinned; it prints the versions it installed.scripts/add-module.mjs installs it, regenerates what depends on it, reruns the checks.AGENTS.md, CLAUDE.md (@AGENTS.md), brief, screen inventory, human-task list.app-store-play-store-submission (audit, release builds, rejections).node <this skill>/scripts/create-app.mjs --list # the modules, and when each is worth it
node <this skill>/scripts/create-app.mjs ../my-app --modules auth,guest,streaming --name "My App" --bundle-id com.acme.myapp
node <this skill>/scripts/add-module.mjs ../my-app remote-config # later
Run them with the tool sandbox off (network, package cache). Output is about twenty lines; full logs go to a temp file.
| Layer | What | When it goes stale |
|---|---|---|
| Core (always) | config + build guards, API client (refresh, 401 policy, scheduler, typed errors), server state, offline banner, text/screen primitives, English + parity test, navigation shell, extension points, QA tour, Maestro, mock API, smoke script, CI | Rarely — mostly plain TypeScript with tests |
| Modules (pick) | auth · guest (needs auth) · ai-consent (needs auth) · streaming · uploads · remote-config · offline-cache · text-size · lang-my · tabs | Their library glue can; a weekly canary in the skill repo builds all of them on the latest SDK |
| Recipes (instructions) | push, in-app purchase, social sign-in, crash reporting, OTA updates, analytics — references/09-recipes.md | Never: written at the time from the vendor's current docs |
Pick modules from the brief in Phase 0 — accounts → auth; public content → guest; personal data to a third-party
AI → ai-consent; an AI chat or live feed → streaming; file pickers → uploads; something to switch off between
releases → remote-config; reading offline → offline-cache; small type or older users → text-size; Burmese or
another tall script → lang-my (or copy it as lang-<code> with "language" in module.json); two or more top-level areas → tabs. Modules plug in through registerModule
(src/modules/slots.ts); none edits a core file, and a feature of the app's own is just another module folder.
Details: references/05-build-order.md §0.
This skill never pins a version, and neither should you. "Latest" is resolved when the skill runs.
npm view expo dist-tags → latest. New projects come from create-expo-app@latest; every Expo or
React Native library goes in with npx expo install <pkg>; upgrades move the whole SDK (npx expo install expo@latest && npx expo install --fix), never one package.npx <tool>@latest; Maestro, JDKs, Android SDK, and EAS CLI (eas-cli) from their current releases; GitHub Actions at their current
major (the starter's Dependabot keeps them there).AGENTS.md that
create-expo-app writes, Expo's official skills (npx skills add expo/skills) and the versioned docs
(https://docs.expo.dev) beat memory — your training data describes an older SDK.docs/PROJECT_BRIEF.md. When the latest breaks something, fix forward; pin one
package back only when it is genuinely incompatible, with a dated comment, the issue link and a task to undo it.
references/07-expo-react-native.md §0 lists what to check on every new SDK.In the project this skill comes from, a 39-screen design and an API reference became a working app in one approved
turn — and getting it approved in the stores then took 165 prompts, 21 PRs and four App Review rejections in 25
days. Most of those prompts were a human supplying an input nobody had asked for, acting as the tester, walking store
consoles, or asking for the root cause twice. So a design and an API are two of seven input packs — product
decisions, design, API contract + test account, identity and environment, platform scope and device matrix, store and
legal, working agreement — and "done" means approved in the stores. references/00-evidence-and-gaps.md has the
analysis; references/01-intake.md the packs item by item.
Read only what the current phase needs, and speak plainly to the human: "Phase 2", "packs" and "gates" are this skill's words, not theirs. Keep messages short — details go in files they can open.
ios/ or android/ by hand.Read references/01-intake.md (self-contained, store rules included). Templates: assets/PROJECT_BRIEF.template.md,
assets/CLAUDE.template.md, assets/HUMAN_TASKS.template.md.
docs/PROJECT_BRIEF.md, docs/SCREENS.md, docs/API_REQUESTS.md (including an OpenAPI export if there is
none), docs/HUMAN_TASKS.md, AGENTS.md and CLAUDE.md (@AGENTS.md) — before the message, open decisions marked proposed.Exit when the expensive decisions are answered ("all recommended" counts), the blocking items are in hand, and the task list and API requests are delivered. If the human waves the questions away, take every recommendation and record it as defaulted.
Read references/02-api-contract.md.
npm run api:types.npm run api:smoke -- --spec <file>) against the real API with the QA account.create-app.mjs printed, JDK, Xcode, simulator ids) in the brief and AGENTS.md.Exit when the first slices' endpoints have verified shapes and the app builds, launches and can be driven on every
target, in release configuration at least once. No API yet? Use the starter's mock API (npm run mock-api) behind the
real interface and mark those domains unverified.
Read references/04-architecture.md and references/07-expo-react-native.md.
Run scripts/create-app.mjs with the modules from Phase 0 — that is this whole phase, already built and tested
(references/05-build-order.md §0). Set the identity, keep the gates, primitives and harness, and replace the example
screens as slices land. For an existing repo, take the pieces from assets/starter/core/ and the module folders in the
order config → primitives → localisation → API client → storage → session and guards → gates → navigation → harness → CI.
Exit when each session state the app has (signed out, guest, signed in) lands on the right stack on both platforms, the Maestro flows pass on both, and the QA tour produces a screenshot per route.
Read references/03-design.md. Build sign-in → shell → the one flow that is the product end to end against the
real API; capture a contact sheet (iPhone, Android phone, tablet; every language; large text; keyboard up) and get the
navigation paradigm, component feel, type size, default language and core interaction signed off. Only then fan out.
Read references/05-build-order.md. One vertical slice = API module + types + data hooks + screens + all states +
strings in every language + route + gate wiring + QA tour step + a Maestro flow + tests for the pure logic. A feature
with cross-cutting reach becomes a module (registerModule); a vendor-heavy one starts from references/09-recipes.md.
Read references/06-verification.md. Tablet and split view, keyboard on both platforms, the tallest script and RTL/expanded locales (ar, de, CJK) at the
largest text size, offline and reconnect, token expiry, cold-start deep links, permission denied, every upload type,
account switch, guest → sign-in, fresh install. Exit when every cell is pass, fixed, or an accepted limitation.
Load app-store-play-store-submission: the audit, version numbers, release builds and their launch test, hand-over, and the rejection protocol.
A slice is done when it runs on an iOS phone and an Android phone (and new layouts at tablet width) and you looked at each; its main path is a Maestro flow passing on both against a release build; loading, empty, error and offline states exist and were triggered; every string exists in every language without clipping; typecheck, lint, tests and both production bundles pass; its routes are in the QA tour and deep-linkable; the report shows screenshots and names what was not verified.
| Anti-pattern | Do this instead |
|---|---|
| Starting screens the moment a design and API arrive | Phase 0; the missing packs cost more than the screens |
| Installing every module "just in case" | Only what the brief needs; add the rest later with add-module.mjs |
| Copying a version number from memory, a tutorial or this skill | Resolve latest now; npx expo install for every library |
| Questions one at a time, or a first reply that takes ten minutes to read | One short kickoff message; the rest in files |
| Guessing a team id, bundle id, category or legal URL | Ask; record it in the brief with the date |
| Trusting the API doc for a response shape | OpenAPI + smoke script; normalise at the boundary; report the gap |
| "Works on the iOS simulator" as done, or asking the human to tap through | Maestro on both platforms; Android and tablet are separate targets |
| Patching a symptom that came back | Root cause plus same-pattern sweep; name the earlier patch |
| A login / consent / paywall check added screen by screen | A module every route passes through |
Editing ios/ or android/, or a core file, to add a feature | Config plugin / app config; a module with registerModule |
| Leaving store work until the app "is finished" | Human-task list on day one; the submission skill before every upload |
A decision is expensive to reverse and the brief does not cover it; the live API contradicts the docs in a way that changes a feature; a store rule and a product decision conflict; an action is irreversible or outward-facing (merging, uploading, deleting, rotating credentials, replying to a reviewer); you need a credential (ask for the channel, never the value). Otherwise decide, record it in the brief, and keep going.
If the app exists and the request starts later (a workspace that will not build, missing tests, a hardening pass), start there, but first check the earlier exits — the brief, the QA account, the device matrix, the harness.
When the app ships, count the prompts as the case study did (references/00-evidence-and-gaps.md §7;
assets/conductor/prompt-census.py). The phase whose category is still large is the one this skill has not fixed yet.
references/00-evidence-and-gaps.md — the case study: where 165 prompts went, the eight gaps, what each retrofit cost.references/01-intake.md — the seven packs, store rules that become day-one decisions, the kickoff message.references/02-api-contract.md — OpenAPI first, contract checklist, smoke script, gap report, mock API.references/03-design.md — design hand-off, screen inventory, states designs never draw, on-device sign-off.references/04-architecture.md — layers, folder structure, the designs worth copying, system-design decisions.references/05-build-order.md — core, modules and recipes; create-app.mjs and add-module.mjs; slices; parallel workspaces.references/06-verification.md — verification ladder, device matrix, Maestro on both platforms, hardening matrix.references/07-expo-react-native.md — staying on the latest SDK, then field notes (symptom → cause → rule).references/08-prompts.md — prompt templates for the human, and the messages the agent sends back.references/09-recipes.md — push, purchases, social sign-in, crash reporting, OTA updates, analytics.Scripts and assets: scripts/create-app.mjs, scripts/add-module.mjs (shared code in scripts/lib/);
assets/starter/core/ and assets/starter/modules/<name>/ (each with module.json); the brief, CLAUDE and
human-task templates in assets/; assets/conductor/ (settings.toml, setup.sh, prompt-census.py).
assets/CLAUDE.template.md (opens in a new tab)assets/HUMAN_TASKS.template.md (opens in a new tab)assets/PROJECT_BRIEF.template.md (opens in a new tab)assets/PROJECT_RULES.fragment.md (opens in a new tab)assets/conductor/prompt-census.py (opens in a new tab)assets/conductor/settings.toml (opens in a new tab)assets/conductor/setup.sh (opens in a new tab)assets/starter/core/CLAUDE.md (opens in a new tab)assets/starter/core/README.md (opens in a new tab)assets/starter/core/app.config.js (opens in a new tab)assets/starter/core/docs/DATA_INVENTORY.md (opens in a new tab)assets/starter/core/docs/SCREENS.md (opens in a new tab)assets/starter/core/docs/openapi.json (opens in a new tab)assets/starter/core/eslint.config.js (opens in a new tab)assets/starter/core/plugins/with-upload-signing.js (opens in a new tab)assets/starter/core/scripts/api-smoke.mjs (opens in a new tab)assets/starter/core/scripts/api-types.mjs (opens in a new tab)assets/starter/core/scripts/bump-build.mjs (opens in a new tab)assets/starter/core/scripts/e2e.mjs (opens in a new tab)assets/starter/core/scripts/ios-launch-test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub myatminlu/vector-skills --plugin vector-skills8 skills in this plugin
/app-store-play-store-submissionGet an Expo / React Native app approved on the Apple App Store and Google Play, and fix App Store or Google Play rejections. Covers the pre-submission audit (App Review Guidelines, App Privacy and Data safety answers, account deletion, guest access, AI consent, subscriptions, screenshots), version and build numbers, signing, release builds (AAB, iOS archive), a launch test on the newest iOS, TestFlight and internal testing, hand-over, and post-launch store notices with deadlines. ALWAYS use it when the user pastes an App Review or Google Play rejection, quotes a guideline number (2.1, 2.3.10, 2.5.4, 3.1.1, 4.8, 5.1.1, 5.1.2…) or a Play Console policy warning, even if they only ask "what is this?" — the answer needs the rejection protocol, not just an explanation. Also use it for "build a release", "submit to the App Store / Play Store", "publish my app", TestFlight, and privacy-form questions. Not for building features (use react-native-expo-app-builder)./bug-fixingA disciplined, architect-level workflow for diagnosing and fixing bugs in an existing codebase — reproduce, read the real code before touching anything, find the true root cause, design the minimal correct fix at the right layer, verify it, and hunt for clones of the same defect. Use this skill for ANY defect work — crashes, exceptions, wrong output, failing or flaky tests, regressions, race conditions, memory leaks, performance degradation, data corruption, integration failures, works-locally-but-not-in-prod problems, or any request phrased as fix, debug, broken, not working, error, or why does X happen. Use it even when the bug looks trivial or the user has already proposed a fix — especially then, because the proposed fix is usually a symptom-level patch. Do NOT use for greenfield feature work with no defect involved.Other plugins' skills for the same job