cordova-plugin-migrator

Analyzes Cordova plugins and orchestrates their migration to Capacitor via structured YAML plans.

1|Updated Aug 25, 2026
One-click install
npx skills add https://github.com/involvex/ionic-everywhere --skill cordova-plugin-migrator-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cordova-plugin-migrator
Source: https://github.com/involvex/ionic-everywhere/tree/main/.agents/skills/cordova-plugin-migrator
Command: npx skills add https://github.com/involvex/ionic-everywhere --skill cordova-plugin-migrator-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Migrating a Cordova plugin to Capacitor requires manually auditing plugin.xml, native iOS/Android source, JS bridges, hooks, and third-party dependencies, then translating all of it into a new plugin architecture. This Skill automates that analysis and orchestration, producing a structured migration plan and a consolidated MIGRATION.md without emitting native code itself. ## Core Features & Use Cases - Full Plugin Analysis: Parses plugin.xml, native Objective-C/Java source, JS bridge methods, hooks, and dependency declarations, classifying hooks into three tiers and scoring migration complexity as simple, moderate, complex, or blocked. - Structured Generator Handoff: Produces a YAML plan conforming to the capacitor-plugin-generator input contract, with a mandatory user checkpoint before invoking the generator skill, plus an ODC path that invokes build-actions-generator first. - Blocker and Ownership Detection: Distinguishes plugin-packaging items from host-app configuration and consumer runtime config, flagging proprietary SDKs, Support Library deps, and Tier 3 hooks as blockers. - Use Case: Point the Skill at a cloned cordova-plugin-camera-style repository and receive a complexity assessment, a wire-format-pinned YAML plan mirroring the official @capacitor equivalent, and a MIGRATION.md documenting consumer-facing breaking changes. ## Quick Start Migrate this Cordova plugin to Capacitor by analyzing the plugin source in the current directory and producing a migration plan.

Frequently Asked Questions about cordova-plugin-migrator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a Cordova plugin to Capacitor?

Provide the Cordova plugin source and the Skill analyzes plugin.xml, native code, hooks, and dependencies, then produces a YAML migration plan. After you approve the plan at a checkpoint, it invokes the capacitor-plugin-generator skill to scaffold the Capacitor plugin.

What blocks a Cordova to Capacitor plugin migration?

Blockers include proprietary SDKs requiring unavailable credentials, Support Library dependencies without Jetifier approval, Tier 3 hooks using Cordova CLI internals, missing source files, and unreadable hook scripts. Blockers stop the generator handoff until resolved.

Can this Skill generate a new Capacitor plugin from scratch?

No. It only migrates existing Cordova plugin source. For a brand-new plugin with no Cordova origin, use the capacitor-plugin-generator skill directly, which owns scaffolding and native code emission.

Does it support OutSystems Developer Cloud (ODC) targets?

Yes. When ODC is confirmed, the Skill first invokes build-actions-generator to produce build actions for MABS native configuration, then invokes capacitor-plugin-generator with hooks already covered by build actions removed from the plan.

How are Cordova hooks handled during migration?

Each hook script is read and classified into three tiers: Tier 1 converts to Capacitor npm hooks, Tier 2 becomes npm lifecycle scripts or documented manual steps, and Tier 3 has no Capacitor equivalent and blocks migration.

What are the limitations of the Cordova plugin migrator?

Scope is plugin-level only; it does not migrate entire Cordova applications, debug already-migrated plugins, or publish results. It never emits native Capacitor code itself, delegating all code generation to the capacitor-plugin-generator skill.