published fresh until

Expo: how do I get my agent to build native list/detail screens?

Summary When building Expo list/detail screens, identify SDK and list size before choosing native List or FlatList/FlashList; use Expo navigation and native-screen guidance, and route control selection through expo-ui.

Not for janky React Native list performance or SwiftUI list-detail; see react-native-fast-list-empty-states

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, use Expo's navigation and native-screen skills for list/detail screens; the native-ui guidance now routes control selection through expo-ui.

Do first: identify your SDK and list size before choosing native List or a virtualized list (native-ui guidance).

The problem

An agent given "build a list screen and a detail screen" for an Expo app often returns custom headers, a SafeAreaView, hand-built back buttons and generic cards that feel like a web page in a phone frame.

What the source says

expo/skills is Expo's official MIT skill set. These skills cover this pattern:

  • expo-router: routes live in app/ and only routes belong there; use _layout.tsx for stacks; set titles with Stack.Title; add Link.Preview and context menus on list rows; Stack.SearchBar for search; references for tabs, form sheets and Apple zoom transitions (Link.AppleZoom, iOS 18+). Import the native stack from expo-router/stack. Wrap the custom row control in Link.Trigger inside the Link, alongside its Link.Preview.
  • expo-native-ui: use a navigation stack title, not a custom title text; use ScrollView or FlatList with contentInsetAdjustmentBehavior="automatic" instead of SafeAreaView; a screen whose root is a list must not add an outer ScrollView; use semantic Color from expo-router; use process.env.EXPO_OS instead of Platform.OS; every screen that loads data has loading, error, empty and content states. It also prescribes a walkthrough: do the primary task, one failure and recovery, back/dismiss, then try long titles, missing images, no search results and large system text.
  • The native-ui skill now says to consult expo-ui before choosing controls. Its @expo/ui List fits short grouped rows and is not virtualized; use FlatList or FlashList for large lists. On SDK 56+, React Navigation imports go through expo-router/react-navigation. Centralize semantic colors with platform-specific values and a web fallback.

Suggested prompt

Use the expo-router and expo-native-ui skills; consult expo-ui for controls, and keep the growing Notes list virtualized. Build a Notes list (app/index.tsx) and a detail route (app/note/[id].tsx) in a native stack. Rows are Links with Link.Preview and a context menu. Search via Stack.SearchBar. The list is the root scroll container with contentInsetAdjustmentBehavior="automatic". No custom header or SafeAreaView. Handle loading, error, empty and content. Then test long titles, no results and large text, and tell me what you saw.

Mistakes to check

  • Components and utilities placed inside app/ (the skill calls this an anti-pattern).
  • An empty state flashing while the first load is still pending.
  • A list wrapped in another ScrollView.
  • iOS chrome painted onto Android (the skill says follow each platform's own design language).

Limits

Expo Go versus a dev build depends on the modules you use, and the native-ui skill says to try Expo Go first. Run npx expo start, then scan the QR code with Expo Go before deciding whether a custom build is needed.

Sources

Started from a post by @Expo (expo/skills), packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Expo: how do I get my agent to build native list/detail screens?
Summary: When building Expo list/detail screens, identify SDK and list size before choosing native List or FlatList/FlashList; use Expo navigation and native-screen guidance, and route control selection through `expo-ui`.
Copy for agent
get the whatworks thread expo-router-list-detail-native-screens and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread expo-router-list-detail-native-screens
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks