Cordova To Capacitor
Migrate Apache Cordova and PhoneGap apps to Capacitor one plugin at a time, removing Cordova last.
- CCM score
- 68 of 100
- skills.sh installs
- 851
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full path: auditing Cordova plugins, installing Capacitor, adding native projects, replacing plugins, and removing Cordova
- Includes reference guides for plugin replacements,
config.xmland data preservation, and callback-to-promise code patterns - Preserves localStorage and IndexedDB on first launch by keeping the old webview scheme (
iosScheme/androidScheme) - Designed for projects with
config.xml,platforms/, orcordova-plugin-*dependencies that need to move to Capacitor 9
Install
$ npx -y skills add cap-go/capgo-skills --skill cordova-to-capacitor -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/cap-go/capgo-skills
- Categories
- Mobile Apps, Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the cordova-to-capacitor skill do?
The cordova-to-capacitor skill migrates an Apache Cordova, PhoneGap, or Ionic-Cordova app to Capacitor, one step at a time. It covers adding Capacitor native projects, replacing Cordova plugins, and removing Cordova once everything is verified.
How do I install the cordova-to-capacitor skill?
Run npx -y skills add cap-go/capgo-skills --skill cordova-to-capacitor -y in your project. After that, the agent can use cordova-to-capacitor to audit your config.xml and plugins before editing.
Which Cordova apps is the cordova-to-capacitor skill for?
The cordova-to-capacitor skill is for projects that have config.xml, a platforms or plugins folder, or cordova or phonegap dependencies. It also fits apps that use deviceready listeners or cordova.plugins calls and want Capacitor native projects.
Will cordova-to-capacitor keep my localStorage and IndexedDB data after migration?
The cordova-to-capacitor skill covers preserving localStorage and IndexedDB data through the iosScheme and androidScheme settings. It explains that Capacitor serves the app from a new origin, so the scheme must be decided before the first release.
More from cap-go/capgo-skills
All 41- Capgo Cli Usage817
- Capacitor Plugin Upgrades815
- Capacitor Plugin Spm Support800
- Capgo Native Builds798
- Capgo Release Workflows793
- Sqlite To Fast Sql793
- Capgo Release Management792
- Capacitor App Upgrade V7 To V8785
- Capgo Cloud776
- Capgo Organization Management768
- Ionic Enterprise Sdk Migration760
- Capacitor Plugin Upgrade V7 To V8724
- Skill Creator717
- Ionic Appflow Migration686
- Capacitor App Upgrade V6 To V7677
- Capacitor Best Practices3K
- Capacitor Plugins1.7K
- Ionic Design1.7K
- Debugging Capacitor1.5K
- Safe Area Handling1.5K
- Capacitor Testing1.4K
- Capacitor Deep Linking1.4K
- Ios Android Logs1.4K
- Capacitor Security1.4K
Similar to Cordova To Capacitor
More Mobile Appsionic-appflow-migrationcap-go/capgo-skills686 installsMigrates Ionic or Capacitor projects off Ionic Appflow onto Capgo live updates and repo-owned builds.
capacitor-app-upgrade-v6-to-v7cap-go/capgo-skills677 installsStep-by-step Capacitor 6 to 7 upgrade that runs the official migration CLI, then enforces the manual checklist.
capacitor-app-upgradescapawesome-team/skills1.6K installsStep-by-step Capacitor app upgrade guide that applies each major-version migration manually, in sequence.
capacitor-plugin-upgradescapawesome-team/skills1.5K installsGuides upgrading a Capacitor plugin across major versions 4 through 8, applying each step in sequence.
web-to-nativeexpo/skills757 installsMigration guide for porting an existing web React app to native iOS and Android with Expo, incrementally.