
react-native-skills
React Native and Expo performance rules, grouped by impact, that Claude applies when building mobile components.
- version
- 3.12.0
- GitHub stars
- 250
What it does
- Adds one
react-native-skillsskill with 35 rules across 14 categories, ordered from critical list performance down to low-priority font setup - Covers list virtualization with FlashList, GPU-accelerated Reanimated animations, native navigators, expo-image, and Pressable-based UI patterns
- Guides state handling with minimized subscriptions, dispatcher callbacks, and React Compiler-safe shared values and function destructuring
- Designed for developers building React Native or Expo apps who need performance fixes for scrolling, animation, or native module work
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules.
Add marketplace
/plugin marketplace add secondsky/claude-skillsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install react-native-skills@claude-skillsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceReact Native Skills
Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering performance, animations, UI patterns, and platform-specific optimizations.
When to Apply
Reference these guidelines when:
- Building React Native or Expo apps
- Optimizing list and scroll performance
- Implementing animations with Reanimated
- Working with images and media
- Configuring native modules or fonts
- Structuring monorepo projects with native dependencies
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | List Performance | CRITICAL | list-performance- |
| 2 | Animation | HIGH | animation- |
| 3 | Navigation | HIGH | navigation- |
| 4 | UI Patterns | HIGH | ui- |
| 5 | State Management | MEDIUM | react-state- |
| 6 | Rendering | MEDIUM | rendering- |
| 7 | Monorepo | MEDIUM | monorepo- |
| 8 | Configuration | LOW | fonts-, imports- |
Quick Reference
1. List Performance (CRITICAL)
list-performance-virtualize- Use FlashList for large listslist-performance-item-memo- Memoize list item componentslist-performance-callbacks- Stabilize callback referenceslist-performance-inline-objects- Avoid inline style objectslist-performance-function-references- Extract functions outside renderlist-performance-images- Optimize images in listslist-performance-item-expensive- Move expensive work outside itemslist-performance-item-types- Use item types for heterogeneous lists
2. Animation (HIGH)
animation-gpu-properties- Animate only transform and opacityanimation-derived-value- Use useDerivedValue for computed animationsanimation-gesture-detector-press- Use Gesture.Tap instead of Pressable
3. Navigation (HIGH)
navigation-native-navigators- Use native stack and native tabs over JS navigators
4. UI Patterns (HIGH)
ui-expo-image- Use expo-image for all imagesui-image-gallery- Use Galeria for image lightboxesui-pressable- Use Pressable over TouchableOpacityui-safe-area-scroll- Handle safe areas in ScrollViewsui-scrollview-content-inset- Use contentInset for headersui-menus- Use native context menusui-native-modals- Use native modals when possibleui-measure-views- Use onLayout, not measure()ui-styling- Use StyleSheet.create or Nativewind
5. State Management (MEDIUM)
react-state-minimize- Minimize state subscriptionsreact-state-dispatcher- Use dispatcher pattern for callbacksreact-state-fallback- Show fallback on first renderreact-compiler-destructure-functions- Destructure for React Compilerreact-compiler-reanimated-shared-values- Handle shared values with compiler
6. Rendering (MEDIUM)
rendering-text-in-text-component- Wrap text in Text componentsrendering-no-falsy-and- Avoid falsy && for conditional rendering
7. Monorepo (MEDIUM)
monorepo-native-deps-in-app- Keep native dependencies in app packagemonorepo-single-dependency-versions- Use single versions across packages
8. Configuration (LOW)
fonts-config-plugin- Use config plugins for custom fontsimports-design-system-folder- Organize design system importsjs-hoist-intl- Hoist Intl object creation
How to Use
Read individual rule files for detailed explanations and code examples:
rules/list-performance-virtualize.md
rules/animation-gpu-properties.md
Each rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code example with explanation
- Additional context and references
Full Compiled Document
For the complete guide with all rules expanded: AGENTS.md
Readme
React Native Skills Plugin
Version: 1.0.0 Status: Production Ready Source: Based on Vercel Engineering's agent-skills repository License: MIT
Overview
Production-tested React Native and Expo best practices for building performant mobile applications. This plugin provides comprehensive guidelines for optimizing list performance, implementing animations, structuring state management, and working with native platform APIs.
What's Inside
35+ Performance Rules across 14 categories:
| Category | Rules | Impact | Focus Area |
|---|---|---|---|
| List Performance | 8 rules | CRITICAL | FlashList, virtualization, memoization |
| Animation | 3 rules | HIGH | Reanimated, GPU properties, gestures |
| Navigation | 1 rule | HIGH | Native navigators vs JS navigators |
| UI Patterns | 9 rules | HIGH | expo-image, Pressable, safe areas, styling |
| State Management | 3 rules | MEDIUM | Minimize state, dispatcher pattern, fallbacks |
| React Compiler | 2 rules | MEDIUM | Shared values, function destructuring |
| Rendering | 2 rules | MEDIUM | Text components, conditional rendering |
| State Architecture | 1 rule | MEDIUM | Ground truth patterns |
| Design System | 1 rule | MEDIUM | Compound components |
| Monorepo | 2 rules | LOW | Native deps, dependency versions |
| Third-Party Deps | 1 rule | LOW | Design system imports |
| JavaScript | 1 rule | LOW | Intl optimization |
| Fonts | 1 rule | LOW | Config plugins |
Total: 35 rules organized by impact priority (CRITICAL → LOW)
When to Use This Skill
Claude automatically loads this skill when you're:
- Building React Native or Expo applications
- Optimizing list or scroll performance
- Implementing animations with Reanimated
- Working with images and media components
- Configuring native modules or custom fonts
- Structuring monorepo projects with native dependencies
- Debugging performance issues in mobile apps
- Reviewing React Native code for best practices
Installation
Via Claude Code Marketplace
/plugin install react-native-skills@claude-skills
Marketplace Installation
# Add the marketplace once (if not already added)
/plugin marketplace add https://github.com/secondsky/claude-skills
# Install this plugin
/plugin install react-native-skills@claude-skills
Usage Examples
Optimizing List Performance
User: "How do I optimize this FlatList with 10,000 items?"
Claude automatically applies list-performance-virtualize rule and suggests switching to FlashList with proper memoization strategies.
Implementing Smooth Animations
User: "Add a scale animation when user taps this button"
Claude applies animation-gpu-properties and animation-gesture-detector-press rules to use Reanimated with GPU-accelerated transforms.
State Management Review
User: "Review this component's state management"
Claude applies react-state-minimize and react-state-dispatcher rules to identify unnecessary re-renders and optimize state updates.
Structure
react-native-skills/
├── SKILL.md # Quick reference (~136 lines)
├── AGENTS.md # Full compiled guide (~2000 lines)
├── README.md # Internal documentation
├── metadata.json # Version, organization, abstract
└── rules/ # 38 individual rule files
├── _sections.md # Section metadata
├── _template.md # Template for new rules
└── *.md # Individual rules organized by prefix
Progressive Disclosure
- SKILL.md: Quick reference with rule summaries
- AGENTS.md: Full guide with detailed examples
- rules/: Individual files for targeted learning
Rule Categories
Critical Priority
List Performance (8 rules):
- Virtualization with FlashList
- Item memoization strategies
- Callback stabilization
- Inline object avoidance
- Image optimization in lists
- Expensive computation handling
- Heterogeneous list types
High Priority
Animation (3 rules):
- GPU-accelerated properties (transform, opacity)
- useDerivedValue patterns
- GestureDetector for press animations
Navigation (1 rule):
- Native stack and tabs over JS navigators
UI Patterns (9 rules):
- expo-image for all images
- Galeria for lightboxes
- Pressable over TouchableOpacity
- Safe area handling
- Native modals and menus
- View measurement patterns
- Modern styling (gap, boxShadow, gradients)
Medium Priority
State Management (3 rules):
- Minimize state subscriptions
- Dispatcher pattern for callbacks
- Fallback rendering strategies
React Compiler (2 rules):
- Function destructuring
- Shared value handling
Rendering (2 rules):
- Text component wrapping
- Conditional rendering patterns
Low Priority
Monorepo (2 rules):
- Native dependency location
- Dependency version management
Configuration (3 rules):
- Custom fonts via config plugins
- Design system imports
- Intl optimization
Key Technologies
- React Native - Core mobile framework
- Expo - Development platform
- FlashList - High-performance lists
- Reanimated - GPU-accelerated animations
- React Navigation - Native navigators
- expo-image - Optimized image component
- Galeria - Image lightbox
- Zeego - Native menus
Attribution
This skill is based on the excellent work by Vercel Engineering in their agent-skills repository. Content has been adapted for the Claude Code skills format while preserving the high-quality guidelines and examples.
Original Author: Vercel Engineering Adapted By: Claude Skills Maintainers License: MIT (matching original)
Related Skills
- react-best-practices - Web-focused React patterns
- tailwind-v4-shadcn - UI component styling
- tanstack-query - Data fetching patterns
- zustand-state-management - State management library
References
- React Documentation
- React Native Documentation
- Reanimated Docs
- Gesture Handler Docs
- Expo Documentation
- Legend List
- Galeria
- Zeego
Version History
1.0.0 (January 2026)
- Initial release
- 35+ rules across 14 categories
- Progressive disclosure structure
- Based on Vercel agent-skills v1.0.0
Support
Issues: https://github.com/secondsky/claude-skills/issues Discussions: https://github.com/secondsky/claude-skills/discussions Email: maintainers@example.com
Contributing
Contributions welcome! Please:
- Follow the rule template in
rules/_template.md - Use appropriate prefix for rule category
- Include incorrect/correct examples
- Add impact level and description
- Submit PR with clear description
See CONTRIBUTING.md for full guidelines.
Details
- Marketplace
- secondsky/claude-skills
- Source
- plugins/react-native-skills
- Category
- Frontend
- Keywords
- react-native-skills, react, native, skills, frontend, components
- Listed since
- Apr 7, 2026
More from secondsky/claude-skills
All 122- recommendation-enginev3.12.0
- recommendation-systemv3.12.0
- responsive-web-designv3.12.0
- rest-api-designv3.12.0
- root-cause-tracingv3.12.0
- security-headers-configurationv3.12.0
- seo-keyword-cluster-builderv3.12.0
- seo-optimizerv3.12.0
- sequential-thinkingv3.12.0
- session-managementv3.12.0
- shadcn-vuev3.12.0
- systematic-debuggingv3.12.0
- tailwind-v4-shadcnv3.12.0
- tanstack-aiv3.12.0
- tanstack-queryv3.12.0
- tanstack-routerv3.12.0
- tanstack-startv3.12.0
- tanstack-tablev3.12.0
- tech-debtv3.12.0
- technical-specificationv3.12.0
- test-quality-analysisv3.12.0
- thesys-generative-uiv3.12.0
- threejsv3.12.0
- turborepov3.12.0
Similar to react-native-skills
More Mobile Apps
react-skillsPluginfcakyon/claude-codex-settings1.2K starsReact, Next.js, and React Native best practices with web design guidelines.
react-native-skillsSkillsecondsky/claude-skills494 installsPerformance-focused React Native and Expo rules across lists, animations, UI, and native modules.
react-best-practicesPluginsecondsky/claude-skills250 starsReact and Next.js performance optimization guidelines from Vercel Engineering. Use when writing/reviewing/refactoring React code for optimal performance. Covers
building-react-native-appsPlugincallstackincubator/agent-skills1.7K starsReact Native skills for performance, navigation, TV, library development, and upgrades.
expoPluginanthropics/claude-plugins-official47.9K starsOfficial Expo skills for building, deploying, upgrading, and debugging React Native apps with Expo. Covers UI development with Expo Router, SwiftUI and Jetpack