cap-go avatar

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-code

Installs 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, or cordova-plugin-* are present and the user wants Capacitor.
  • Code waits on deviceready or calls navigator.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-plugins for 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
1alirezarezvani avatarisms-audit-expertalirezarezvani/claude-skillsInformation Security Management System (ISMS) audit expert for ISO 27001 compliance verification, security control assessment, and certification support. Use wh806skills.sh installs
2dodopayments avatarusage-based-billingdodopayments/skillsGuide for charging directly per measured API call, token, storage unit, or other consumption using meters, stable usage events, aggregation, free thresholds, an803skills.sh installs
3alirezarezvani avatarcode-to-prdalirezarezvani/claude-skillsReverse-engineer any codebase into a complete Product Requirements Document (PRD). Analyzes routes, components, state management, API integrations, and user int798skills.sh installs
4alirezarezvani avatarregulatory-affairs-headalirezarezvani/claude-skillsSenior Regulatory Affairs Manager for HealthTech and MedTech companies. Prepares FDA 510(k), De Novo, and PMA submission packages; analyzes regulatory pathways 798skills.sh installs
5alirezarezvani avatarconfluence-expertalirezarezvani/claude-skillsAtlassian Confluence expert for creating and managing spaces, knowledge bases, and documentation. Configures space permissions and hierarchies, creates page tem795skills.sh installs
6alirezarezvani avatarquality-manager-qms-iso13485alirezarezvani/claude-skillsISO 13485 Quality Management System implementation and maintenance for medical device organizations. Provides QMS design, documentation control, internal auditi795skills.sh installs