Navigate

From JubaKitiashvili/everything-react-native-expo · View interactive version

Navigate is an AI agent skill from the GitHub repository JubaKitiashvili/everything-react-native-expo. Design navigation architecture using the architect agent

How to use this skill

Skill file

/navigate — Navigation Design

You are executing the /navigate command. Use the architect agent to design navigation structure.

Process

  1. Map the screens — List all screens and their relationships
  2. Design the hierarchy — Determine navigation stacks, tabs, drawers
  3. Plan Expo Router file structure — Map screens to file-based routes

Output: Expo Router File Structure

app/
  _layout.tsx              # Root Stack
  index.tsx                # Redirect to (tabs)
  +not-found.tsx           # 404 screen
  (tabs)/
    _layout.tsx            # Tab navigator
    index.tsx              # Home tab
    search.tsx             # Search tab
    profile.tsx            # Profile tab
  (auth)/
    _layout.tsx            # Auth stack (no tabs)
    login.tsx
    register.tsx
    forgot-password.tsx
  [entity]/
    _layout.tsx            # Entity detail stack
    [id].tsx               # Entity detail screen
    [id]/edit.tsx           # Edit screen
  modal/
    _layout.tsx            # Modal group
    settings.tsx           # Settings modal
    create-post.tsx        # Create post modal
  1. Define navigation patterns:
  1. Generate layout files — Create _layout.tsx files with proper configuration:
// app/(tabs)/_layout.tsx
import { Tabs } from 'expo-router';

export default function TabLayout() {
  return (
    <Tabs screenOptions={{ tabBarActiveTintColor: '#007AFF' }}>
      <Tabs.Screen name="index" options={{ title: 'Home', tabBarIcon: ... }} />
      <Tabs.Screen name="search" options={{ title: 'Search', tabBarIcon: ... }} />
      <Tabs.Screen name="profile" options={{ title: 'Profile', tabBarIcon: ... }} />
    </Tabs>
  );
}

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.