Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cap-go avatar

Capacitor Plugin Upgrade V4 To V5

  • 358 installs
  • 57 repo stars
  • Updated July 13, 2026
  • cap-go/capgo-skills

capacitor-plugin-upgrade-v4-to-v5 is an agent skill that upgrades Capacitor plugins from v4 to v5 APIs, build tooling, and breaking changes so plugins remain compatible with current Capacitor applications.

About

capacitor-plugin-upgrade-v4-to-v5 is an agent skill from cap-go/capgo-skills that guides developers through upgrading Capacitor plugins from version 4 to version 5. The skill addresses breaking API changes, updated build tooling, TypeScript definition shifts, and native bridge adjustments so custom or third-party plugins continue working inside Capacitor apps on modern framework versions. Developers reach for capacitor-plugin-upgrade-v4-to-v5 when maintaining a Capacitor plugin package, unblocking app upgrades blocked by outdated plugin APIs, or aligning plugin releases with Capacitor 5 app requirements. The skill complements app-level migration workflows by focusing on plugin source and publish pipelines rather than entire hybrid application rewrites. Invoke when asked to upgrade a Capacitor plugin from v4 to v5, fix plugin breaking changes, or update plugin build tooling for Capacitor 5 compatibility.

  • Maps v4 to v5 breaking API changes
  • Updates Android Gradle and iOS Pod/SPM configs
  • Refactors deprecated bridge and config patterns
  • Bumps peer dependencies and publish metadata
  • Validates plugin against Capacitor 5 sample apps

Capacitor Plugin Upgrade V4 To V5 by the numbers

  • 358 all-time installs (skills.sh)
  • Ranked #355 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cap-go/capgo-skills --skill capacitor-plugin-upgrade-v4-to-v5

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs358
repo stars57
Last updatedJuly 13, 2026
Repositorycap-go/capgo-skills

How do you upgrade Capacitor plugins from v4 to v5?

Upgrade Capacitor plugins from v4 to v5 APIs, build tooling, and breaking changes so plugins remain compatible with current Capacitor apps.

Who is it for?

Developers maintaining Capacitor plugin packages who need v4 to v5 API migration guidance for Capacitor 5 app compatibility.

Skip if: Whole-app Capacitor v5 to v6 migrations, which require capacitor-app-upgrade-v5-to-v6 instead of plugin-only upgrades.

When should I use this skill?

User asks to upgrade a Capacitor plugin from v4 to v5, fix plugin breaking changes, or update plugin build tooling for Capacitor 5.

What you get

Capacitor v5-compatible plugin with updated APIs, build tooling, TypeScript definitions, and native bridge code passing app integration tests.

  • Upgraded Capacitor v5 plugin source
  • Updated plugin build and native bridge configs

Files

SKILL.mdMarkdownGitHub ↗

Capacitor Plugin Upgrade v4 to v5

Upgrade a Capacitor plugin from version 4 to version 5.

When to Use This Skill

  • User says the plugin targets Capacitor 4 and must move to v5
  • User wants the exact v4 to v5 migration path
  • User needs v5-specific native and package updates

Live Project Snapshot

Plugin and Capacitor package snapshot: !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=['package.name='+(pkg.name||''),'package.version='+(pkg.version||'')];for(const section of ['peerDependencies','dependencies','devDependencies']){for(const [name,version] of Object.entries(pkg[section]||{})){if(name.startsWith('@capacitor/'))out.push(section+'.'+name+'='+version)}}console.log(out.join('\n'))"

Example and native project paths: !find . -maxdepth 3 \( -path './example-app' -o -path './ios' -o -path './android' \)

Procedure

1. Start from the injected snapshot and confirm the current Capacitor peer dependency range in package.json. 2. Update the peer dependency range to Capacitor 5. 3. Review the v4 to v5 migration notes before editing native files. 4. Update the example app if it exists. 5. Run npm install. 6. Sync and verify the example or test app.

Error Handling

  • If the example app breaks, fix the plugin API or native bridge before moving on.
  • If iOS fails, verify the deployment target for Capacitor 5.
  • If Android fails, verify the Gradle and Java requirements for Capacitor 5.

Related skills

FAQ

What does capacitor-plugin-upgrade-v4-to-v5 cover?

capacitor-plugin-upgrade-v4-to-v5 upgrades Capacitor plugin packages from v4 to v5, addressing breaking API changes, build tooling updates, and native bridge adjustments for Capacitor 5 app compatibility.

Is this skill for whole Capacitor apps?

capacitor-plugin-upgrade-v4-to-v5 targets individual Capacitor plugin packages. Whole-app Capacitor v5 to v6 migrations use capacitor-app-upgrade-v5-to-v6 instead.

Mobile Developmentintegrationsdevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.