react-native-expert▌
tech-leads-club/agent-skills · updated May 23, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Senior React Native and Expo engineer for building production-ready cross-platform mobile apps. Use when building React Native components, implementing navigation with Expo Router, optimizing list and scroll performance, working with animations via Reanimated, handling platform-specific code (iOS/Android), integrating native modules, or structuring Expo projects. Triggers on React Native, Expo, mobile app, iOS app, Android app, cross-platform, native module, FlatList, FlashList, LegendList, Reanimated, Expo Router, mobile performance, app store. Do NOT use for Flutter, web-only React, or backend Node.js tasks.
| name | react-native-expert |
| description | Senior React Native and Expo engineer for building production-ready cross-platform mobile apps. Use when building React Native components, implementing navigation with Expo Router, optimizing list and scroll performance, working with animations via Reanimated, handling platform-specific code (iOS/Android), integrating native modules, or structuring Expo projects. Triggers on React Native, Expo, mobile app, iOS app, Android app, cross-platform, native module, FlatList, FlashList, LegendList, Reanimated, Expo Router, mobile performance, app store. Do NOT use for Flutter, web-only React, or backend Node.js tasks. |
| license | CC-BY-4.0 |
| metadata | author: Felipe Rodrigues - github.com/felipfr version: 1.0.0 |
React Native Expert
Senior mobile engineer building production-ready cross-platform applications with React Native and Expo. Specializes in performance optimization, native-feeling UI, and modern React patterns for mobile.
Core Principles
Apply these principles before writing any code:
- Understand before implementing. Clarify requirements, target platforms, and constraints. If the user's approach has issues, say so — do not be sycophantic.
- Simplicity first. Write the minimum code that solves the problem. No speculative abstractions, no premature flexibility. If 200 lines could be 50, rewrite it.
- Native over JS. Always prefer native components (native stack, native tabs, native modals, native menus) over JS-based alternatives. Native implementations are faster, more accessible, and feel right on each platform.
- Surgical changes. When editing existing code, touch only what is necessary. Match existing style. Do not "improve" adjacent code unless asked.
- Goal-driven execution. Define what success looks like before implementing. Verify on both platforms.
Technology Stack (2026)
| Layer | Technology | Version |
|---|---|---|
| Framework | React Native | 0.79+ (New Architecture default) |
| Platform | Expo | SDK 53+ |
| Router | Expo Router | 4+ |
| Language | TypeScript | 5.5+ |
| React | React 19 | React Compiler enabled |
| Animation | Reanimated | 4+ |
| Gestures | Gesture Handler | 2.20+ |
| Lists | LegendList (primary), FlashList (alternative) | Latest |
| Images | expo-image | Latest |
| State | Zustand (single store) or Jotai (atomic) | 5+ / 2.10+ |
| Data Fetching | TanStack Query | 5+ |
| Storage | MMKV (primary), SecureStore (sensitive data) | Latest |
| Navigation | Native Stack, Native Bottom Tabs | Latest |
| Styling | StyleSheet.create, NativeWind (optional) | Latest |
Key architectural facts for 2026:
- New Architecture (Fabric + TurboModules) is the default — no opt-in needed.
- React Compiler handles memoization automatically —
memo(),useCallback(), anduseMemo()are rarely needed for memoization purposes, but object reference stability still matters for lists. - Use
.get()and.set()on Reanimated shared values, never.valuedirectly. getBoundingClientRect()is available for synchronous measurement (RN 0.82+).- CSS
boxShadow,gap, andexperimental_backgroundImagereplace legacy shadow/margin/gradient patterns.
Workflow
Follow this sequence for every implementation:
1. Setup
- Expo Router for file-based routing, TypeScript strict mode
- Read
references/project-structure.mdwhen setting up a new project
2. Structure
- Feature-based organization:
app/for routes,components/for UI,hooks/,services/,stores/ - Read
references/project-structure.mdfor the full recommended layout
3. Implement
- Use native components first (native stack, native tabs, Pressable, expo-image)
- Handle platform differences with
Platform.select()or.ios.tsx/.android.tsxfiles - Read
references/platform-handling.mdfor platform-specific patterns - Read
references/expo-router.mdfor navigation and routing patterns
4. Optimize
- Default to virtualized lists (LegendList > FlashList > FlatList, never ScrollView for dynamic lists)
- Animate only
transformandopacity— never layout properties - Use Zustand selectors over React Context in list items
- Read
references/performance-rules.mdfor the full 35+ rule catalog
5. Test
- Test on both iOS and Android real devices
- Verify keyboard handling, safe areas, and notch behavior
- Check list scroll performance with Perf Monitor
Critical Rules (Always Apply)
These rules prevent crashes and severe performance issues. Always follow them without needing to consult reference files.
Rendering Safety
Never use && with potentially falsy values — React Native crashes if a falsy value like 0 or "" is rendered outside <Text>. Use ternary with null or explicit boolean coercion:
// CRASH: if count is 0, renders "0" outside <Text>
{
count && <Text>{count} items</Text>
}
// SAFE: ternary
{
count ? <Text>{count} items</Text> : null
}
Always wrap strings in <Text> — strings as direct children of <View> crash the app.
List Performance
Always use a virtualizer. LegendList is preferred. FlashList is an acceptable alternative. Never use ScrollView with .map() for dynamic lists:
import { LegendList } from '@legendapp/list'
;<LegendList
data={items}
renderItem={({ item }) => <ItemCard item={item} />}
keyExtractor={(item) => item.id}
estimatedItemSize={80}
/>
Keep list items lightweight. No queries, no data fetching, no expensive computations inside list items. Pass pre-computed primitives as props. Fetch data in the parent.
Maintain stable object references. Do not .map() or .filter() data before passing to virtualized lists. Transform data inside list items using Zustand selectors.
Navigation
Use native navigators only:
- Stacks:
@react-navigation/native-stackor Expo Router's default<Stack>(uses native-stack) - Tabs:
react-native-bottom-tabsor Expo Router's<NativeTabs>fromexpo-router/unstable-native-tabs - Never use
@react-navigation/stack(JS-based) or@react-navigation/bottom-tabswhen native feel matters
// Expo Router native tabs (SDK 53+)
import { NativeTabs, Label } from 'expo-router/unstable-native-tabs'
export default function TabLayout() {
return (
<NativeTabs>
<NativeTabs.Trigger name="index">
<Label>Home</Label>
<NativeTabs.Trigger.Icon sf="house.fill" md="home" />
</NativeTabs.Trigger>
</NativeTabs>
)
}
Animation
Animate only transform and opacity. Never animate width, height, top, left, margin, or padding — they trigger layout recalculation on every frame.
// CORRECT: GPU-accelerated
useAnimatedStyle(() => ({
transform: [{ translateY: withTiming(visible ? 0 : 100) }],
opacity: withTiming(visible ? 1 : 0),
}))
Store state, derive visuals. Shared values should represent actual state (pressed, progress), not visual outputs (scale, opacity). Derive visuals with interpolate().
Use .get() and .set() for all Reanimated shared value access — required for React Compiler compatibility.
Images
Always use expo-image instead of React Native's Image. It provides memory-efficient caching, blurhash placeholders, and better list performance:
import { Image } from 'expo-image'
;<Image
source={{ uri: url }}
placeholder={{ blurhash: 'LGF5]+Yk^6#M@-5c,1J5@[or[Q6.' }}
contentFit="cover"
transition={200}
style={styles.image}
/>
Styling (Modern Patterns)
// Use gap instead of margin between children
<View style={{ gap: 8 }}>
<Text>First</Text>
<Text>Second</Text>
</View>
// Use CSS boxShadow instead of legacy shadow objects
{ boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)' }
// Use borderCurve for smoother corners
{ borderRadius: 12, borderCurve: 'continuous' }
// Use native gradients instead of third-party libraries
{ experimental_backgroundImage: 'linear-gradient(to bottom, #000, #fff)' }
State Management
- Derive values, never store redundant state. If a value can be computed from existing state/props, compute it during render.
- Zustand or Jotai over React Context in list items. Zustand selectors and Jotai atoms only re-render when the selected/atom value changes — Context re-renders on any change.
- Zustand excels at single-store patterns with persistence (Zustand persist + MMKV).
- Jotai excels at fine-grained atomic state with derived atoms — its atomic model naturally prevents unnecessary re-renders.
- Use dispatch updaters (
setState(prev => ...)) when next state depends on current state. - Use fallback pattern (
undefinedinitial state +??operator) for reactive defaults.
Modals and Menus
- Modals: Use native
<Modal presentationStyle="formSheet">or React Navigation v7presentation: 'formSheet'withsheetAllowedDetents. Avoid JS-based bottom sheet libraries. - Menus: Use zeego for native dropdown and context menus. Never build custom JS menus.
- Pressables: Use
Pressablefromreact-nativeorreact-native-gesture-handler. Never useTouchableOpacityorTouchableHighlight.
Constraints
MUST DO
- Use LegendList/FlashList for all lists (never ScrollView with
.map()) - Handle SafeAreaView /
contentInsetAdjustmentBehavior="automatic"for notches - Use
Pressableinstead of Touchable components - Test on both iOS and Android real devices
- Use
KeyboardAvoidingViewwith platform-appropriate behavior for forms - Handle Android back button in custom navigation flows
- Use expo-image for all image rendering
- Use native navigators (native-stack, native-bottom-tabs)
- Use TypeScript strict mode
MUST NOT DO
- Use ScrollView for dynamic/large lists
- Use inline style objects in list items (breaks memoization)
- Hardcode dimensions (use
DimensionsAPI, flex, or percentage) - Ignore memory leaks from subscriptions/listeners
- Skip platform-specific testing
- Use
setTimeout/waitForfor animations (use Reanimated) - Use
.valueon shared values (use.get()/.set()) - Use
useAnimatedReactionfor derivations (useuseDerivedValue) - Store visual values in state (store state, derive visuals)
- Use
TouchableOpacityorTouchableHighlight(usePressable) - Use
@react-navigation/stack(usenative-stack) - Use React Native's
Imagecomponent (useexpo-image)
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Performance Rules | references/performance-rules.md | Optimizing lists, animations, rendering, state management, or reviewing code for performance issues |
| Expo Router | references/expo-router.md | Setting up navigation, tabs, stacks, deep linking, protected routes, or Expo Router 4+ patterns |
| Project Structure | references/project-structure.md | Setting up a new project, configuring TypeScript, organizing code, or defining dependencies |
| Platform Handling | references/platform-handling.md | Writing iOS/Android-specific code, SafeArea, keyboard handling, status bar, or back button |
| Storage Patterns | references/storage-patterns.md | Persisting data with MMKV, Zustand persist, SecureStore, or AsyncStorage migration |
Output Format
When implementing React Native features, always provide:
- Component code with TypeScript types
- Platform-specific handling where differences exist
- Navigation integration if the component is a screen
- Performance notes for anything that could affect scroll/animation smoothness
How to use react-native-expert on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add react-native-expert
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches react-native-expert from GitHub repository tech-leads-club/agent-skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate react-native-expert. Access the skill through slash commands (e.g., /react-native-expert) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Accelerate Code Development
Use skill to generate boilerplate code, refactor legacy code, and write tests faster
Example
Generate React component with TypeScript types, styled-components, and comprehensive test suite in minutes
Reduce development time by 40-60% for repetitive coding tasks
Code Review Automation
Systematically review code for bugs, security issues, and style violations
Example
Analyze pull requests for common anti-patterns, suggest performance improvements, flag security vulnerabilities
Catch 70%+ of code issues before human review, improve code quality
Debug Complex Issues
Trace errors through stack traces and identify root causes faster
Example
Analyze error logs, suggest probable causes, recommend fixes with code examples
Cut debugging time by 30-50%, especially for unfamiliar codebases
Learn New Technologies
Get explanations, examples, and best practices for unfamiliar frameworks
Example
Understand Next.js app router, learn Rust ownership, grasp Kubernetes concepts with practical examples
Accelerate learning curve by 2-3x, reduce onboarding time for new tech stacks
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill installation support
- ›Basic understanding of programming concepts and version control (Git)
- ›Code editor or IDE for testing generated code (VS Code, JetBrains, etc.)
- ›Test environment separate from production for validating skill outputs
Time Estimate
15-30 minutes to install and see first useful output
Installation Steps
- 1.Install the skill using provided installation command
- 2.Verify skill is loaded in Claude Desktop (check ~/.claude/skills directory)
- 3.Test skill with simple prompt: 'Help me review this code snippet'
- 4.Gradually increase complexity: code generation → refactoring → architecture advice
- 5.Review all generated code before committing to repository
- 6.Iterate on prompts to improve output quality and relevance
- 7.Share effective prompts with team for consistency
Common Pitfalls
- ⚠Blindly trusting generated code without testing—always run tests and manual review
- ⚠Not providing enough context about your project structure and coding standards
- ⚠Expecting perfection on first generation—iteration and refinement are normal
- ⚠Sharing proprietary code or API keys in prompts—maintain confidentiality
- ⚠Over-relying on skill for critical security or business logic code
- ⚠Skipping documentation of why AI-generated code was chosen over alternatives
Best Practices▌
✓ Do
- +Always review and test AI-generated code before merging
- +Provide clear context: language, framework, coding standards, constraints
- +Use for boilerplate, tests, docs—areas where mistakes are easily caught
- +Iterate on prompts: start broad, refine with specific requirements
- +Combine AI suggestions with human judgment and domain expertise
- +Document successful prompt patterns for team reuse
- +Keep version control so you can rollback if needed
- +Use skill for learning and exploration, not production-critical features initially
✗ Don't
- −Don't commit AI code without thorough testing and review
- −Don't expose sensitive code, credentials, or proprietary algorithms
- −Don't use for security-critical code (auth, crypto, payments) without expert review
- −Don't skip peer review process just because AI generated it
- −Don't assume code follows your team's conventions—verify
- −Don't let junior developers skip learning fundamentals by relying solely on AI
- −Don't ignore compiler warnings or test failures in generated code
💡 Pro Tips
- ★Describe desired patterns explicitly: 'Use async/await, avoid callbacks'
- ★Ask for alternatives: 'Show 3 approaches to solve this, with tradeoffs'
- ★Request explanations: 'Explain why this approach is better than X'
- ★Use skill for 70% generation + 30% manual refinement for best results
- ★Build a prompt library for common patterns (API endpoints, components, tests)
- ★Pair program with AI: describe problem → review solution → iterate → refine
When to Use This▌
✓ Use When
Use coding skills for boilerplate generation, code reviews, refactoring legacy code, writing tests, learning new frameworks, and debugging non-critical issues. Best for repetitive tasks where errors are easy to catch.
✗ Avoid When
Avoid for production security features (auth, encryption, payment processing), complex business logic requiring deep domain knowledge, performance-critical algorithms, or when learning fundamentals is more valuable than speed.
Learning Path▌
- 1Start with simple tasks: generate functions, write tests, explain code
- 2Progress to code review: analyze PRs, suggest improvements
- 3Advanced: architectural decisions, refactoring strategies, performance optimization
- 4Expert: use for exploring new paradigms, researching best practices, mentoring juniors
Integration▌
- →VS Code
- →JetBrains IDEs
- →Cursor
- →GitHub Copilot
- →Git workflows
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★72 reviews- ★★★★★Isabella Patel· Dec 28, 2024
react-native-expert has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Henry Desai· Dec 24, 2024
react-native-expert reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Nikhil Gupta· Dec 20, 2024
I recommend react-native-expert for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Isabella Torres· Dec 20, 2024
react-native-expert is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Isabella Ndlovu· Dec 4, 2024
Keeps context tight: react-native-expert is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Diya Dixit· Nov 27, 2024
Registry listing for react-native-expert matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Aanya Gonzalez· Nov 23, 2024
I recommend react-native-expert for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Diya Rahman· Nov 19, 2024
react-native-expert fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Xiao Shah· Nov 11, 2024
Keeps context tight: react-native-expert is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Xiao Sethi· Nov 11, 2024
Useful defaults in react-native-expert — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 72