Expo Router Project Structure for AI Coding Agents
Give Claude Code a clear Expo Router folder structure, route conventions and data boundaries for a new React Native application.
Use greenfield structure rules for new Expo apps without forcing a mature project into a generic folder template.
File-based routing makes folder decisions part of application behavior. Route groups, layouts and dynamic segments should be planned alongside feature ownership and data loading.
Who this guide is for
New Expo Router apps and teams deciding where a route, layout, feature module or shared utility belongs.
- Create a route tree that reflects navigation behavior.
- Separate route files from reusable feature and data logic.
- Avoid restructuring an established app without a product reason.
Which skills fit this job?
Start with the narrowest option that covers the full output. The package is useful when the workflow regularly crosses several specialisms.

Greenfield structure
Expo Project Structure Agent Skill
Defines where files should live in a new Expo app and explicitly avoids unsolicited rewrites.
Claude Code or a compatible local agent with Node.js and the Expo or EAS toolchain.

Route behavior
Expo Router Agent Skill
Covers route groups, dynamic paths, layouts, links, tabs, modals, headers and search.

Data boundaries
Expo Data Fetching Agent Skill
Adds caching, errors, offline support and loader guidance where routes depend on remote data.
Compare the options
| Option | Best use | Price | Contents | Runtime |
|---|---|---|---|---|
| Expo Project Structure Agent Skill | Greenfield structure | £10.00 | 8 files | Claude Code or a compatible local agent with Node.js and the Expo or EAS toolchain. |
| Expo Router Agent Skill | Route behavior | £10.00 | 14 files | Claude Code or a compatible local agent with Node.js and the Expo or EAS toolchain. |
| Expo Data Fetching Agent Skill | Data boundaries | £10.00 | 11 files | Claude Code or a compatible local agent with Node.js and the Expo or EAS toolchain. |
A practical workflow
Draw the route tree
List screens, layouts, groups, modal paths and dynamic segments before creating folders.
Separate route and feature code
Keep route entries thin and place reusable domain logic, components and data access outside the navigation tree.
Exercise real navigation
Test deep links, back behavior, tabs, modals and loading states on the platforms the app supports.
Where this approach stops
Keep this boundary visible
Do not reorganize a working existing app merely to match a preferred template. Structural migration needs its own risk assessment and test plan.
Questions before you choose
Should every component live inside the app directory?
No. The app directory represents routes. Reusable UI, domain logic and data modules usually belong outside the route tree.
Can route groups change a URL?
Route groups organize layouts and navigation without becoming a path segment, which is why their behavior should be planned deliberately.
RankThread is independent and is not affiliated with or endorsed by Anthropic, OpenAI, Expo, Shopify, GreenSock, Google or the other vendors referenced for compatibility. Product pages contain source and licence details.
