expo-router — expo-router install expo-router, drill-app, community, expo-router install, ide skills, expo-router stack navigator configuration, expo-router screen options, expo-router automatic route discovery, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Mobile App Agents requiring streamlined navigation configuration in Expo applications expo-router is a navigation tool that allows developers to set up stack navigator configurations and customize screen options for their Expo applications.

Features

Configures stack navigator settings using the Stack component
Sets default screen options using the screenOptions property
Enables automatic route discovery from file structures
Allows per-screen configuration of options
Supports customization of header settings using the headerShown property

# Core Topics

jchaselubitz jchaselubitz
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The expo-router skill by jchaselubitz is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for expo-router install, expo-router stack navigator configuration, expo-router screen options.

Ideal Agent Persona

Ideal for Mobile App Agents requiring streamlined navigation configuration in Expo applications

Core Value

Empowers agents to automatically discover routes from file structures and configure stack navigator settings using Expo Router, enabling seamless navigation experiences with features like automatic route discovery and customizable screen options via 'screenOptions' on the Stack component

Capabilities Granted for expo-router

Configuring stack navigator settings for Expo apps
Automating route discovery from file structures
Customizing screen options for individual screens

! Prerequisites & Limits

  • Requires Expo application setup
  • Limited to stack navigator configuration
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

expo-router

Install expo-router, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Expo Router Patterns

Stack Navigator Configuration

Root Layout Setup

Use screenOptions on the Stack component to set defaults for all screens. Do NOT explicitly list every screen - routes are auto-discovered from the file structure.

tsx
1// app/_layout.tsx 2import { Stack } from 'expo-router'; 3 4export default function RootLayout() { 5 return ( 6 <Stack screenOptions={{ headerShown: false }} /> 7 ); 8}

Per-Screen Configuration

Individual screens configure their own options using <Stack.Screen> within the component file:

tsx
1// app/lesson/[id].tsx 2import { Stack } from 'expo-router'; 3 4export default function LessonScreen() { 5 return ( 6 <View> 7 <Stack.Screen 8 options={{ 9 title: 'Lesson', 10 headerShown: true, 11 headerBackTitle: 'Back', 12 }} 13 /> 14 {/* Screen content */} 15 </View> 16 ); 17}

Dynamic Header Configuration

Use useNavigation with setOptions for dynamic header content like buttons:

tsx
1import { useNavigation } from 'expo-router'; 2import { useLayoutEffect } from 'react'; 3 4export default function Screen() { 5 const navigation = useNavigation(); 6 7 useLayoutEffect(() => { 8 navigation.setOptions({ 9 headerRight: () => ( 10 <Pressable onPress={handlePress}> 11 <Ionicons name="add" size={28} /> 12 </Pressable> 13 ), 14 }); 15 }, [navigation]); 16 17 return <View>{/* content */}</View>; 18}

Native Tabs (expo-router/unstable-native-tabs)

Native tabs provide platform-native tab bar with SF Symbols on iOS:

tsx
1// app/(tabs)/_layout.tsx 2import { Icon, Label, NativeTabs } from 'expo-router/unstable-native-tabs'; 3 4export default function TabLayout() { 5 return ( 6 <NativeTabs> 7 <NativeTabs.Trigger name="index" options={{ title: 'Home' }}> 8 <Icon sf="house.fill" drawable="custom_android_drawable" /> 9 <Label>Home</Label> 10 </NativeTabs.Trigger> 11 </NativeTabs> 12 ); 13}

Key Principles

  1. File-based routing: Routes are auto-discovered from the app/ directory structure
  2. Minimal configuration: Only configure what you need to override
  3. Screen-level options: Screens configure their own headers/options using <Stack.Screen> within the component
  4. Layout files: _layout.tsx files define navigation structure for their directory
  5. Route groups: Parentheses like (tabs) create route groups without affecting the URL path

Common Mistakes to Avoid

  • Don't list every screen explicitly in Stack - they're auto-discovered
  • Don't use screenOptions for route-specific settings - use <Stack.Screen> in the route file
  • Don't nest navigators deeply - use file-based routing for cleaner structure

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is expo-router?

Ideal for Mobile App Agents requiring streamlined navigation configuration in Expo applications expo-router is a navigation tool that allows developers to set up stack navigator configurations and customize screen options for their Expo applications.

How do I install expo-router?

Run the command: npx killer-skills add jchaselubitz/drill-app. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for expo-router?

Key use cases include: Configuring stack navigator settings for Expo apps, Automating route discovery from file structures, Customizing screen options for individual screens.

Which IDEs are compatible with expo-router?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for expo-router?

Requires Expo application setup. Limited to stack navigator configuration.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add jchaselubitz/drill-app. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use expo-router immediately in the current project.

Related Skills

Looking for an alternative to expo-router or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI