cordova-to-capacitor
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Cordova to Capacitor Migration
Move a Cordova app onto Capacitor incrementally: Capacitor first, plugins one by one, Cordova removed last.
When to Use
TRIGGER when:
config.xml,platforms/,plugins/,cordova-android/cordova-ios, orcordova-plugin-*are present and the user wants Capacitor.- Code waits on
devicereadyor callsnavigator.camera,window.plugins.*,cordova.plugins.*,@awesome-cordova-plugins/*,@ionic-native/*. - After migration: data loss on first launch, missing Cordova plugin behaviour, or Capacitor 9 build errors referencing Cordova symbols.
Do not use for:
- Rewriting a Cordova plugin's Java/Objective-C as a Capacitor plugin (plugin-level port) -> follow Capacitor plugin docs;
capacitor-pluginsfor existing replacements. - Upgrading Capacitor majors ->
capacitor-app-upgrades. - Replacing Appflow Live Updates (
cordova-plugin-ionic) ->ionic-appflow-migration+capgo-live-updates. - Framework build config (Angular output path, Vite) ->
framework-to-capacitor.