vercel-react-native-skills
यह क्या करती है
यह स्किल React Native और Expo से मोबाइल ऐप बनाने में मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जिन्हें तेज़ लिस्ट, सहज एनिमेशन और बेहतर परफ़ॉर्मेंस चाहिए।
कब इस्तेमाल करें
- ✓जब आप ऐसी स्क्रीन बना रहे हों जिसमें लंबी लिस्ट आसानी से स्क्रॉल होनी चाहिए।
- ✓जब आपको React Native या Expo ऐप में एनिमेशन चाहिए।
- ✓जब आप मोबाइल प्रोजेक्ट में इमेज, फ़ॉन्ट या native modules सेट कर रहे हों।
Skill का लिंक
https://github.com/vercel-labs/agent-skills/blob/main/skills/react-native-skills/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी React Native लिस्ट कुछ हज़ार आइटम स्क्रॉल करते समय अटकती है। इसे कैसे ठीक करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह असर के हिसाब से क्रम में नियम देती है, पहले लिस्ट परफ़ॉर्मेंस, फिर एनिमेशन, नेविगेशन, UI पैटर्न और स्टेट। आपका एजेंट इन नियमों को आपके कोड पर लागू करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
React 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
अक्सर पूछे जाने वाले सवाल
कौन-सा हिस्सा सबसे ज़रूरी है?
लिस्ट परफ़ॉर्मेंस को पहला स्थान मिला है, क्योंकि ऐप की गति पर उसका सबसे बड़ा असर होता है।
क्या यह Expo प्रोजेक्ट्स के लिए काम करती है?
हाँ। यह React Native और Expo दोनों ऐप्स को कवर करती है।
क्या यह monorepo को भी कवर करती है?
हाँ। इसमें native dependencies वाले monorepo प्रोजेक्ट के लिए मार्गदर्शन शामिल है।
जानकारी
लेखक का मूल विवरण
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. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
repo: vercel-labs/agent-skills
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #8431
- लाइसेंस
- —
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
vercel-react-view-transitions
33kआपके एजेंट को React में ब्राउज़र के View Transition API से पेज और एलिमेंट के सहज, नेटिव-जैसे एनिमेशन जोड़ना सिखाती है।
vercel-optimize
33kएक डिप्लॉय किए गए Vercel प्रोजेक्ट की लागत और गति की समस्याओं की जाँच करती है, प्रोडक्शन मेट्रिक्स से शुरू करके सत्यापित फ़ाइलों और डॉक्स पर आधारित सुधार रैंक करती है।
मिलती-जुलती skills
android-clean-architecture
280kयह आपके एजेंट को Android projects को व्यवस्थित तरीके से संभालने देता है। यह code को ऐसा ढांचा देता है कि उसकी देखभाल और नए features जोड़ना आसान हो।
compose-multiplatform-patterns
280kKMP projects में Compose Multiplatform और Jetpack Compose patterns इस्तेमाल करने में आपके एजेंट की मदद करता है। इसमें state, navigation, theming और performance शामिल हैं।
dart-flutter-patterns
280kयह आपके एजेंट को Dart और Flutter apps के लिए code लिखने देता है। यह आधुनिक patterns इस्तेमाल करके मज़बूत और आसानी से संभलने वाले apps बनाता है।