Upgrades Capacitor app projects to newer major versions via step-by-step process handling multi-jumps, dependency updates, native iOS/Android checks, syncs, and builds.
npx claudepluginhub cap-go/capgo-skills --plugin capacitor-app-upgradesThis skill is limited to using the following tools:
Upgrade a Capacitor app project to a newer major version.
Upgrades Capacitor apps from v4 to v5 by updating packages, reviewing migration notes, running npm install and cap sync, and verifying iOS/Android builds. For v4 to v5 migrations only.
Upgrades Capacitor plugins to newer major versions by aligning dependencies, updating iOS/Android native code, verifying example apps, and handling multi-version jumps.
Migrates existing Ionic/Capacitor projects from Ionic Appflow to Capgo live updates plus repo CI/CD and store publishing. Detects Appflow live updates, cloud builds, store deployments.
Share bugs, ideas, or general feedback.
Upgrade a Capacitor app project to a newer major version.
Current Capacitor packages from package.json:
!node -e "const fs=require('fs');if(!fs.existsSync('package.json'))process.exit(0);const pkg=JSON.parse(fs.readFileSync('package.json','utf8'));const out=[];for(const section of ['dependencies','devDependencies']){for(const [name,version] of Object.entries(pkg[section]||{})){if(name.startsWith('@capacitor/'))out.push(section+'.'+name+'='+version)}}console.log(out.sort().join('\n'))"
Native and Capacitor config paths:
!find . -maxdepth 3 \( -name 'capacitor.config.json' -o -name 'capacitor.config.ts' -o -name 'capacitor.config.js' -o -path './ios' -o -path './android' \)
Start from the injected snapshot above, then confirm @capacitor/core in package.json if anything looks inconsistent.
If the target version is not specified, ask the user to confirm an explicit major version before proceeding.
Do not skip intermediate major versions.
For each version jump:
@capacitor/* package versions in package.json.npm install.npx cap sync.If the automated migration step fails, apply the generated changes manually and continue with the same major version before moving to the next one.
Review the platform projects for version-specific requirements:
Run the project checks that matter for the app:
npm install
npx cap sync
npx cap run ios
npx cap run android
If the app has a custom test or build pipeline, run that as well.