A catalog of agent skills for working with Capacitor.
This repository contains agent skills focused on the Capacitor development lifecycle. Currently, it includes skills specific to plugins: generating first-pass net-new plugins, migrating existing Cordova plugins to Capacitor, and configuring OutSystems Developer Cloud (ODC) build actions for plugins.
The skills are written to be agent-agnostic. They package domain knowledge, best practices, and repeatable workflows as plain instructions and reference material, so any agent that supports the skills format can use them.
Generates new Capacitor plugin scaffolds and first-pass implementations from conversational requirements. It produces native code for iOS and Android along with the JavaScript/TypeScript bridge and plugin configuration.
Use when: Creating a new Capacitor plugin, scaffolding a native plugin for iOS and Android.
An end-to-end Cordova-to-Capacitor migration orchestrator. It analyzes a Cordova plugin, produces a structured migration plan, hands that plan to capacitor-plugin-generator at a user checkpoint, and consolidates the results into a single MIGRATION.md.
Use when: Migrating a Cordova plugin to Capacitor, assessing migration feasibility, identifying migration blockers, or estimating migration effort. Scope is plugin-level only.
Generates OutSystems Developer Cloud (ODC) build action JSON files that configure Capacitor mobile plugin builds for Android and iOS, including platform-specific actions, input variables, and conditional logic.
Use when: Creating a build action for an ODC plugin, generating a buildAction.json file, setting up Gradle or plist build actions, or configuring AndroidManifest for an ODC build. Note that build actions only apply to ODC — they have no effect in standalone Capacitor apps.
Install skills directly from this repository using skills.sh:
# Install all skills from this repository
npx skills add ionic-team/capacitor-skills
# Or install a specific skill
npx skills add ionic-team/capacitor-skills/capacitor-plugin-generator
npx skills add ionic-team/capacitor-skills/cordova-plugin-migrator
npx skills add ionic-team/capacitor-skills/build-actions-generatorFor testing and developing skills locally, use the provided toggle script:
# Toggle skills on/off for local development
./toggle-skills.shThis script will:
- Automatically detect all skills in the
./skillsdirectory - Create/remove symlinks to
~/.claude/skills/for local testing - Display which skills were added or removed
Run the script again to toggle between enabled and disabled states.
- Basic understanding of Capacitor and/or Cordova plugin architecture
Once installed, the skills become available to your agent and activate based on the task you describe. Phrase requests in terms of the plugin work you want done, for example:
"Generate a Capacitor plugin for accessing device battery information"
"Migrate this Cordova plugin to Capacitor"
"Assess the migration feasibility of cordova-plugin-camera"
"Create an ODC build action for my Capacitor plugin"
The relevant skill activates automatically when your request matches what it handles.