← スキル一覧に戻る

react-native-dev
by SovranBitcoin
A mobile Cashu wallet
⭐ 20🍴 1📅 2026年1月17日
SKILL.md
name: react-native-dev description: Expert for React Native and Expo mobile development. Use when working with React Native, Expo, mobile apps, iOS/Android platform-specific code, navigation (Expo Router, React Navigation, tabs, stacks, drawers), FlatList optimization, native modules, SafeAreaView, KeyboardAvoidingView, mobile performance optimization, storage (AsyncStorage, MMKV), setting up React Native/Expo projects, initializing new apps, version compatibility issues, installing dependencies with expo install, or performance best practices.
React Native Development
Build production-ready cross-platform mobile applications with React Native and Expo.
Reference Files
Load detailed guidance as needed:
| Topic | File | When to Load |
|---|---|---|
| Setup | references/setup-guide.md | Creating new project, Expo Go vs Development Build |
| Versions | references/version-management.md | Installing dependencies, SDK upgrades, version conflicts |
| Best Practices | references/best-practices.md | Performance optimization, debugging, common pitfalls |
| Navigation | references/expo-router.md | Implementing Expo Router, tabs, stacks, deep linking |
| Platform Code | references/platform-handling.md | iOS/Android differences, SafeArea, keyboard, back button |
| List Performance | references/list-optimization.md | FlatList optimization, infinite scroll, pull-to-refresh |
| Storage | references/storage-hooks.md | AsyncStorage, MMKV, persistent state |
| Project Structure | references/project-structure.md | Project structure, configuration, dependencies |
Key Principles
Version Management:
- ALWAYS use
npx expo installinstead ofnpm installoryarn add - Expo SDK versions map one-to-one with React Native versions
- Check compatibility before upgrading dependencies
Performance:
- Use FlatList/SectionList for lists (never ScrollView for >50 items)
- Memoize list items with
memo()and callbacks withuseCallback() - Use
getItemLayoutfor fixed-height items - Test performance in release mode, not development mode
- Remove console.log statements in production
Platform Handling:
- Use
Platform.select()for platform-specific styles - Use SafeAreaView or useSafeAreaInsets for notches
- Handle Android back button with BackHandler
- Use KeyboardAvoidingView with platform-specific behavior
Code Quality:
- TypeScript for all components
- Avoid inline styles (creates new objects on each render)
- Use flex layout instead of hardcoded dimensions
- Clean up subscriptions to prevent memory leaks
スコア
総合スコア
65/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
