mobile-deep-linking
Use when the user asks about deep links, universal links, Android App Links, apple-app-site-association, assetlinks.json, custom URL schemes or deferred deep…
от j4flmao★ 47 звёзд на GitHub
Установить mobile-deep-linking в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Mobile Deep Linking
Purpose
Guide for implementing deep linking across iOS and Android using universal links, custom URL schemes, and deferred deep linking.
Agent Protocol
Trigger
Phrases: "deep linking", "universal link", "app link", "URL scheme", "deferred deep link", "routing deep link", "link handler", "deep navigation"
Input Context
- App navigation routes to be linkable
- Domain for universal link hosting
- Existing routing/navigation system
- Attribution SDK (if deferred linking needed)
Output Artifact
Deep link configuration: apple-app-site-association JSON, Android intent filters, route mapping table, navigation handler code.
Response Format
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
Completion Criteria
- Universal link opens app from Notes/Messages/Safari
- Custom URL scheme opens app from internal sources
- Route parameters extracted correctly and passed to navigation
- Deferred deep link resolves after fresh install
- Fallback URL redirects to store if app not installed
Max Response Length
6000 tokens
Architecture / Decision Trees
Linking Mechanism Decision
Production or development?
├── Production → Universal Links (iOS) / App Links (Android)
│ Benefits: no confirmation dialog, exclusive to your app, SEO-friendly
│ Requires: HTTPS domain with verification files
├── Development → Custom URL scheme (myapp://)
│ Benefits: works immediately, no server needed
│ Drawbacks: confirmation dialog, multiple apps can register same scheme
└── Both → Universal/App Links for production + URL scheme fallback
URL scheme used when universal link format is needed for internal use
Deferred Deep Linking Decision
Need to attribute installs?
├── Yes → Branch, Adjust, or AppsFlyer
│ SDK stores click data before install, resolves on first launch
│ Use for: referral programs, ad attribution, personalized onboarding
├── Simple install tracking → self-hosted deferred link service or Play Install Referrer API
│ Note: Firebase Dynamic Links was shut down on 2025-08-25 — do not use
└── No deferred needed → Standard universal links only
App must be installed for links to work
Routing Strategy
Navigation framework?
├── Jetpack Navigation (Android) → NavDeepLink with route patterns
│ Auto-extracts path/query params as arguments
├── SwiftUI / UIKit → Custom route registry
│ Parse URL → Match against route table → Navigate
├── Flutter → GoRouter deep link support
│ `router.config()` with initialLocation from deep link
├── React Native → React Navigation linking config
│ `linking.prefixes` + `linking.config` for route mapping
└── Expo → Expo Router + linking config
Built-in deep link support with file-based routing
Workflow
URI scheme vs universal link vs app link — Three mechanisms for deep linking with different characteristics. Custom URL scheme (e.g.,
myapp://path): simplest, works in development, shows confirmation dialog on iOS, no HTTPS requirement, no verification, can be claimed by multiple apps. Universal links (iOS): HTTPS URLs that open your app silently, requireapple-app-site-associationfile on server, verified by Apple at install, only your app can claim the domain. Android App Links: equivalent to universal links, requireintent-filterwithautoVerify, verified by Google via Digital Asset Links JSON. For production, always use universal links / app links — custom schemes are for development only.Route configuration and mapping — Design a URL structure that mirrors your app's navigation hierarchy. URL path segments map to screen routes, query parameters map to screen arguments. Example:
https://app.example.com/profile/42?tab=orders-> screenProfileScreenwith id=42, tab=orders. Maintain a route registry (array/table of pattern -> screen mappings) with support for path parameters (:id), wildcards (*), and optional segments. The parser iterates the registry and returns the first match. Support both path-based and query-based routing.Deep link setup — iOS — Create
apple-app-site-associationJSON file (no .json extension) and host athttps://{domain}/.well-known/apple-app-site-association. The file mapsappID(Team ID + Bundle ID) to allowed URL paths. iOS fetches this file at first install and periodically thereafter. Verify success via device console logs (swcutilor search for[CoreBroker]). InAppDelegate.swift, implementapplication(_:continue:restorationHandler:)to receive incomingNSUserActivityof typeNSUserActivityTypeBrowsingWeb. Extract thewebpageURLand pass to your deep link router.Deep link setup — Android — Add
intent-filterto the activity inAndroidManifest.xmlthat should receive deep links. Include<data android:scheme="https" android:host="app.example.com" />andandroid:autoVerify="true". For custom schemes, add
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/deep-link-analytics.md
- references/deep-link-implementation.md
- references/deep-link-routing.md
- references/deep-link-setup.md
- references/deep-linking-advanced.md
- references/deep-linking-fundamentals.md
- references/deep-linking-security.md
- references/platform-differences.md
- references/universal-links.md
FAQ
Что делает скилл mobile-deep-linking?
Use when the user asks about deep links, universal links, Android App Links, apple-app-site-association, assetlinks.json, custom URL schemes or deferred deep links. Produces link verification files and in-app routing for iOS and Android. Not for push notification handling (use mobile-push-notifications) or web routing.
Как установить скилл mobile-deep-linking?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mobile-deep-linking запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…