Установка
SKILL.md
Upgrade React Native
Upgrade a React Native Community CLI project to a target version by fetching and applying the diff from the React Native Upgrade Helper.
<!-- --><!-- LLM_EXCLUDE: Human-only context below --><!-- --><!-- --><!-- /LLM_EXCLUDE --><!-- -->[!Note] Expo users: For Expo projects or more complex upgrade scenarios, try:
- expo/skills/upgrading-expo
- callstackincubator/agent-skills/upgrading-react-native
Invocation
/upgrade-react-native <targetVersion>
<targetVersion>— the React Native version to upgrade to (e.g.0.79.0).
Step-by-step procedure
Follow every step below in order. Do not skip steps.
1. Detect the current React Native version
Read the project's root package.json and extract the react-native version
from dependencies (or devDependencies). Strip any semver range prefix
(^, ~, >=, etc.) to get the exact current version string.
If the current version cannot be determined, stop and ask the user.
2. Validate the target version
- The target version must be a valid semver string (e.g.
0.79.0). - It must be greater than the current version.
- Verify the target version exists by checking:<!-- -->
<!-- -->Fetch this file and confirm the target version is listed. If not, report the closest available versions and ask the user to choose.https://raw.githubusercontent.com/react-native-community/rn-diff-purge/master/RELEASES
3. Fetch the upgrade diff
Fetch the unified diff between the two versions:
https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/<currentVersion>..<targetVersion>.diff
For example, to upgrade from 0.73.0 to 0.74.0:
https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.73.0..0.74.0.diff
If the diff cannot be fetched (404), it may be because exact patch versions are
not available. Try the nearest minor versions (e.g. 0.73.0 instead of
0.73.2). Report what you tried and ask the user if needed.
4. Parse the diff and map file paths
The diff uses the template project name RnDiffApp. Map every path in the diff
to the actual project:
| Diff path prefix | Actual project path |
|---|---|
RnDiffApp/ | Project root (./) |
Additionally, replace occurrences of the template identifiers with the project's actual names:
| Template value | Replace with |
|---|---|
RnDiffApp | The project's app name (from app.json → name, or the name field in package.json) |
rndiffapp | Lowercase version of the project's app name |
com.rndiffapp | The project's Android package name (from android/app/build.gradle or android/app/src/main/AndroidManifest.xml) |
5. Review the diff and plan changes
Before making any edits, review the entire diff and categorize changes:
- Direct applies — files that exist in the project and whose original
content matches the diff's
-lines. These can be applied as-is. - Conflicts — files where the project's content has diverged from the template (custom modifications). These need manual merging.
- New files — files in the diff that don't exist in the project yet. Create them.
- Deleted files — files the diff removes. Delete them only if the project hasn't added custom content to them.
Present this plan to the user before proceeding. Group changes by area:
- Root config files (
package.json,metro.config.js,.eslintrc.js, etc.) - iOS native files (
ios/directory) - Android native files (
android/directory) - JavaScript/TypeScript source (if any template source files changed)
- Third-party native dependencies (from step 7 — include any version bumps identified there)
6. Apply changes
Apply the changes following the plan from step 5:
- For direct applies: edit the file to match the diff's
+lines. - For conflicts: apply the upgrade changes while preserving the project's customizations. Use your judgement to merge. If uncertain, show both versions and ask the user.
- For new files: create them at the mapped path.
- For deleted files: remove them.
Important considerations:
- When updating
package.json, update thereact-nativeversion and any related dependencies mentioned in the diff (e.g.react,@react-native/*packages, Gradle versions, CocoaPods versions). - Do NOT run
npm install/yarn install/pod installautomatically. Inform the user these steps are needed after the upgrade. - Refer to the references section for version-specific guidance on breaking changes and migration notes.
7. Update third-party native dependencies
Scan the project's dependencies and devDependencies in package.json for
third-party React Native libraries that contain native code (i.e. they have
an ios/ or android/ directory, or are known native modules). Common examples
include react-native-screens, react-native-reanimated,
react-native-gesture-handler, @react-native-async-storage/async-storage,
react-native-svg, react-native-safe-area-context, etc.
For each candidate dependency:
- Fetch the library's README from its GitHub repository or npm page.
- Look for a React Native version compatibility table or section — many native libraries document which versions of their package support which React Native versions (e.g. a "Compatibility" or "Version Support" table).
- If the README contains a compatibility table that maps the target React Native version to a specific library version, include that library version bump in the upgrade plan.
- If the README does not mention version compatibility with React Native versions, skip the library — do not guess or assume an upgrade is needed.
Present all proposed dependency bumps alongside the diff-based changes in step 5 (grouped under a Third-party native dependencies section). For each:
- State the current version, the proposed version, and link to the compatibility info you found.
- If multiple major versions are compatible, prefer the latest stable version that supports the target React Native version.
Apply these version bumps to package.json as part of step 6.
8. Post-upgrade checklist
After applying all changes, present the user with a checklist:
- <!-- -->Run
npm installoryarn installto update JS dependencies - <!-- -->Run
cd ios && bundle exec pod install(ornpx pod-install) to update native iOS dependencies - <!-- -->Run a clean build for Android:
cd android && ./gradlew clean - <!-- -->Run a clean build for iOS:
cd ios && xcodebuild clean - <!-- -->Run the app on both platforms to verify it launches
- <!-- -->Run the project's test suite
- <!-- -->Review any conflict resolutions for correctness
- <!-- -->Check the React Native changelog for additional breaking changes
- <!-- -->Check the Upgrade Helper web UI for any supplementary notes
References
Consult these for version-specific migration guidance:
- references/upgrade-helper-api.md — How to fetch diffs and version lists programmatically
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: upgrade-react-native](https://darkplay.ru/ai/skills/skills-upgrade-react-native)
Похожие скиллы и другие разделы каталога
Та же категория — сравните, что ещё подойдёт под вашу задачу.
edge-to-edgeandroid · Навык для миграции приложения Jetpack Compose на адаптивный режим edge-to-edge.
xcodebuildmcpgetsentry · Официальный навык для XcodeBuildMCP. Используется при работе с…
agent-devicecallstack · Автоматизирует работу с приложениями на платформах Apple (iOS, tvOS, macOS) и…
expo-dev-clientexpo · Сборка и раздача dev-клиентов Expo локально или через TestFlight
swiftui-performance-auditDimillian · Аудит и оптимизация производительности SwiftUI: рендеринг, скроллинг, CPU/память.
swiftui-expert-skillAvdLee · Практики SwiftUI для iOS/macOS: состояние, @Observable, композиция, производительность.
react-native-testingcallstack · Тесты компонентов React Native на RNTL v13–v14: рендер, запросы, матчеры, userEvent…
argent-android-emulator-setupsoftware-mansion · Настройка и подключение к эмулятору Android через MCP-инструменты argent.
flutter-apply-architecture-best-practicesflutter · Архитектура Flutter-приложения по слоям (UI, логика, данные) для новых проектов и…
serve-simevanbacon · Управление и стриминг симулятора iOS, iPad или Apple Watch через npx serve-sim: превью…Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
eccaffaan-m · Нативный для harness операторский слой ECC: 67 агентов, 278 навыков, 94 шима устаревших…
A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
React Build Resolveraffaan-m · Чинит сборки React в Vite, webpack, Next.js и других: JSX, гидратация, типы.
React Revieweraffaan-m · Ревьюер React/JSX: хуки, производительность, границы компонентов и безопасность.
Vue Revieweraffaan-m · Ревьюер Vue.js: Composition API, реактивность, архитектура компонентов, Pinia, Nuxt.
ui-ux-pro-maxnextlevelbuilder · Профессиональные знания по UI/UX-дизайну для ИИ-ассистентов программирования. Включает…
hyperframesheygen-com · Все навыки HyperFrames в одном статическом наборе. В большинстве случаев лучше…
ppt-masterhugohe3 · Генерирует нативно редактируемый PPTX из PDF / DOCX / URL / Markdown: настоящие фигуры…
agentic-bundle-expo-react-nativesickn33 · Установите набор редакционных навыков "Expo & React Native" для Claude Code.
aws-transformanthropics · Миграция, модернизация и обновление кодовых баз на AWS: .NET Framework в .NET 8/10, COBOL…Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton