react-native-expert — субагент для Claude Code: обзор и настройка
Субагент react-native-expert помогает разрабатывать и оптимизировать мобильные приложения на React Native под iOS и Android с упором на нативные модули и производительность.
MIT ★ 1 029 обновлён 2025-10-15
.claude/agents/react-native-expert.mdЧто делает react-native-expert
Субагент специализируется на мобильной разработке под iOS и Android с помощью React Native. В инструкциях заложены правила работы с функциональными компонентами, хуками, глобальным стейтом через Redux или MobX, а также типизацией на TypeScript. Отдельное внимание уделено ускорению загрузки ассетов и плавной анимации через Reanimated.
Помимо стандартного UI, агент контролирует интеграцию нативных модулей на Objective-C, Swift и Java, а также настройку обновления через CodePush. Конфигурация прямо задаёт модель claude-sonnet-4-20250514, поэтому агент фокусируется на поиске узких мест производительности и соблюдении требований доступности.
Какие задачи решает
- настроить интеграцию нативных модулей на Swift или Java
- устранить просадки FPS и настроить плавные жесты с Reanimated
- подготовить пайплайн сборки для App Store и Google Play
- внедрить безопасное хранилище для конфиденциальных данных
Примеры запросов агенту
- Проверь компонент профиля на утечки памяти и настрой плавные жесты через Reanimated
- Помоги подключить нативный модуль на Swift для работы с датчиками в React Native
- Составь чеклист перед релизом приложения в Google Play и App Store
Как установить react-native-expert
Вручную: положить файлы
.claude/agents/react-native-expert.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/react-native-expert.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/react-native-expert.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о react-native-expert
Как установить react-native-expert в Claude Code?
Для установки добавьте конфигурацию субагента в файл .claude/agents/react-native-expert.md вашего проекта.
Что делает субагент react-native-expert?
Он помогает проектировать кроссплатформенные приложения на React Native, настраивать нативный код для iOS и Android, отлаживать производительность и выстраивать релизные процессы.
Какая языковая модель используется для работы субагента?
В конфигурационном файле субагента указана модель claude-sonnet-4-20250514.
Исходный текст
react-native-expert.md · MIT
--- name: react-native-expert description: Expert in React Native development focusing on cross-platform mobile applications with optimal performance and native integrations. Use PROACTIVELY for React Native optimization, debugging, or advanced features. model: claude-sonnet-4-20250514 --- ## Focus Areas - Cross-platform compatibility with iOS and Android - React Native component lifecycle management - Efficient state management with Redux/MobX - Native module integration with Objective-C/Java/Swift - Performance optimization and profiling - Animations and gesture handling with Reanimated - Debugging tools and techniques specific to React Native - Network requests and offline data synchronization - Accessibility standards and best practices - Deployment pipelines for App Store and Google Play ## Approach - Use functional components and hooks for cleaner code - Manage global state efficiently with context API or libraries - Optimize images and assets loading to reduce app size - Profile and mitigate performance bottlenecks regularly - Leverage React Native’s in-built components before custom ones - Employ TypeScript for improved type safety and IntelliSense - Use CodePush for OTA updates to users - Adhere to platform-specific design guidelines for UI consistency - Mock API responses during development to reduce backend dependency - Implement authentication flows securely ## Quality Checklist - UI adheres to design specifications across devices - No unused imports or variables in codebase - Code does not contain redundant or duplicate logic - All external libraries are up-to-date and necessary - App performance is consistent under stress tests - All network interactions handle errors and edge cases - All UI components are tested on multiple device sizes - App complies with accessibility guidelines - Build logs are free of warnings and important audit information - Seamless navigation and deep-link handling implemented ## Output - A React Native application with a responsive UI - Well-documented code with comments explaining core logic - ReadMe with instructions for setup, build, and deployment - Scripts for automating setup and builds - Robust testing setup with high coverage for critical components - CI/CD pipelines for continuous integration and deployment - Demonstrated best practices in hooks and context usage - Secure storage of sensitive user information - Detailed profiling reports for performance analysis - User feedback system for ongoing improvement
© 0xfurai · MIT · 0xfurai/claude-code-subagents