capacitor-app-upgrade-v7-to-v8
Guides the agent through upgrading a Capacitor app from v7 to v8. Use when the project is on Capacitor 7 and needs the v8 migration path. Do not use for other major versions, plugin-only upgrades, or non-Capacitor apps.
How do I install this agent skill?
npx skills add https://github.com/cap-go/capgo-skills --skill capacitor-app-upgrade-v7-to-v8Is this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is designed to assist with migrating Capacitor projects from version 7 to 8. It includes a script that automatically checks the current project's package versions to provide accurate migration steps, which is appropriate for its stated purpose.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Capacitor App Upgrade v7 to v8
Upgrade a Capacitor app from version 7 to version 8.
When to Use This Skill
- User says the app is on Capacitor 7 and must move to v8
- User wants the exact v7 to v8 migration path
- User needs v8-specific native and package updates
Live Project Snapshot
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'))"
Procedure
- Start from the injected package snapshot and confirm the current
@capacitor/coreversion. - Update all
@capacitor/*packages to the v8-compatible range. - Review the v7 to v8 migration notes before editing native files.
- Run
npm install. - Sync with
npx cap sync. - Verify the iOS and Android builds.
Error Handling
- If the automated migration misses a package, update it manually before syncing again.
- If iOS fails, check the deployment target and Xcode compatibility for Capacitor 8.
- If Android fails, check the Gradle and Java requirements for Capacitor 8.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/cap-go/capgo-skills/capacitor-app-upgrade-v7-to-v8">View capacitor-app-upgrade-v7-to-v8 on skillZs</a>