expo-project-structure
Skill by expo
Expo project structure gives a folder layout for a new Expo app that uses Expo Router. It helps decide where routes, components, screens, server code and config files should live. It is for developers starting a new Expo project.
Install expo-project-structure
Built from the published package, never by AI.
git clone --depth 1 https://github.com/expo/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/plugins/expo/skills/expo-project-structure ~/.claude/skills/expo-project-structureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/expo/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/plugins/expo/skills/expo-project-structure ~/.gemini/antigravity-cli/skills/expo-project-structureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install expo-project-structure in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill provides a starting folder structure for a new Expo app with no committed layout yet. It sets out a layout with routes in src/app, reusable UI in components, screen bodies in screens, and server-only code in server and app/api. It also covers platform-specific files, colocated styles and tests, and where config and agent files belong.
The skill is meant only for new projects. If an app already has a layout, the skill says to follow its existing conventions and leave files where they are. When unsure whether a project is new, it says to ask before moving anything. It is intended for developers scaffolding a new Expo project with Expo Router, or deciding where a file belongs in one.
Written from the project's SKILL.md and checked against it.
What it can do
- Project layoutLays out a new Expo app with src/app routes, components, screens, server, utils and hooks folders.
- File placement guidanceHelps decide where a file should live, such as routes, shared UI or screen-only components.
- Server API routesGroups +api routes under app/api and keeps shared server-only helpers in src/server.
- Platform-specific filesExplains splitting components into platform files like bar-chart.tsx and bar-chart.web.tsx.
- Colocation rulesKeeps styles at the bottom of component files and tests next to the code they test.
Try asking
- Lay out a new Expo app with Expo Router using the expo folder structure
- Where should a reusable button component live in this Expo project?
- Split this Expo screen into a screens folder with a thin route file
Good to know
- Only for new projects. Existing apps should keep their current layout.
- Routes in src/app must only be route files. Other code belongs in sibling folders.
- If both app/ and src/app/ exist, only src/app/ is used.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/expo/skills/expo-project-structure/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml316 B
Alternatives to expo-project-structure
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
expo-project-structure: common questions
Should I restructure an existing Expo app with this skill?
No. The skill says to apply it only to new projects and to follow the existing conventions of an app that already has a layout.
Where do API routes go in an Expo project?
The skill says to group +api routes under app/api, and to put shared server-only helpers in src/server.
Does the skill support platform-specific files?
Yes. It describes using Platform.select for small differences and platform file extensions like .ios, .android, .native and .web for larger ones.
How do I install expo-project-structure?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is expo-project-structure free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is expo-project-structure safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to expo-project-structure?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
