react-native-best-practices
React Native & Expo engineering standards.
от Dokhacgiakhoa★ 513 звёзд на GitHub
Установить react-native-best-practices в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
React Native & Expo Best Practices
Goal: Build "Write Once, Run Everywhere" mobile apps that feel 100% native.
1. Architecture: Expo Router
- File-based Routing: Use
app/directory similar to Next.js. - Linking: Define schemes in
app.jsonfor deep linking. - Layouts: Use
_layout.tsxfor shared navigation wrappers (Stack, Tabs).
2. UI & Styling
- NativeWind: Use
nativewind(Tailwind for RN) for styling. It's faster and more familiar. - FlashList: Replace
FlatListwith Shopify'sFlashListfor 5x performance on long lists. - Safe Area: Always wrap screen content in
SafeAreaView(or use spacing tokens that account for insets).
3. Performance Optimization
- Image Caching: Use
expo-imageinstead of React Native's<Image />.- Features: Blurhash, caching, preloading.
- Reanimated: Use
react-native-reanimatedfor 60fps animations (runs on UI thread), avoiding the JS bridge. - Hermes: Ensure Hermes engine is enabled in
app.jsonfor faster startup and smaller bundle size.
4. Data Management
- TanStack Query (React Query): Standard for async server state. Handle
offlinestatus gracefully. - MMKV: Use
react-native-mmkvfor synchronous local storage (replacing Async Storage). It is ~30x faster.
5. Debugging & Dev Experience
- EAS Build: Use Expo Application Services (EAS) for cloud builds.
- Expo Go: Use for rapid prototyping, but switch to "Development Build" (Prebuild) if adding native modules.
Checklist:
- Is Hermes enabled?
- Are images using
expo-image? - Is navigation handled by Expo Router?
- Are heavy computations moved off the JS thread?
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл react-native-best-practices?
React Native & Expo engineering standards.
Как установить скилл react-native-best-practices?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл react-native-best-practices запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…