deep-link-architect
Skill7 starsChanged 43 days agoMITView on GitHub
Design iOS Universal Links and Android App Links end to end: URL schema, apple-app-site-association and assetlinks.json, entitlements and manifests, in-app routing, web fallbacks, and test cases. Use when the user needs links, QR codes, emails, or notifications to open a specific app screen, or deep links are not working.
In this repository83 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-enforcerSkill
- access-policy-designerSkill
- adaptive-guardSkill
- agent-reviewerSkill
- anti-ai-slop-designSkill
- api-mock-designerSkill
- api-observability-plannerSkill
- app-store-reviewerSkill
- ask-first-act-laterSkill
- assumption-checkerSkill
- auth-flow-designerSkill
- b2b-founder-roadmapSkill
- brand-name-labSkill
- breaking-change-detectorSkill
- changelog-generatorSkill
- checkpoint-guardianSkill
- claude-style-codingSkill
- claw-integration-designSkill
- context-compressorSkill
- contract-first-designerSkill
- coolify-orchestratorSkill
- crash-analystSkill
- data-lineage-tracerSkill
- data-maskerSkill
- design-intelligenceSkill
- design-md-enforcerSkill
- ecosystem-apiSkill
- ecosystem-databaseSkill
- ecosystem-mobileSkill
- ecosystem-orchestrationSkill
- ecosystem-productSkill
- ecosystem-reasoningSkill
- ecosystem-securitySkill
- ecosystem-webSkill
- error-recoverySkill
- fth-design-crafterSkill
- geo-auditorSkill
- geo-optimizerSkill
- index-advisorSkill
- jev-orchestratorSkill
- mastermind-loggerSkill
- memory-ledgerSkill
- migration-strategistSkill
- mobile-perf-auditorSkill
- mobile-security-auditorSkill
- multi-brain-debateSkill
- multi-brain-expertsSkill
- multi-brain-scoreSkill
- multi-brainSkill
- offline-sync-designerSkill
- onboarding-designerSkill
- output-criticSkill
- parallel-plannerSkill
- pgbouncer-architectSkill
- plan-hardenerSkill
- plan-implement-verify-recoverSkill
- proje-analizcisiSkill
- project-analyzerSkill
- project-focus-firstSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 106
No Third-Party by Default: Do not immediately suggest Branch or AppsFlyer unless the user explicitly needs deferred deep linking (install …
- Very specific: line 107
AASA Caching: Always warn iOS developers that Apple's CDN caches the AASA file for 24-48 hours.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deep Link Architect Protocol
Deep linking is notoriously fragile. A missing trailing slash, a cached apple-app-site-association file, or a misconfigured Intent Filter can break user flows. This skill treats deep linking as a cross-platform architectural feature, not just a couple of configuration files.
Core principle: A deep link must always resolve gracefully, whether the user has the app installed or not, and regardless of the platform.
Workflow
1. Define the routing schema (Domain, Paths, Parameters)
2. Architect iOS Universal Links (`apple-app-site-association`, Entitlements)
3. Architect Android App Links (`assetlinks.json`, Intent Filters)
4. Design the Fallback Strategy (App not installed / Desktop)
5. Generate a testing checklistStep 1: Schema Definition
Define exactly what the URLs will look like.
- Base Domain: e.g.,
app.example.com - Paths: e.g.,
/user/:id,/post/:id - Avoid Custom Schemes: (e.g.,
myapp://) unless strictly for local internal app routing or legacy support, as they prompt annoying security dialogs and fail gracefully. Default tohttps://.
Step 2: iOS Universal Links
Provide the exact configuration needed for iOS:
- The content of the
apple-app-site-association(AASA) file. - Instructions on where to host it (
/.well-known/). - The necessary additions to the Xcode
Entitlementsfile (applinks:app.example.com). - Note: Remind the developer that the AASA file must NOT have a
.jsonextension.
Step 3: Android App Links
Provide the exact configuration needed for Android:
- The content of the
assetlinks.jsonfile. - Instructions on where to host it (
/.well-known/). - The specific
<intent-filter>blocks required in theAndroidManifest.xml(must includeandroid:autoVerify="true").
Step 4: Fallback & Web Strategy
What happens if the app isn't installed?
- Standard deep links just fail. Universal/App links fallback to the website.
- Suggest a strategy: Does the mobile website show a "Smart App Banner" to download the app? Does it redirect to the App Store/Play Store directly using Firebase Dynamic Links (deprecated) or a service like Branch.io/Adjust?
Step 5: In-App Routing
How is the incoming URL handled inside the app code?
- Native:
scene(_:continue:)(iOS) /onNewIntent(Android). - Cross-platform: Expo Router, React Navigation Deep Linking config, or Flutter
GoRouter.
Output Format
# 🔗 Deep Link Architecture Plan
**Domain:** `https://[YourDomain]`
**Routing Paths:** [List of paths handled by the app]
## 🍎 iOS Universal Links
### 1. Hosted File (`apple-app-site-association`)
```json
// Exact JSON required
```
*Host this at: `https://[YourDomain]/.well-known/apple-app-site-association` (No .json extension)*
### 2. Xcode Entitlements
- Add: `applinks:[YourDomain]`
## 🤖 Android App Links
### 1. Hosted File (`assetlinks.json`)
```json
// Exact JSON required. Recommend generating via Android Studio or Play Console.
```
*Host this at: `https://[YourDomain]/.well-known/assetlinks.json`*
### 2. Android Manifest (`AndroidManifest.xml`)
```xml
// Intent filter snippet with autoVerify="true"
```
## 🔄 In-App Routing Strategy
[Code snippet or configuration for React Navigation / Flutter / Native to catch the URL and route to the correct screen].
## 🛡 Fallback & Edge Cases
- **If app is not installed:** [What happens on the web URL?]
- **Testing steps:** [Exactly how to test using `xcrun simctl` and `adb shell am start`]When to Skip
- The user is asking about network API routing (backend router).
- The user is asking about web-only routing (e.g., Next.js App Router).
Guardrails
- No Third-Party by Default: Do not immediately suggest Branch or AppsFlyer unless the user explicitly needs deferred deep linking (install attribution) or complex marketing links. Stick to native Universal/App Links first.
- AASA Caching: Always warn iOS developers that Apple's CDN caches the AASA file for 24-48 hours. Provide the bypass query param for testing (
?mode=developer).
References
See references/EXAMPLES.md for a worked case.
🔗 Next Steps & Handoffs
<!-- BEGIN GENERATED: handoffs (generated from the ecosystem workflow map by build_ecosystems.py — do not edit by hand) -->Ecosystem: @ecosystem-mobile — Mobile App Domain.
Workflows:
- Feature Architecture Flow (
mobile-feature-architecture, step 1 of 4): last step → once it passes, complete the workflow and report the outcome.
Handoff contract: pass results to the next skill through an inline Handoff block in your reply with the fields skill, workflow, created_at, inputs, summary, and next (the handoff contract of @ecosystem-mobile). If a next skill is not installed, continue with its step from the ecosystem map, or install it with npx skills add fatih-developer/fth-skills --skill <name> after the user agrees.
<!-- END GENERATED: handoffs -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

