jyjeanne/ai-setup-forge/react-native-navigation
Claude Code and agent skill by jyjeanne/ai-setup-forge
- community
Checking that the SKILL.md file is still in the repository.
To implement robust navigation patterns in React Native applications using Expo Router (recommended) or React Navigation. Use when: When the app has multiple screens; When needing tab bars, drawers, or stack navigation (push/pop); When handling deep links.
Install
npx vskill@latest install jyjeanne/ai-setup-forge/react-native-navigationSKILL.md
The same SKILL.md was published earlier as jyjeanne/ai-setup-forge/react-native-navigation.
Purpose
To implement robust navigation patterns in React Native applications using Expo Router (recommended) or React Navigation.
When to Use
- When the app has multiple screens.
- When needing tab bars, drawers, or stack navigation (push/pop).
- When handling deep links.
Procedure
Option A: Expo Router (File-based, Modern)
- Setup: Ensure
expo-routeris installed.
``bash npx expo install expo-router react-native-safe-area-context react-native-screens expo-linking expo-constants ``
- Structure:
app/index.tsx: The home screen.app/_layout.tsx: Defines the layout (Stack/Tabs).app/details/[id].tsx: Dynamic route.
- Implementation:
- Use
<Stack />or<Tabs />in_layout.tsx. - Navigate using
<Link href="/details/1">orrouter.push('/details/1').
Option B: React Navigation (Component-based, Traditional)
- Install:
``bash npm install @react_navigation/native @react_navigation/native-stack npx expo install react-native-screens react-native-safe-area-context ``
- Implementation:
```tsx import { NavigationContainer } from '@react_navigation/native'; import { createNativeStackNavigator } from '@react_navigation/native-stack';
const Stack = createNativeStackNavigator();
export default function App() { return ( <NavigationContainer> <Stack.Navigator> <Stack.Screen name="Home" component={HomeScreen} /> <Stack.Screen name="Details" component={DetailsScreen} /> </Stack.Navigator> </NavigationContainer> ); } ```
Constraints
- Type Safety: Always type routes for
useNavigationanduseRoutehooks to avoid runtime errors. - Nesting: Avoid deep nesting of navigators to prevent performance issues and state complexity.
Expected Output
A navigation structure allowing smooth transitions between screens, preserving history and state.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/react-native-navigation/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Nov 2026, 18 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jyjeanne/ai-setup-forge/react-native-navigation)