Agent Skills: capacitor-plugin-upgrade-v4-to-v5

Upgrades a Capacitor plugin library from v4 to v5 using `npx @capacitor/plugin-migration-v4-to-v5@latest`, then the manual checklist - `@capacitor/*` dev deps to `latest-5`, compile/target SDK 33 defaults, AGP 8.0.0, Gradle 8.0.2, `namespace` in build.gradle instead of manifest `package`, Java 17, Jetifier removal, Kotlin 1.8.20 with `kotlin-stdlib`, plus code changes - `CAPBridgedPlugin` requirements moved to instance level (`pluginId` -> `identifier`, `pluginMethods` typed `[CAPPluginMethod]`) and Android `PluginCall.getObject()` / `getArray()` may return null. Use when a plugin's peer dependency is Capacitor 4 and it must support 5, or apps on v5 fail with "Namespace not specified" in the plugin module. Do not use for app upgrades, other major versions, or non-Capacitor libraries.

ID: cap-go/capacitor-skills/capacitor-plugin-upgrade-v4-to-v5

Install this agent skill to your local

npx skills add cap-go/capacitor-skills --skill capacitor-plugin-upgrade-v4-to-v5

Skill Files

The files that make up capacitor-plugin-upgrade-v4-to-v5.

Download Skill

More agent skills