
Cordova To Capacitor
If you're stuck maintaining a Cordova app and need to migrate to Capacitor, this walks you through the entire process systematically. It checks your current setup, maps Cordova plugins to their Capacitor equivalents (camera, geolocation, filesystem, the usual suspects), and shows you exactly how to rewrite the code patterns. The deviceready event goes away, callbacks become async/await, and you get proper IDE integration instead of CLI-only builds. It includes a solid reference table for both official Capacitor plugins and third-party alternatives from the Capgo ecosystem. Honestly, the hardest part of any Cordova migration is just knowing which plugins exist and what the API differences are, and this covers both thoroughly.
- skills.sh installs
- 807
- GitHub stars
- 77
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cap-go/capgo-skills --skill cordova-to-capacitor --agent claude-codeInstalls into .claude/skills of the current project.
Files
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.
Project Inspection
Sponsors
Details
- Repository
- github.com/cap-go/capgo-skills
- Categories
- Documentation, Mobile Development
- First seen
- Jun 3, 2026
More from cap-go/capgo-skills
All 41- Capgo Cli Usage773
- Capacitor Plugin Upgrades772
- Capacitor Plugin Spm Support756
- Capgo Native Builds754
- Capgo Release Management749
- Capgo Release Workflows749
- Sqlite To Fast Sql749
- Capacitor App Upgrade V7 To V8744
- Capgo Cloud731
- Capgo Organization Management725
- Ionic Enterprise Sdk Migration719
- Skill Creator718
- Ionic Appflow Migration690
- Capacitor Plugin Upgrade V7 To V8683
- Capacitor App Upgrade V6 To V7680
- Capacitor Best Practices2.9K
- Capacitor Plugins1.7K
- Ionic Design1.6K
- Debugging Capacitor1.4K
- Safe Area Handling1.4K
- Capacitor Testing1.4K
- Capacitor Deep Linking1.3K
- Ios Android Logs1.3K
- Capacitor Security1.3K