Agent skill
auditing-deep-link-contracts
Audits deep link contracts and routing behavior. Use when validating supported routes, required parameters, and cold or warm start handling.
Install this agent skill to your Project
npx add-skill https://github.com/clix-so/skills/tree/main/skills/auditing-deep-link-contracts
SKILL.md
Auditing Deep Link Contracts
Use this skill to define and audit deep link behavior so links open the correct screen with correct parameters across cold and warm starts.
What this skill does
- Defines a deep link contract for supported routes
- Checks required and optional parameters
- Generates cold and warm start test vectors
- Produces a concise audit report with fixes
Workflow
Deep link contract audit progress:
- [ ] 1) Confirm minimum inputs (platforms, routes, entry points)
- [ ] 2) Draft a deep-link contract (JSON)
- [ ] 3) Validate the contract (script)
- [ ] 4) Generate test vectors (script)
- [ ] 5) Audit routing behavior (findings + fixes)
- [ ] 6) Verify fixes (cold and warm start)
1) Confirm the minimum inputs
Ask only what is needed:
- Platforms: iOS, Android, or both
- Entry points: push, email, web, in-app, marketing campaigns
- Routes: list of deep link routes that must be supported
- Auth rules: which routes require login
- Fallbacks: where to send users if data is missing
2) Draft a deep-link contract
Create deep-link-contract.json in .mobile/ (recommended) or project root.
Recommended location: .mobile/deep-link-contract.json
Example:
{
"base": "myapp://",
"routes": [
{
"name": "order_detail",
"path": "/orders/{order_id}",
"required_params": ["order_id"],
"optional_params": ["ref"],
"auth_required": true,
"supported_states": ["cold", "warm"]
}
]
}
3) Validate the contract
Run:
bash skills/auditing-deep-link-contracts/scripts/validate-deep-link-contract.sh \
.mobile/deep-link-contract.json
4) Generate test vectors
Run:
bash skills/auditing-deep-link-contracts/scripts/generate-deep-link-test-vectors.sh \
.mobile/deep-link-contract.json \
.mobile/deep-link-test-vectors.json
5) Audit routing behavior
For each test vector, confirm:
- The app opens the expected screen
- Required parameters are present and parsed
- Missing parameters trigger the expected fallback
- Auth-required routes handle logged-out users
- Cold start and warm start behave consistently
6) Verify fixes
Re-run the test vectors after changes and confirm all expected behaviors.
Progressive Disclosure
- Level 1: This
SKILL.md - Level 2:
references/ - Level 3:
examples/(optional) - Level 4:
scripts/(execute; do not load)
References
references/deep-link-contract.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
clix-integration
Integrates Clix Mobile SDK into iOS, Android, Flutter, and React Native projects. Provides step-by-step guidance for installation, initialization, and verification. Use when the user asks to install, setup, integrate Clix or when the user types `clix-integration` / "clix integration".
clix-user-management
Implements Clix user identification and user properties (setUserId, removeUserId, setUserProperty/setUserProperties, removeUserProperty/removeUserProperties) with safe schemas, logout best practices, and campaign-ready personalization/audience usage. Use when the user mentions login/logout, userId, user properties, personalization, audience targeting or when the user types `clix-user-management`.
push-notification-designer
Design and implement local push notification campaigns to boost user engagement in mobile apps. Use this skill whenever the user mentions local push notifications, in-app notifications, user engagement campaigns, retention messaging, re-engagement nudges, or wants to add scheduled notifications to their app. Also trigger when the user asks about notification timing strategies, onboarding notification flows, or workout/habit/goal reminder systems. Covers iOS (Swift/UNUserNotificationCenter), Android (Kotlin/WorkManager+NotificationManager), Flutter (flutter_local_notifications), and React Native (notifee/expo-notifications).
clix-api-triggered-campaigns
Helps developers configure API-triggered campaigns in the Clix console and trigger them from backend services with safe auth, payload schemas, dynamic audience filters (trigger.*), and personalization best practices. Use when the user mentions transactional notifications, backend-triggered sends, campaign_id trigger APIs, or "API-triggered campaigns".
push-notification-best-practices
Comprehensive mobile push notification guide for iOS (APNS) and Android (FCM). Use when setting up push notifications, debugging delivery issues, implementing background/foreground handlers, managing push tokens, integrating deep linking, or troubleshooting platform-specific issues.
clix-event-tracking
Implements Clix event tracking (Clix.trackEvent) with consistent naming, safe property schemas, and campaign-ready validation. Use when adding, reviewing, or debugging event tracking; when configuring event-triggered campaigns; or when the user mentions events, tracking, funnels, or properties — or when the user types `clix-event-tracking`.
Didn't find tool you were looking for?