Detour Skills
Detour provides two AI skills that help your coding agent set up Detour or migrate to it.
Both use the open Agent Skills format, so any agent that supports it can use them. They are open source and maintained by Software Mansion in the software-mansion-labs/skills repository.
Available skills
Section titled “Available skills”Both skills cover Android, iOS, React Native and Flutter.
Installation
Section titled “Installation”Run in Claude Code:
/plugin marketplace add software-mansion-labs/skills/plugin install skills@swmansion/reload-pluginsTo update, run /plugin marketplace update swmansion.
The skills CLI works with any
supported agent, Claude Code included:
npx skills add software-mansion-labs/skillsWhen prompted, select detour-onboarding, migrate-to-detour, or both.
The CLI installs the skills into every supported agent it finds. To choose the
agents, pass --agent once per agent, for example
--agent claude-code --agent cursor. To update, run npx skills update.
Detour onboarding
Section titled “Detour onboarding”Skill name — detour-onboarding
Use it when your app has no deep linking yet. The skill guides your agent through:
- Dashboard setup, including the organization subdomain, App ID and API key
- Universal Links and App Links configuration
- SDK integration for iOS, Android, React Native and Flutter
- Analytics tracking with type-safe enums
Migrate to Detour
Section titled “Migrate to Detour”Skill name — migrate-to-detour
Use it when your app already uses Branch or AppsFlyer. The skill guides your agent through:
- Replacing the old link domain, for example
yourapp.app.linkoryourapp.onelink.me, with your Detour subdomain - Replacing the Branch or AppsFlyer callbacks with the single Detour
result.typecallback - Mapping analytics events, for example
af_purchaseorBranchEvent.Purchase, to Detour events
It works through the platforms in this order: Android, iOS, React Native, Flutter.
Testing
Section titled “Testing”Both skills end with a deferred-link test on a real device. See Testing Deferred Links.