
Expo project structure
Lays out folders and file placement for a brand-new Expo Router app
Expo project structure is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Expo project structure
This skill gives an agent a starting folder skeleton for a new Expo app that uses Expo Router. It covers where routes, reusable components, screen bodies, server-only helpers and API routes should live, and keeps config files such as app.json, eas.json and package.json outside src/.
The guidance separates route files from everything else, groups server API routes under app/api, and explains how to colocate private sub-components, styles and tests next to the code that uses them. It also describes when to split platform-specific code into .web, .ios or .android files rather than using inline platform checks.
The skill is a set of conventions and has no scripts. It is meant only for projects being scaffolded now; the agent is told to follow an existing layout rather than migrate it. It also includes an optional command for sending feedback to Expo, which the user must agree to before anything is sent.
When your agent uses it
Folder structure for a new Expo app. Use when scaffolding or laying out a new Expo project with Expo Router, or deciding where a file should live in one. For new projects only — never restructure an existing app to match.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (7 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabaseOr copy only this skill to ~/.claude/skills/expo-project-structure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/expo-project-structure &&
cp -R "$tmp/.agents/skills/expo-project-structure" ~/.claude/skills/expo-project-structure &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/expo-project-structure inside it instead.
Copy the skill folder to ~/.agents/skills/expo-project-structure to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/expo-project-structure &&
cp -R "$tmp/.agents/skills/expo-project-structure" ~/.agents/skills/expo-project-structure &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/expo-project-structure inside it instead.
Copy the skill folder to ~/.cursor/skills/expo-project-structure to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/expo-project-structure &&
cp -R "$tmp/.agents/skills/expo-project-structure" ~/.cursor/skills/expo-project-structure &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/expo-project-structure inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/expo-project-structureOr copy the folder to ~/.gemini/skills/expo-project-structure yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/expo-project-structure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/expo-project-structure &&
cp -R "$tmp/.agents/skills/expo-project-structure" ~/.copilot/skills/expo-project-structure &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/expo-project-structure inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.gitThen copy better-supabase/.agents/skills/expo-project-structure into your agent's skills folder as expo-project-structure. Agents that support SKILL.md read one folder per skill.
What it does
- Route-only app folder
- Explains keeping src/app limited to Expo Router route files with everything else in sibling folders.
- Component and screen layout
- Shows how to separate reusable UI in components/ from screen bodies rendered by routes.
- Server API separation
- Describes grouping +api routes under app/api and keeping server helpers in src/server.
- Platform-specific file rules
- Covers splitting platform variants into extension files and the default file requirement.
- Colocated styles and tests
- Recommends keeping StyleSheet objects and test files beside the code they belong to.
- Config file placement
- Lists where app.json, eas.json, package.json, assets and scripts belong relative to src.
Good for
- Set up folder structure for a new Expo app
- Decide where a new component should live in an Expo Router project
- Organize API routes and server helpers in an Expo app
- Split a component into iOS, Android or web variants
- Place test files and styles in a new Expo project
Expo project structure FAQ
Does Expo project structure restructure an existing Expo app?
No. It applies only to new projects, and the skill tells the agent to follow an existing layout and ask before moving files when unsure.
Which router does Expo project structure assume?
It is written for Expo Router, including src/app routes and +api server routes.
Does Expo project structure run any scripts?
No, the skill has no scripts. It only provides folder and naming guidance.
Does Expo project structure support both app/ and src/app/?
The skill notes that Expo Router supports both locations and that the default template aliases @/* to ./src/*.
How do I install Expo project structure in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/expo-project-structure to use it in all your projects, or to .claude/skills/expo-project-structure in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.
Does Expo project structure run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Expo project structure?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Expo project structure?
The closest alternatives to Expo project structure are Expo project structure, Expo router, Expo router, Expo overview and Expo overview.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ScaleDockHQ/better-supabase

Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown
- Open source
- 5 GitHub stars
- Files and documents

Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol
- Open source
- 5 GitHub stars
- Developer tools

Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0
- Open source
- 5 GitHub stars
- Developer tools

Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI
- Open source
- 5 GitHub stars
- Browser automation

Guides an agent to write, review and validate SKILL.md skills against the Agent Skills
- Open source
- 5 GitHub stars
- Developer tools

Write, place, migrate and review AGENTS.md instruction files for coding agents
- Open source
- 5 GitHub stars
- Developer tools


