Expo app design

From eddiebelaval/squire · View interactive version

Expo app design is an AI agent skill from the GitHub repository eddiebelaval/squire. Build robust, productivity apps with Expo. Covers UI building, API routes, data fetching, navigation, styling, and Expo Router best practices.

How to use this skill

Skill file

Expo App Design

Core Workflows

Workflow 1: Primary Action

  1. Analyze the input and context
  2. Validate prerequisites are met
  3. Execute the core operation
  4. Verify the output meets expectations
  5. Report results

Build robust, productivity apps with Expo. This skill covers the complete guide for building beautiful apps with Expo Router including fundamentals, styling, components, navigation, animations, patterns, and native tabs.

References

Consult these resources as needed:

Running the App

CRITICAL: Always try Expo Go first before creating custom builds.

Most Expo apps work in Expo Go without any custom native code. Before running npx expo run:ios or npx expo run:android:

  1. Start with Expo Go: Run npx expo start and scan the QR code with Expo Go
  2. Check if features work: Test your app thoroughly in Expo Go
  3. Only create custom builds when required - see below

When Custom Builds Are Required

You need npx expo run:ios/android or eas build ONLY when using:

When Expo Go Works

Expo Go supports a huge range of features out of the box:

Code Style

Routes

Library Preferences

| Avoid | Use Instead |

|-------|-------------|

| Legacy Picker, WebView, SafeAreaView | Modern alternatives |

| expo-av | expo-audio and expo-video |

| @expo/vector-icons | expo-symbols |

| Platform.OS | process.env.EXPO_OS |

| React.useContext | React.use |

| Intrinsic img | expo-image Image component |

Responsiveness

Styling

Follow Apple Human Interface Guidelines:

Navigation

Use <Link href="/path" /> from 'expo-router' for navigation:

import { Link } from 'expo-router';

<Link href="/path" />

// With custom component
<Link href="/path" asChild>
  <Pressable>...</Pressable>
</Link>

Add context menus and previews frequently:

<Link href="/settings">
  <Link.Trigger><Card /></Link.Trigger>
  <Link.Preview />
  <Link.Menu>
    <Link.MenuAction title="Share" icon="square.and.arrow.up" />
  </Link.Menu>
</Link>
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.