skills/capacitor-plugin-upgrades/SKILL.md
Guides the agent through upgrading a Capacitor plugin to a newer major version. Supports upgrades from Capacitor 4 through 8, including multi-version jumps. Covers automated upgrade via official migration tools, Android SDK targets, Gradle configuration, Java/Kotlin versions, iOS deployment targets, and manual step-by-step fallback for each version. Do not use for app project upgrade or non-Capacitor plugin frameworks.
npx skillsauth add capawesome-team/skills capacitor-plugin-upgradesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Upgrade a Capacitor plugin to a newer major version (4→5, 5→6, 6→7, or 7→8).
| Target Version | Node.js | | -------------- | ------- | | 5 | 16+ | | 6 | 18+ | | 7 | 20+ | | 8 | 22+ |
The project must be a Capacitor plugin (not an app project).
Read @capacitor/core version from package.json (devDependencies or peerDependencies). Determine the current major version.
Ask the user for the target version. Default to the latest (8) if not specified.
For each major version jump between the current and target version, apply the corresponding upgrade guide sequentially:
| Current → Target | Reference |
| ---------------- | ------------------------------------ |
| 4 → 5 | references/upgrade-v4-to-v5.md |
| 5 → 6 | references/upgrade-v5-to-v6.md |
| 6 → 7 | references/upgrade-v6-to-v7.md |
| 7 → 8 | references/upgrade-v7-to-v8.md |
For multi-version jumps (e.g., 5 → 8), apply each upgrade in order:
references/upgrade-v5-to-v6.mdnpm install && npx cap sync, build, and verify the plugin's test/example appreferences/upgrade-v6-to-v7.mdnpm install && npx cap sync, build, and verify the plugin's test/example appreferences/upgrade-v7-to-v8.mdnpm install && npx cap sync, build, and verify the plugin's test/example appDo not skip intermediate versions.
After completing all upgrade steps:
npm install
npx cap sync
Build the plugin's test/example app on both platforms to verify.
.gradle files for property assignments without = and update them.capacitor-app-upgrades — If the app project itself also needs upgrading, use this skill.capacitor-plugin-spm-support — After upgrading a plugin to Capacitor 6+, use this skill to add Swift Package Manager support.capacitor-plugin-development — For creating new Capacitor plugins from scratch, including scaffolding, native implementation, and publishing.tools
A comprehensive starting point for AI agents to work with the Ionic Framework. Covers core concepts, components, CLI, theming, layout, lifecycle, navigation, and framework-specific patterns for Angular, React, and Vue. Pair with the other Ionic skills in this collection for deeper topic-specific guidance like app creation, framework integration, and upgrades.
tools
Guides the agent through setting up and using Capawesome Cloud for Capacitor and Cordova apps. Covers three core workflows: (1) Native Builds — cloud builds for iOS and Android (Capacitor, Cordova, or native projects), signing certificates, environments, Trapeze configuration, and build artifacts; (2) Live Updates — OTA updates via the @capawesome/capacitor-live-update or @capawesome/cordova-live-update plugin, channels, versioning, rollbacks, and code signing; (3) App Store Publishing — automated submissions to Apple App Store (TestFlight) and Google Play Store. Includes CI/CD integration for all workflows. Do not use for non-Capacitor, non-Cordova mobile frameworks such as React Native or Flutter.
tools
Guides the agent through installing, authenticating, configuring, and using the Capawesome CLI (@capawesome/cli). Covers installation, interactive and token-based authentication, project linking via capawesome.config.json, the full command reference (app management, native builds, live updates, certificates, environments, channels, deployments, destinations, devices), CI/CD integration with token auth and JSON output, and diagnostics via the doctor command. Do not use for Capawesome Cloud feature setup (native builds workflow, live updates workflow, app store publishing) — use the capawesome-cloud skill instead.
tools
A comprehensive starting point for AI agents to work with Capacitor. Covers core concepts, CLI, app creation, plugins, framework integration, best practices, storage, security, testing, troubleshooting, upgrading, and Capawesome Cloud (live updates, native builds, app store publishing). Pair with the other Capacitor skills in this collection for deeper topic-specific guidance.