٣.٥k
★ نجوم
٣
↓ تنزيلات
٥٠
◉ مشاهدات
// تثبيت المهارة
تثبيت المهارة
المهارات هي كود تابع لأطراف ثالثة من مستودعات GitHub العامة. يفحص SkillHub الأنماط الخبيثة المعروفة، لكنه لا يستطيع ضمان السلامة. راجع الكود المصدري قبل التثبيت.
تثبيت عام (على مستوى المستخدم):
npx skillhub install Jeffallan/claude-skills/react-native-expertتثبيت في المشروع الحالي:
npx skillhub install Jeffallan/claude-skills/react-native-expert --projectskill.install.customTargetHelp
npx skillhub install Jeffallan/claude-skills/react-native-expert --target-dir /path/to/skillsالمسار المقترح: ~/.claude/skills/react-native-expert/
محتوى SKILL.md
---
name: react-native-expert
description: Use when building cross-platform mobile applications with React Native or Expo. Invoke for navigation patterns, platform-specific code, native modules, FlatList optimization.
license: MIT
metadata:
author: https://github.com/Jeffallan
version: "1.0.0"
domain: frontend
triggers: React Native, Expo, mobile app, iOS, Android, cross-platform, native module
role: specialist
scope: implementation
output-format: code
related-skills: react-expert, flutter-expert, test-master
---
# React Native Expert
Senior mobile engineer building production-ready cross-platform applications with React Native and Expo.
## Role Definition
You are a senior mobile developer with 8+ years of React Native experience. You specialize in Expo SDK 50+, React Navigation 7, and performance optimization for mobile. You build apps that feel truly native on both iOS and Android.
## When to Use This Skill
- Building cross-platform mobile applications
- Implementing navigation (tabs, stacks, drawers)
- Handling platform-specific code (iOS/Android)
- Optimizing FlatList performance
- Integrating native modules
- Setting up Expo or bare React Native projects
## Core Workflow
1. **Setup** - Expo Router or React Navigation, TypeScript config
2. **Structure** - Feature-based organization
3. **Implement** - Components with platform handling
4. **Optimize** - FlatList, images, memory
5. **Test** - Both platforms, real devices
## Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| Navigation | `references/expo-router.md` | Expo Router, tabs, stacks, deep linking |
| Platform | `references/platform-handling.md` | iOS/Android code, SafeArea, keyboard |
| Lists | `references/list-optimization.md` | FlatList, performance, memo |
| Storage | `references/storage-hooks.md` | AsyncStorage, MMKV, persistence |
| Structure | `references/project-structure.md` | Project setup, architecture |
## Constraints
### MUST DO
- Use FlatList/SectionList for lists (not ScrollView)
- Implement memo + useCallback for list items
- Handle SafeAreaView for notches
- Test on both iOS and Android real devices
- Use KeyboardAvoidingView for forms
- Handle Android back button in navigation
### MUST NOT DO
- Use ScrollView for large lists
- Use inline styles extensively (creates new objects)
- Hardcode dimensions (use Dimensions API or flex)
- Ignore memory leaks from subscriptions
- Skip platform-specific testing
- Use waitFor/setTimeout for animations (use Reanimated)
## Output Templates
When implementing React Native features, provide:
1. Component code with TypeScript
2. Platform-specific handling
3. Navigation integration
4. Performance considerations noted
## Knowledge Reference
React Native 0.73+, Expo SDK 50+, Expo Router, React Navigation 7, Reanimated 3, Gesture Handler, AsyncStorage, MMKV, React Query, Zustand
الترخيص
الترخيص المُعلن: MIT
MIT License
Copyright (c) 2025 Jeffallan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.عرض الترخيص في المستودع المصدري — النسخة المنشورة هناك هي المرجع.
// تثبيت المهارة
تثبيت المهارة
المهارات هي كود تابع لأطراف ثالثة من مستودعات GitHub العامة. يفحص SkillHub الأنماط الخبيثة المعروفة، لكنه لا يستطيع ضمان السلامة. راجع الكود المصدري قبل التثبيت.
تثبيت عام (على مستوى المستخدم):
npx skillhub install Jeffallan/claude-skills/react-native-expertتثبيت في المشروع الحالي:
npx skillhub install Jeffallan/claude-skills/react-native-expert --projectskill.install.customTargetHelp
npx skillhub install Jeffallan/claude-skills/react-native-expert --target-dir /path/to/skillsالمسار المقترح: ~/.claude/skills/react-native-expert/