/ionic-capacitor-skills:ionic-deep-linksfrom ionic-capacitor-skills
Handles deep links in Ionic Capacitor apps: custom URL schemes, iOS Universal Links, and Android App Links. Useful for password-reset, OAuth callbacks, magic-link sign-in, and branded links that open the app.
Ships in ionic-capacitor-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Three flavors of deep linking that you'll likely need together:
| Type | Looks like | Verified by | Use when |
|---|---|---|---|
| Custom scheme | myapp://reset-password?token=… | Nothing | Internal flows, OAuth callbacks. Easy. Anyone can register the scheme. |
| iOS Universal Link | https://yourapp.com/reset-password?token=… | apple-app-site-association file on your domain | Branded links that should open the app or fall back to the web. |
| Android App Link | https://yourapp.com/reset-password?token=… | assetlinks.json on your domain | Same goal as Universal Links, on Android. |
You usually want all three for a polished app: one URL works on iOS and Android (Universal/App), with custom schemes as a fallback for cases where verified linking isn't possible.
@capacitor/app listener: custom-scheme.mdPick one path prefix per concern and use it consistently across custom schemes, Universal Links, and App Links so the same router code handles all three:
| Concern | Custom scheme | Universal/App Link |
|---|---|---|
| Auth (reset / OAuth callback / magic link) | myapp://auth/<flow>?... | https://yourapp.com/auth/<flow>?... |
| Invites | myapp://invite/<code> | https://yourapp.com/invite/<code> |
| Share | myapp://share/<id> | https://yourapp.com/share/<id> |
The auth path is shared across ionic-firebase, ionic-supabase, and password-reset / OAuth-callback flows in this scaffold:
https://yourapp.com/auth/finish-signin?...myapp://auth/reset-password?token=...myapp://auth/callback#access_token=...Routing logic in the deep-link handler matches on pathname.startsWith('/auth/') and delegates to the right flow.
@capacitor/app's appUrlOpen listener — it fires for all three flavors uniformly.assetlinks.json files at your domain root with the right Content-Type (application/json, no extension).xcrun simctl openurl (iOS sim) and adb shell am start -a android.intent.action.VIEW -d "<url>" (Android emulator).App.getLaunchUrl() on cold-start — appUrlOpen may not fire reliably for cold opens (it does in many Capacitor versions, but the behavior is platform- and version-dependent). Belt-and-suspenders: always check getLaunchUrl() once at boot.npm install @capacitor/app
npx cap sync
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
deep-links, universal-links, app-links, capacitor, mobile-deeplinking
npx claudepluginhub erkamyaman/ionic-capacitor-skills --plugin ionic-capacitor-skills18 skills in this plugin
/capacitor-foldableBuild Capacitor apps that adapt to foldable devices, iPhone Duo and Android foldables, with @erkamyaman/capacitor-foldable. Trigger when laying out around the crease or fold, reading the hinge angle or posture, using window size classes, polyfilling the Device Posture and Viewport Segments APIs, telling the outer display from the inner one, using rear display or dual screen on an Android foldable, moving an Ionic tab bar where iPhone Duo puts native bars, or testing on the iPhone Duo simulator or a foldable emulator./ionic-analyticsAdd product analytics to an Ionic Capacitor app — Firebase Analytics or PostHog. Trigger when adding event tracking, screen views, funnel analytics, A/B testing, or user behavior tracking to an Ionic mobile app./ionic-angularBuild a production-ready Ionic Capacitor mobile app with Angular standalone components, lazy-loaded routes, services for cross-cutting concerns, and @ngx-translate/core for i18n. Trigger when the user wants to create an Ionic Angular app, scaffold pages (onboarding, paywall, tabs, settings), or wire RevenueCat / AdMob / push notifications into an Angular Ionic project./ionic-app-icon-splashGenerate every iOS and Android app icon and splash screen size from a single source PNG using @capacitor/assets. Trigger when adding app icons, generating splash screens, replacing the default Capacitor icon, or shipping any Ionic Capacitor app to a store (icons are non-optional)./ionic-apple-sign-inAdd "Sign in with Apple" to an Ionic Capacitor app via @capacitor-community/apple-sign-in. Trigger when adding social login on iOS, integrating Apple ID as a sign-in method, or when App Review requires Sign in with Apple alongside other social logins./ionic-attRequest iOS App Tracking Transparency (ATT) permission so AdMob can serve personalized ads on iOS 14+ without App Review rejecting the build. Trigger when adding ATT, IDFA permission, or "iOS personalized ads" to an Ionic Capacitor app.Other plugins' skills for the same job