react-native · travisjneuman — скилл для Claude Code: разработка мобильных приложений
Скилл для Claude Code помогает разрабатывать приложения на React Native и Expo для iOS и Android. Подключается к задачам с JavaScript или TypeScript, нативными функциями и производительностью.
MIT 157 установок ★ 114 обновлён 2026-11-10
npx skills add travisjneuman/.claude --skill react-native -a claude-codeЧто делает react-native
Скилл помогает создавать мобильные приложения на React Native и Expo: от выбора способа сборки проекта до работы с компонентами интерфейса. Включается при разработке экранов, навигации, управлении состоянием и нативных функций вроде камеры, уведомлений и геолокации.
Материалы разделены по темам: стили, тестирование, публикация в магазинах приложений, производительность и другие задачи описаны в отдельных файлах. Для большинства приложений предлагается Expo; React Native CLI упоминается для проектов с собственными нативными модулями и brownfield-разработкой. Функции React 19 доступны при использовании New Architecture.
Какие задачи решает
- создать каркас приложения для iOS и Android
- собрать экран на компонентах React Native
- добавить навигацию и управление состоянием
- подключить камеру, уведомления или геолокацию
- оптимизировать списки и изображения
Примеры запросов агенту
- Создай приложение для iOS и Android на Expo с экраном входа.
- Добавь навигацию по вкладкам и управление состоянием.
- Оптимизируй список и изображения в мобильном приложении.
Как установить react-native
1Через Skills CLI (Vercel)
npx skills add travisjneuman/.claude --skill react-native -a claude-code2Вручную: положить файлы
~/.claude/skills/react-native/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/react-native/
1Через Skills CLI (Vercel)
npx skills add travisjneuman/.claude --skill react-native -a codex2Вручную: положить файлы
.agents/skills/react-native/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add travisjneuman/.claude --skill react-native -a cursor2Вручную: положить файлы
.cursor/skills/react-native/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install travisjneuman/.claude skills/react-native2Вручную: положить файлы
.github/skills/react-native/SKILL.md1Через Skills CLI (Vercel)
npx skills add travisjneuman/.claude --skill react-native -a gemini-cli2Командой платформы
gemini skills install https://github.com/travisjneuman/.claude --path skills/react-nativeВручную: положить файлы
.devin/skills/react-native/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add travisjneuman/.claude --skill react-native -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о react-native
Как установить react-native в Claude Code?
Выполни npx skills add travisjneuman/.claude --skill react-native -a claude-code. Файл скилла будет доступен по пути ~/.claude/skills/react-native/SKILL.md.
Что делает react-native?
Скилл помогает разрабатывать приложения на React Native и Expo, включая интерфейсы, навигацию, нативные функции и оптимизацию производительности.
Какой вариант React Native выбрать для проекта?
В материалах Expo рекомендован для большинства приложений. React Native CLI описан для проектов с собственными нативными модулями и brownfield-разработкой.
Исходный текст
SKILL.md · MIT
---
name: react-native
description: Cross-platform mobile development with React Native and Expo. Use when building iOS/Android apps with JavaScript/TypeScript, implementing native features, or optimizing mobile performance.
---
# React Native Development
Build native iOS and Android apps with React Native and Expo.
## Framework Options
| Framework | Use When |
| ------------------------ | ----------------------------------------------- |
| **Expo** (Recommended) | Most apps, faster development, managed workflow |
| **React Native CLI** | Need custom native modules, brownfield apps |
| **Expo with Dev Client** | Best of both - Expo DX with native modules |
---
## Project Setup
### Expo (Recommended)
```bash
npx create-expo-app@latest my-app
cd my-app
npx expo start
```
### React Native CLI
```bash
npx @react-native-community/cli init MyApp
cd MyApp
npx react-native run-ios # or run-android
```
---
## Core Components
### Basic Structure
```tsx
import { View, Text, StyleSheet, ScrollView, SafeAreaView } from "react-native";
export default function App() {
return (
<SafeAreaView style={styles.container}>
<ScrollView contentContainerStyle={styles.content}>
<Text style={styles.title}>Hello World</Text>
</ScrollView>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
},
content: {
padding: 16,
},
title: {
fontSize: 24,
fontWeight: "bold",
},
});
```
### Common Components
```tsx
import {
View,
Text,
Image,
TextInput,
TouchableOpacity,
Pressable,
FlatList,
ActivityIndicator,
Modal,
Switch,
} from 'react-native';
// Touchable with feedback
<Pressable
onPress={handlePress}
style={({ pressed }) => [
styles.button,
pressed && styles.buttonPressed,
]}
>
<Text>Press Me</Text>
</Pressable>
// Text Input
<TextInput
value={text}
onChangeText={setText}
placeholder="Enter text"
style={styles.input}
autoCapitalize="none"
keyboardType="email-address"
returnKeyType="done"
onSubmitEditing={handleSubmit}
/>
// Image
<Image
source={{ uri: 'https://example.com/image.jpg' }}
style={{ width: 100, height: 100 }}
resizeMode="cover"
/>
```
---
## Reference files
Detailed material is in separate files so this overview stays short. Read only the file whose topic matches the task; each one is self-contained. Paths are relative to the folder that holds this `SKILL.md` (in the full toolkit install, `~/.claude/skills/react-native/`).
| Topic | File | Covers |
| --- | --- | --- |
| Navigation | [`references/navigation.md`](references/navigation.md) | React Navigation Setup; Stack Navigation; Tab Navigation |
| State Management | [`references/state-management.md`](references/state-management.md) | Zustand (Recommended); React Query |
| Styling | [`references/styling.md`](references/styling.md) | StyleSheet; NativeWind (Tailwind for RN) |
| Native Features | [`references/native-features.md`](references/native-features.md) | Camera (Expo); Push Notifications (Expo); Location |
| Performance | [`references/performance.md`](references/performance.md) | FlatList Optimization; Image Optimization |
| Testing | [`references/testing.md`](references/testing.md) | Jest + React Native Testing Library |
| App Store Deployment | [`references/app-store-deployment.md`](references/app-store-deployment.md) | Expo EAS Build; app.json Configuration |
| Best Practices | [`references/best-practices.md`](references/best-practices.md) | DO:; DON'T: |
| New Architecture (React Native 0.76+) | [`references/new-architecture-react-native-0-76.md`](references/new-architecture-react-native-0-76.md) | Core Components; Enabling New Architecture; TurboModules (Type-Safe Native Modules); Fabric Components (New Renderer) |
| Expo Router (File-Based Routing) | [`references/expo-router-file-based-routing.md`](references/expo-router-file-based-routing.md) | File Structure; Layout and Navigation |
| EAS Update (OTA Updates) | [`references/eas-update-ota-updates.md`](references/eas-update-ota-updates.md) | 29 lines |
| Hermes Engine | [`references/hermes-engine.md`](references/hermes-engine.md) | 19 lines |
| Expo SDK 52+ Features | [`references/expo-sdk-52-features.md`](references/expo-sdk-52-features.md) | 12 lines |
## React 19 Compatibility
React Native supports React 19 features when using New Architecture:
- **use() hook** for reading promises and context
- **ref as prop** (no forwardRef needed)
- **React Compiler** support for auto-memoization
- **useActionState** and **useOptimistic** for form handling
---
© travisjneuman · MIT · travisjneuman/.claude
Похожие скиллы
Все скиллы по теме «Мобильная разработка» →Сначала — react-native от других авторов.