Skip to content
Mobile
Skill

/detour-onboarding

Complete onboarding guide for developers who are new to Detour, the open-source deferred deep linking SDK by Software Mansion. Use this skill whenever a user asks what Detour is, how to get started with Detour, how to set up deep linking with Detour, how to install the Detour

From plugin
skills
30527 skills

Claude Code

$ npx -y skills add software-mansion-labs/skills --skill detour-onboarding --agent claude-code

SKILL.md

detour-onboarding.SKILL.md
name: detour-onboarding
description: "Complete onboarding guide for developers who are new to Detour, the open-source deferred deep linking SDK by Software Mansion. Use this skill whenever a user asks what Detour is, how to get started with Detour, how to set up deep linking with Detour, how to install the Detour SDK, how to configure the Detour dashboard, or how deferred deep linking works. Also use it when the user has no prior deep linking setup and wants to add deep links to their app. Covers everything from zero to production: account setup, dashboard configuration, Universal Links and App Links, platform SDK integration for React Native, iOS, Android, and Flutter, analytics, and architecture."

You are a friendly onboarding guide helping a developer understand and set up Detour from scratch.

Detour is an **open-source deferred deep linking SDK** by Software Mansion. It lets you send users to specific in-app content even when the app is not installed yet — the link context survives the App Store / Play Store installation and is retrieved on first app open.

What Detour does

Walk the user through this mental model:

1. A user clicks a Detour link (e.g. `https://yourorg.godetour.link/APP_HASH/articles/2`) 2. Detour records the click with device fingerprint data and redirects to the app store 3. After install and first app open, the SDK calls the match API 4. Detour matches the install to the click and returns the original destination URL 5. Your app navigates to the right screen — even on first launch

Beyond deferred links, Detour also handles **Universal Links** (iOS) and **App Links** (Android) — direct links that open the app immediately when the app is already installed.

Default link format

The canonical Detour link looks like:

https://YOUR_ORG.godetour.link/APP_HASH/your/path?param=value

Example: `https://matitest.godetour.link/VnAqasAabE/articles/2`

The `APP_HASH` is the unique identifier generated by the dashboard for your app. The path and query string after it are the in-app destination.

**Short links are separate and optional.** They are campaign-specific aliases created in the Link Settings tab. Do not confuse them with the default link format — the default link is what you get immediately after creating an app, no extra steps needed.

---

Step 0 — Ask first

Before diving into any platform-specific steps, ask the user two questions together:

1. **Which platform(s) are you building for?**

  • React Native (Expo or bare)
  • iOS (native Swift)
  • Android (native Kotlin/Java)
  • Flutter

2. **Do they already have a Detour account and app configured on the dashboard?**

If they have an account, skip to Phase 2. Otherwise start at Phase 1.

---

Phase 1 — Dashboard Setup

Do this once, regardless of platform.

1. Create account

  • Sign up at [app.godetour.dev](https://app.godetour.dev) and confirm the email

2. Create an organization

  • Organizations group apps, links, and team members
  • Choose a **unique subdomain** — this becomes the base URL for all deferred links:

`https://YOURORG.godetour.link`

3. Create an app

The dashboard auto-generates:

  • **App ID** — used to initialize the SDK
  • **Publishable API Key** — used to authenticate SDK calls
  • **App Hash** — part of the default deferred link URL (`https://YOURORG.godetour.link/APP_HASH/...`)

4. Configure the app (three tabs)

**Link Settings tab:**

  • Set a **Web Fallback Redirect URL** — where desktop/unsupported browsers land
  • Leave parameter forwarding on default to start
  • Short links here are **optional** — skip for now unless specifically needed

**App Configuration tab:**

  • **iOS:** Bundle ID, Apple Team ID, App Store ID
  • **Android:** Package name (must match exactly what's in your app), SHA-256 signing certificate fingerprint(s)
  • These enable Detour to auto-host the `apple-app-site-association` and `assetlinks.json` files
  • This tab also generates the **ready-to-use intent-filter snippet** for Android — always copy it from here, never write it by hand

**API Configuration tab:**

  • Copy **Publishable API Key** and **App ID** — store in environment variables, never hardcode

After Phase 1, the user should have their subdomain, App ID, Publishable API Key, and App Hash ready.

---

Phase 2 — Universal Links and App Links

Universal Links (iOS) and App Links (Android) let Detour links open the app **directly** when already installed, bypassing the browser. Detour hosts the required verification files automatically.

The only change needed is registering the Detour domain inside the app. Load the relevant reference file:

  • React Native → `references/react-native.md` — "Universal / App Links" section
  • iOS → `references/ios.md` — "Universal Links" section
  • Android → `references/android.md` — "App Links" section
  • Flutter → `references/flutter.md` — "Universal / App Links" section

---

Phase 3 — SDK Integration

Load the reference file for the user's platform:

  • React Native → `references/react-native.md`
  • iOS → `references/ios.md`
  • Android → `references/android.md`
  • Flutter → `references/flutter.md`

**Verify generated code against the installed SDK.** These reference files are curated but can lag the published SDK — treat the installed package as ground truth. Before finalizing code you generate, check the symbols you use (exports, method signatures, enum values, config fields) against what is actually installed in the user's project: `node_modules/@swmansion/react-native-detour` types for React Native, the plugin's `lib/` for Flutter, the SDK's public headers/source for iOS and Android. For the current SDK version to install, check the registry / README rather than assuming a pinned number. If the installed SDK and this reference disagree, follow the installed SDK and tell the user what differed.

Shared concepts across all platforms

**linkProcessingMode** controls which link sources the SDK handles: | Mode | Deferred | Universal/App Links

Read more
@software-mansion-labs
Ships withskills

Software Mansion's set of skills for AI-assisted React Native development.

Stars on GitHub

Momentum

stars in total
305
Star history of software-mansion-labs/skills on GitHub, a chart by star-history.com

Other skills on skills.

fishjam

fishjam

Software Mansion's Fishjam — hosted WebRTC platform for video, audio, one-to-many livestreaming, and compositions. MUST USE…

composition

composition

Fishjam compositions: server-side, real-time mixing of several live streams (room peers, WHIP, RTMP, MP4) into new output streams…

platform

platform

Fishjam platform fundamentals — domain model and auth shared by all SDKs. Covers glossary (room, peer, track, agent, streamer,…

More skills from other plugins.

deep-code-review

deep-code-review

In-depth design-focused code review - understands codebase context before evaluating PR changes, posts structured feedback to…

expo10d53k
@expo@expoInstall Skill
modlens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif,…

modlens3w4.6k
@liustack@liustackInstall Skill
appllama-app-design-skill

appllama-app-design-sk…

Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile…

appllama2mo3.9k
@appllama@appllamaInstall Skill

Questions about detour-onboarding.

Which coding agents can use detour-onboarding?
detour-onboarding installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.