# Expo router

> Expo router is an open-source agent skill for developer tools. Guides an AI agent through Expo Router navigation, routes, stacks, tabs and sheets. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/expo-router
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** expo-router
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent the conventions for building navigation in Expo Router apps. It covers how files map to routes, how to organize groups and dynamic segments, and when to use Link with previews and context menus, a native Stack with page titles, modal and form sheet presentations, NativeTabs, and header toolbars and search bars.

The main skill file sets house rules such as kebab-case file names, keeping components and utilities out of the app directory, keeping a route matching the root path, and preferring Stack.SearchBar for screen search. It points to reference files for route structure, tabs, toolbars and headers, form sheets, search and zoom transitions, and it defers visual styling and animation to sibling skills.

It includes code snippets for a tabbed layout with a shared stack group and notes on SDK 56+ option names. The skill also documents an optional command for sending feedback to Expo, which the agent must show to the user and send only with their agreement. No scripts are bundled, and the skill is written for Expo projects in TypeScript.

## When your agent uses it

> Navigation and routing for Expo Router. Covers file-based routes, groups and dynamic routes, folder organization, Link with previews and context menus, native Stack, page titles, modals and form sheets, NativeTabs, headers and toolbars, and header search bars.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/expo-router)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/expo-router)

## Features

- **File-based route structure:** Covers route conventions, dynamic segments, groups and folder organization inside the app directory.
- **Native stack navigation:** Explains defining stacks in _layout files with the native Stack, page titles and header options.
- **Links with previews and menus:** Shows how to wrap triggers with Link, add preview panes and long-press context menus.
- **Modals and form sheets:** Describes presenting screens as modals or resizable sheets with detents and grabbers.
- **Native tabs setup:** Covers NativeTabs triggers, icons, labels, search roles and sharing stacks across tabs.
- **Headers and search bars:** Covers header toolbars, menus, large titles and Stack.SearchBar for filtering screens.

## Good for

- Set up tab navigation with a stack inside each tab
- Add a long-press context menu and preview to a list card
- Present a settings screen as a bottom form sheet
- Add a search bar to a list screen with filtering
- Reorganize app routes into groups without leaving stale files

## Install

### Claude Code

This skill ships in the `better-supabase` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

Or copy only this skill to `~/.claude/skills/expo-router`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/expo-router &&
cp -R "$tmp/.agents/skills/expo-router" ~/.claude/skills/expo-router &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/expo-router` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/expo-router` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/expo-router &&
cp -R "$tmp/.agents/skills/expo-router" ~/.agents/skills/expo-router &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/expo-router` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/expo-router` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/expo-router &&
cp -R "$tmp/.agents/skills/expo-router" ~/.cursor/skills/expo-router &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/expo-router` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/expo-router
```

Or copy the folder to `~/.gemini/skills/expo-router` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/expo-router`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/expo-router &&
cp -R "$tmp/.agents/skills/expo-router" ~/.copilot/skills/expo-router &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/expo-router` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/expo-router` into your agent's skills folder as `expo-router`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Expo router change my app's styling or animations?

No. It focuses on navigation and routing and points to the expo-native-ui skill for screen styling and expo-animation for motion and gestures.

### What does Expo router need to run?

It is an instruction file for an AI agent working in an Expo Router project. It bundles no scripts and lists no required tools.

### Are there any restrictions on file names?

Yes. The skill asks for kebab-case file names without special characters and removal of old route files when restructuring navigation.

### Does the skill send data anywhere?

It documents an optional feedback command to Expo. The agent is instructed to show the message to the user and send it only with their agreement.

### How do I install Expo router in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/expo-router to use it in all your projects, or to .claude/skills/expo-router 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 router 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 router?

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 router?

The closest alternatives to Expo router are Expo router, Expo native UI, Expo project structure, Expo native UI and Expo project structure.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Expo router](https://ai-powered.com/skills/expo-router): Expo router is an open-source agent skill for developer tools.
- [Expo native UI](https://ai-powered.com/skills/expo-native-ui-scaledockhq): Expo native UI is an open-source agent skill for developer tools.
- [Expo project structure](https://ai-powered.com/skills/expo-project-structure-scaledockhq): Expo project structure is an open-source agent skill for developer tools.
- [Expo native UI](https://ai-powered.com/skills/expo-native-ui): Expo native UI is an open-source agent skill for developer tools.
- [Expo project structure](https://ai-powered.com/skills/expo-project-structure): Expo project structure is an open-source agent skill for developer tools.
- [Expo module](https://ai-powered.com/skills/expo-module): Expo module is an open-source agent skill for developer tools.
- [React navigation](https://ai-powered.com/skills/react-navigation): React navigation is an open-source agent skill for developer tools.
- [Expo overview](https://ai-powered.com/skills/expo-overview-scaledockhq): Expo overview is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/expo-router-scaledockhq
