expo-react-native-architecture
/expo-react-native-architecture
Design, review, and refactor scalable React Native applications built with Expo and Expo Router using feature-first architecture, thin route files, clear infrastructure boundaries, and pragmatic state management. Use when creating a new Expo project structure, adding a feature, deciding where code belongs, or reviewing architecture.
- Author
- bobbie-xos ↗
- Repository
- superlazydev ↗
- Licence
- MIT
- Last repository change
- 09.11.2026
Assessment and security
- Files in this package
- 6
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Design, review, and refactor scalable React Native applications built with Expo and Expo Router using feature-first architecture, thin route files, clear infrastructure boundaries, and pragmatic state management. Use when creating a new Expo project structure, adding a feature, deciding where code belongs, or reviewing architecture.
Original author description
Design, review, and refactor scalable React Native applications built with Expo and Expo Router using feature-first architecture, thin route files, clear infrastructure boundaries, and pragmatic state management. Use when creating a new Expo project structure, adding a feature, deciding where code belongs, or reviewing architecture.
How it works
- Core principles
- Choose a reference
- Architecture workflow
- Review checklist
- Expected output
SKILL.md preview
--- name: expo-react-native-architecture description: Design, review, and refactor scalable React Native applications built with Expo and Expo Router using feature-first architecture, thin route files, clear infrastructure boundaries, and pragmatic state management. Use when creating a new Expo project structure, adding a feature, deciding where code belongs, or reviewing architecture. --- # Expo React Native Architecture Skill Help agents create and maintain understandable React Native applications using Expo, TypeScript, and Expo Router. Prefer feature-first organization, thin route files, explicit infrastructure boundaries, and architecture proportional to the problem. ## Core principles 1. Keep `app/` focused on routing and screen entry; put substantial feature behavior in `src/`. 2. Group feature-owned code together and promote code to shared locations only when it is genuinely reusable or cross-cutting. 3. Give remote data, local UI state, shared client state, and persisted values clear owners. 4. Centralize app-wide infrastructure and native setup; avoid speculative layers and duplicate sources of truth. 5. Follow the repository's Expo SDK, Router, TypeScript, and platform conventions. ## Choose a reference Read the guidance that matches the work. Read more than one when a change crosses boundaries. - For folder layout, feature boundaries, shared UI, and infrastructure placement, read [references/project-structure.md](references/project-structure.md). - For server state, client state, persistence, API boundaries, and secrets, read [references/state-and-data.md](references/state-and-data.md). - For routes, layouts, deep links, native dependencies, and platform-specific code, read [references/expo-router-and-native.md](references/expo-router-and-native.md). - For Expo TypeScript setup and test strategy, read [references/typescript-and-testing.md](references/typescript-and-testing.md). ## Architecture workflow When asked to create, extend, refactor, or review a project: 1. Inspect `package.json`, Expo and TypeScript configuration, route files, existing feature folders, and the current state/API libraries. Note the installed Expo SDK and Router versions before recommending APIs or native dependencies. 2. Reuse established conventions and dependencies. Do not rewrite a working architecture to match a template. 3. Classify the change as routing, feature code, shared UI, infrastructure, or app-wide configuration. Load the relevant references above. 4. Choose the smallest structure that fits and preserve routes, deep links, authentication behavior, and platform behavior during refactors. 5. Verify with repository checks relevant to the change. For native dependencies or app-config changes, include the relevant Expo prebuild or platform check when available. Report checks that could not be run; do not claim an unrun check passed. 6. Briefly explain important file placement and non-obvious architecture decisions. ## Review checklist - Route files primarily handle routing and screen entry. - Feature-specific code is grouped by capability; shared code is genuinely reusable. - API clients and third-party SDK setup are centralized. - Server state and client state have clear ownership. - Imports follow clear boundaries and avoid circular dependencies. - Route parameters and platform differences are handled intentionally. - Secrets are not committed or exposed in client code. - Relevant checks were run or their status was reported accurately. ## Expected output For implementation work, provide a brief summary, important files added or changed, reasoning for non-obvious decisions, verification results, and known gaps.
Files in this package (6)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- references/expo-router-and-native.md 2 KB
- references/project-structure.md 4 KB
- references/state-and-data.md 2 KB
- references/typescript-and-testing.md 1 KB
Versions
The database has no other skills named expo-react-native-architecture.
Database snapshot: 13.11.2026 · package version 0db9ec31ae4b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 91stack-expo
Conventions for the Expo / React Native stack (Expo Router screens per task, components/<f>, lib owners). Use when adding a screen, component, navigation or API call in this app. - 90expo-react-native
Build, debug, or review an Expo and React Native feature across iOS and Android. Use when changing navigation, native modules, permissions, app configuration, EAS builds, or platform-specific UI. - 85react-native-best-practices
Software Mansion's best practices for production React Native and Expo apps on the New Architecture. MUST USE before writing, reviewing, or debugging ANY code in a React Native or Expo project. If the working directory contains a package.json with react-native, expo, or… - 85react-native
Use when writing or reviewing React Native or Expo code — the New Architecture (Fabric, TurboModules), navigation, native modules, or list and animation performance. - 100expo-react-native-app-engineering
Engineering skill: Expo React Native app — how to build and ship a cross-platform app with React Native with Expo and Expo Router, TypeScript, StyleSheet reading a typed token theme, Jest with jest-expo. Use when writing, reviewing, testing or releasing code in this stack, and… - 100expo-react-native-performance
Expo React Native performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Expo React Native code to ensure optimal performance patterns. Triggers on tasks involving React Native components, lists, animations, images, or performance improvements.