Agent skill · software engineering · react-native-community
upgrade-react-native
Use when upgrading react-native to a newer version. Handles version bumps, native project changes (Android/iOS), dependency updates, and breaking change migration. Invoke with `/upgrade-react-native <version>`.
Why this skill is useful
Adds an executable script that automates the upgrade process for React Native projects, including version validation and diff fetching.
What it needs
Requires curl installed locally. About 5k tokens when loaded. Last updated 2026-08-05. 25 stars on the source repository.
What this skill does
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. <!-- LLMEXCLUDE: Human-only context below --> [!Note] Expo users: For Expo projects or more complex upgrade scenarios, try: - expo/skills/upgrading-expo - callstackincubator/agent-skills/upgrading-react-native <!-- /LLMEXCLUDE --> Invocation <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. 3. Fetch the upgrade diff Fetch the unified diff between the two versions: For example, to upgrade from 0.73.0 to 0.74.0: 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. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills react-native-community/upgrade-react-native