Upgrade workflow

From JubaKitiashvili/everything-react-native-expo · View interactive version

Upgrade workflow is an AI agent skill from the GitHub repository JubaKitiashvili/everything-react-native-expo. Guided version migration for React Native and Expo SDK upgrades

How to use this skill

Skill file

Upgrade Workflow

You are performing a version upgrade on a React Native or Expo project. This skill provides a systematic migration process.

When to Use This Skill

Invoke when:

5-Step Upgrade Process

Step 1: Pre-Assessment

Before changing anything:

  1. Document current state:

```bash

npx expo-doctor # Expo projects

npx react-native info # All RN projects

```

  1. Check compatibility matrix:
  1. Identify breaking changes:
  1. Ensure clean state:

```bash

git status # Must be clean

git checkout -b upgrade/[target-version]

```

Step 2: Core Upgrade

Expo managed:

npx expo install expo@latest
npx expo install --fix  # Fix peer dependency issues

Bare React Native:

npx react-native upgrade [version]
# Or use the upgrade helper:
# https://react-native-community.github.io/upgrade-helper/

Step 3: Dependency Updates

Update dependencies in order of importance:

  1. React and React Native core
  2. Navigation (expo-router or React Navigation)
  3. State management (zustand, tanstack-query)
  4. UI libraries (nativewind, reanimated, gesture-handler)
  5. Native modules and Expo packages
  6. Dev dependencies (jest, typescript, eslint)
# Check for outdated packages
npx npm-check-updates

# Update with Expo compatibility
npx expo install [package]@latest

Step 4: Migration Steps

Apply breaking changes systematically:

  1. API changes — Update deprecated API calls
  2. Import changes — Fix moved/renamed imports
  3. Config changes — Update app.config.ts, babel.config.js, metro.config.js
  4. Native changes — Update Podfile, build.gradle if bare workflow
  5. Type changes — Fix TypeScript type errors from updated types

For each change:

# Make change
# Run: npx tsc --noEmit  (type check)
# Run: npm test  (unit tests)
# Fix any failures before moving to next change

Step 5: Verification

Complete verification checklist:

Output

## Upgrade Report

### Versions
From: [previous versions]
To: [new versions]

### Breaking Changes Applied
[List with file locations and descriptions]

### Dependencies Updated
[Package] [old] → [new]

### Verification
[Status of each check]

### Known Issues
[Any remaining warnings or known issues with notes]

Rollback

If upgrade fails:

git checkout main
git branch -D upgrade/[target-version]

Never force through a broken upgrade. It's better to wait for fixes.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.