skills/capacitor-app-upgrades/SKILL.md
Guides the agent through upgrading a Capacitor app project to a newer major version. Supports upgrades from Capacitor 4 through 8, including multi-version jumps. Performs all upgrade steps manually — does not use the interactive `npx cap migrate` command. Do not use for plugin library upgrade or non-Capacitor mobile frameworks.
npx skillsauth add capawesome-team/skills capacitor-app-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 app project to a newer major version (4→5, 5→6, 6→7, or 7→8).
| Target Version | Node.js | Xcode | Android Studio | | -------------- | ------- | ------- | ------------------------------- | | 5 | 16+ | 14.1+ | Flamingo 2022.2.1+ (Java 17) | | 6 | 18+ | 15.0+ | Hedgehog 2023.1.1+ | | 7 | 20+ | 16.0+ | Ladybug 2024.2.1+ (Java 21) | | 8 | 22+ | 26.0+ | Otter 2025.2.1+ |
Read @capacitor/core version from package.json (dependencies or devDependencies). Determine the current major version.
Ask the user for the target version. Default to the latest (8) if not specified.
Do not run npx cap migrate. It is an interactive command that cannot be invoked by an agent. Always apply each upgrade manually using the steps in the corresponding reference file.
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.mdnpx cap sync, build, and verify on both platformsreferences/upgrade-v6-to-v7.mdnpx cap sync, build, and verify on both platformsreferences/upgrade-v7-to-v8.mdnpx cap sync, build, and verify on both platformsDo not skip intermediate versions.
After completing all upgrade steps:
npx cap sync
npx cap run android
npx cap run ios
.gradle files for property assignments without = and update them.capacitor-app-development — For general Capacitor development topics, troubleshooting, and best practices after completing the upgrade.capacitor-plugin-upgrades — If the project contains Capacitor plugins that also need upgrading, use this skill after the app upgrade.capacitor-plugins — For installing or reconfiguring plugins after the app upgrade.ionic-app-upgrades — If the project uses the Ionic Framework UI library, the Ionic version may also need upgrading alongside Capacitor.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.