Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

ionic-enterprise-sdk-migration

FreeNo executable scriptsNot checked

Guides the agent through migrating Capacitor apps from discontinued Ionic Enterprise SDK plugins (Auth Connect, Identity Vault, Secure Storage) to their…

capawesome-teamby capawesome-team★ 56 GitHub stars

About this skill

Ionic Enterprise SDK Migration

Migrate Capacitor apps from discontinued Ionic Enterprise SDK plugins to Capawesome alternatives.

Plugin Mapping

Ionic Enterprise Plugin Package Capawesome Replacement Package(s)
Auth Connect @ionic-enterprise/auth OAuth @capawesome-team/capacitor-oauth
Identity Vault @ionic-enterprise/identity-vault Vault (+ Biometrics) @capawesome-team/capacitor-vault (+ @capawesome-team/capacitor-biometrics)
Secure Storage (key-value) @ionic-enterprise/secure-storage Secure Preferences @capawesome-team/capacitor-secure-preferences
Secure Storage (SQLite) @ionic-enterprise/secure-storage SQLite @capawesome-team/capacitor-sqlite

All Capawesome replacement plugins require a Capawesome Insiders license.

Prerequisites

  1. Capacitor 6, 7, or 8 app.
  2. Node.js and npm installed.
  3. A Capawesome Insiders license key.

Agent Behavior

  • Auto-detect dependencies. Scan package.json for Ionic Enterprise packages before asking the user which plugins to migrate.
  • One plugin at a time. Complete the full migration for one plugin before starting the next.
  • Use the capacitor-plugins skill for installation. Delegate plugin installation and platform configuration to the capacitor-plugins skill. Only handle migration-specific steps (uninstall, code replacement) in this skill.
  • Preserve existing behavior. When replacing API calls, maintain the same functional behavior (e.g., same scopes, same stored keys, same database schema).

MCP Server

The Capawesome MCP server serves the current Capawesome documentation, so it is always ahead of the guidance bundled with this skill.

  • If the Capawesome MCP tools are available, call search_docs for the topic and read the matching page with get_doc_page before applying the guidance below. Where the two disagree, follow the documentation.
  • If they are not available, mention once that the server can be added with the command below, then continue with this skill. Never block on it.
claude mcp add --transport http capawesome "https://mcp.capawesome.io/mcp"

The documentation tools need no account and no token. See the capawesome-mcp skill for full setup, including the Capawesome Cloud tools.

Procedures

Step 1: Detect Ionic Enterprise Dependencies

Read package.json and check for these packages:

  • @ionic-enterprise/auth → Auth Connect
  • @ionic-enterprise/identity-vault → Identity Vault
  • @ionic-enterprise/secure-storage → Secure Storage

If none are found, inform the user that no Ionic Enterprise plugins were detected.

If multiple are found, list them and ask the user which to migrate first, or migrate all sequentially.

Step 2: Set Up the Capawesome npm Registry

Check if the @capawesome-team npm registry is already configured:

npm config get @capawesome-team:registry

If not configured, guide the user through setup:

npm config set @capawesome-team:registry https://npm.registry.capawesome.io
npm config set //npm.registry.capawesome.io/:_authToken <YOUR_LICENSE_KEY>

Ask the user for their license key if needed. Wait for confirmation before continuing.

Step 3: Migrate Each Plugin

For each detected Ionic Enterprise plugin, read the corresponding reference file and follow the migration steps:

  • Auth Connect → Read references/auth-connect-migration.md
  • Identity Vault → Read references/identity-vault-migration.md. Before changing code, ask the user whether they want to preserve existing stored data (keep both plugins installed for a transition period and migrate data at runtime) or make a hard cutover (drop the old data and switch immediately). The chosen strategy changes which steps run — see the strategy section in the reference file.
  • Secure Storage → Read references/secure-storage-migration.md

Each reference file contains:

  1. Feature mapping table (Ionic API → Capawesome API)
  2. Key differences to be aware of
  3. Step-by-step code replacement with before/after examples

For plugin installation and platform-specific configuration (Android permissions, iOS plist entries, Proguard rules, etc.), use the capacitor-plugins skill.

Step 4: Search for Remaining Ionic Enterprise Imports

After completing all migrations, search the codebase for any remaining Ionic Enterprise imports:

grep -r "@ionic-enterprise" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx"

If any are found, replace them with the corresponding Capawesome imports.

Step 5: Clean Up and Verify

  1. Remove all Ionic Enterprise packages from package.json:
npm uninstall @ionic-enterprise/auth @ionic-enterprise/identity-vault @ionic-enterprise/secure-sto
Full SKILL.md on GitHub

Install ionic-enterprise-sdk-migration in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/auth-connect-migration.mdreferences/identity-vault-migration.mdreferences/secure-storage-migration.md

FAQ

What does the ionic-enterprise-sdk-migration skill do?

Guides the agent through migrating Capacitor apps from discontinued Ionic Enterprise SDK plugins (Auth Connect, Identity Vault, Secure Storage) to their Capawesome alternatives (OAuth, Vault, Biometrics, Secure Preferences, SQLite). Covers dependency detection, side-by-side API mapping, code replacement, and platform-specific configuration for each plugin pair. Do not use for migrating Capacitor apps or plugins to a newer version, setting up Capawesome Cloud, or non-Capacitor mobile frameworks.

How do I install the ionic-enterprise-sdk-migration skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the ionic-enterprise-sdk-migration skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare ionic-enterprise-sdk-migration with