skills/ionic-enterprise-sdk-migration/SKILL.md
Guides the agent through migrating Capacitor apps from Ionic Enterprise SDK plugins to Capgo and Capacitor alternatives. Covers dependency detection, API replacement, local storage changes, and platform cleanup. Do not use for generic Capacitor version upgrades or Capgo live updates.
npx skillsauth add cap-go/capgo-skills ionic-enterprise-sdk-migrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Migrate Capacitor apps away from Ionic Enterprise SDK plugins and onto open alternatives.
@ionic-enterprise/* pluginsDetected Ionic Enterprise and replacement packages:
!node -e "const fs=require('fs');if(!fs.existsSync('package.json'))process.exit(0);const pkg=JSON.parse(fs.readFileSync('package.json','utf8'));const out=[];for(const section of ['dependencies','devDependencies']){for(const [name,version] of Object.entries(pkg[section]||{})){if(name.startsWith('@ionic-enterprise/')||name.startsWith('@capgo/')||name==='@capacitor/preferences')out.push(section+'.'+name+'='+version)}}console.log(out.sort().join('\n'))"
| Ionic Enterprise plugin | Typical use | Replacement path |
| ----------------------- | ----------- | ---------------- |
| Auth Connect | Social or OIDC login | @capgo/capacitor-social-login and its OAuth/OIDC compatibility flow |
| Identity Vault | Biometric gate + protected session state | @capgo/capacitor-native-biometric plus app-managed session storage |
| Secure Storage | Encrypted local data | @capgo/capacitor-fast-sql for encrypted local storage and structured persistence |
If the app only needs non-sensitive key-value storage, use @capacitor/preferences. For encrypted local storage or structured local persistence, prefer @capgo/capacitor-fast-sql.
package.json before asking questions.Start from the injected package snapshot, then read package.json directly and look for:
@ionic-enterprise/auth@ionic-enterprise/identity-vault@ionic-enterprise/secure-storageIf none are present, tell the user no Ionic Enterprise plugins were detected.
If multiple are present, list them and migrate them in a clear order.
Move social and enterprise identity flows to @capgo/capacitor-social-login.
For OIDC providers, keep the provider-specific flow aligned with the compatibility wrapper or the plugin's documented OAuth/OIDC path so scopes, redirect URLs, and callback handling stay intact.
Identity Vault usually combines biometric unlock with protected app state.
Use @capgo/capacitor-native-biometric for device-level unlock checks, then rebuild the session timeout and lock screen behavior in app code.
Keep secrets out of plain client storage. Store only the minimum local state required for UX continuity.
If the app stores encrypted local data, move it to @capgo/capacitor-fast-sql.
If the app uses structured local persistence, keep it on @capgo/capacitor-fast-sql so the encrypted and non-encrypted paths stay on the same engine.
If the app only needs non-sensitive key-value storage, move those values to @capacitor/preferences.
Preserve the database schema and migrate the access layer instead of rewriting the data model when the app already relies on SQLite-backed storage.
After the replacement work, search the project for remaining enterprise references:
rg -n "@ionic-enterprise" .
Replace or remove any leftovers before continuing.
Remove unused enterprise packages from package.json, reinstall dependencies with the repository's existing package manager, and run sync from the app directory that contains capacitor.config.*:
npm install
npx cap sync
Then verify the app builds on every shipped platform.
@capgo/capacitor-fast-sql unless the use case is explicitly non-sensitive.development
Guide for migrating an existing web app, PWA, or SPA into a store-ready Capacitor iOS and Android app. Use this skill when users want to wrap or convert a web app into a mobile app, avoid thin WebView app store rejection, add native-feeling UX, handle permissions, offline behavior, account deletion, billing, testing, and Capgo live updates.
development
Guide to using Tailwind CSS in Capacitor mobile apps. Covers mobile-first design, touch targets, safe areas, dark mode, and performance optimization. Use this skill when users want to style Capacitor apps with Tailwind.
development
Revenue playbook for getting a mobile or web subscription app from zero to early MRR. Use when users ask how to make revenue, reach $1K MRR, monetize an app, get first users, improve ASO, plan TikTok/Reels/Shorts or Reddit acquisition, design a paywall, choose freemium vs trial, price subscriptions, reduce churn, or build a simple growth loop for an app.
tools
Guides the agent through migrating SQLite and SQL-style Capacitor plugins to @capgo/capacitor-fast-sql. Use when replacing bridge-based SQL plugins, adding encryption, preserving transactions, or moving key-value storage onto Fast SQL. Do not use for non-SQL storage, generic app upgrades, or plugins that already wrap Fast SQL.