skills/deep-link-architect/SKILL.md
Design and implement Universal Links (iOS) and App Links (Android) architectures. Plan URL schemas, manifest/entitlement configurations, domain validation, fallback strategies, and test scenarios.
npx skillsauth add fatih-developer/fth-skills deep-link-architectInstall 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.
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.
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 checklist
Define exactly what the URLs will look like.
app.example.com/user/:id, /post/:idmyapp://) unless strictly for local internal app routing or legacy support, as they prompt annoying security dialogs and fail gracefully. Default to https://.Provide the exact configuration needed for iOS:
apple-app-site-association (AASA) file./.well-known/).Entitlements file (applinks:app.example.com)..json extension.Provide the exact configuration needed for Android:
assetlinks.json file./.well-known/).<intent-filter> blocks required in the AndroidManifest.xml (must include android:autoVerify="true").What happens if the app isn't installed?
How is the incoming URL handled inside the app code?
scene(_:continue:) (iOS) / onNewIntent (Android).GoRouter.# 🔗 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)
applinks:[YourDomain]assetlinks.json)// Exact JSON required. Recommend generating via Android Studio or Play Console.
Host this at: https://[YourDomain]/.well-known/assetlinks.json
AndroidManifest.xml)// Intent filter snippet with autoVerify="true"
[Code snippet or configuration for React Navigation / Flutter / Native to catch the URL and route to the correct screen].
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.
tools
Create, optimize, critique, and structure prompts for AI systems. Use this skill whenever the user is designing or improving a prompt, system prompt, coding prompt, image prompt, evaluation rubric, agent prompt, workflow prompt, or MCP-oriented prompt package. Also use it when the user asks to turn vague AI behavior into a precise instruction set, tool policy, agent spec, or prompt architecture.
testing
Assumption-first architecture review skill to stress-test project plans and expose hidden risks.
testing
Enforce and manage DESIGN.md specifications, extract design systems from URLs, and combine design reasoning with token roles to prevent drift.
testing
Forces the agent to act with a Claude-like product mindset, prioritizing user journey, UX states, and visual quality before coding.