Skip to content
Skill

Deep links and universal links

Gates incoming app links so only allow-listed routes open, with verified hosts

Deep links and universal links is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
16
Last commit
License
MIT
Listing updated

Similar skills

About Deep links and universal links

This skill sets up a single gate for every link that opens a React Native app, covering custom schemes, iOS universal links and Android App Links, on both cold and warm starts. The gate only opens routes listed in an allow-list, checks dynamic segments and query values by kind, drops unknown tracking parameters, and refuses oversized or repeated values. Refused cold links land on the first screen, while refused warm links change nothing.

The skill covers the pieces around that gate: a contract that lists verified hosts per app variant, generated apple-app-site-association and assetlinks.json files for hosting, and an app config helper that writes the matching associated domains and Android intent filters. Links into guarded screens wait until the guard opens and then open once. Secrets such as reset or magic-link tokens are limited to verified https links, and links never trigger actions or forward URLs.

It includes a checker script that replays hostile URLs through the gate and reports failures, plus a helper that writes or verifies the hosted well-known files. Expected inputs are an Expo Router app using expo-linking and Jest, with the app's own domains and signing details supplied by the developer.

When your agent uses it

Gates every incoming link: custom schemes, universal links (AASA), App Links (assetlinks), a route allow-list. Use when adding a deep link, scheme, associated domain or share link. Not for routes (navigation-and-routing).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 77 files (409 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the react-native plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skills

Or copy only this skill to ~/.claude/skills/deep-links-and-universal-links:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/deep-links-and-universal-links &&
cp -R "$tmp/skills/deep-links-and-universal-links" ~/.claude/skills/deep-links-and-universal-links &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/deep-links-and-universal-links inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/deep-links-and-universal-links to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/deep-links-and-universal-links &&
cp -R "$tmp/skills/deep-links-and-universal-links" ~/.agents/skills/deep-links-and-universal-links &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/deep-links-and-universal-links inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/deep-links-and-universal-links to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/deep-links-and-universal-links &&
cp -R "$tmp/skills/deep-links-and-universal-links" ~/.cursor/skills/deep-links-and-universal-links &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/deep-links-and-universal-links inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/deep-links-and-universal-links

Or copy the folder to ~/.gemini/skills/deep-links-and-universal-links yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/deep-links-and-universal-links:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/deep-links-and-universal-links &&
cp -R "$tmp/skills/deep-links-and-universal-links" ~/.copilot/skills/deep-links-and-universal-links &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/deep-links-and-universal-links inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git

Then copy ReactNative-Skills/skills/deep-links-and-universal-links into your agent's skills folder as deep-links-and-universal-links. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Single link gate
Routes every incoming URL, cold or warm, through one synchronous entry point.
Route allow-list
Lists which screens links may open, with typed path segments and query keys.
Value checks
Validates slugs, UUIDs and integers, and refuses control characters or oversized values.
Verified host contract
Keeps verified hosts per app variant and generates matching native config entries.
Hosted well-known files
Generates apple-app-site-association and assetlinks.json for deployment on each host.
Pending link handling
Holds links aimed at guarded screens until sign-in completes, then opens them once.
Link checker
Replays hostile URLs through the gate and reports FAIL lines to fix before release.

Good for

  • Add a deep link that opens a task detail screen from a shared URL
  • Set up universal links and App Links for a React Native app's domain
  • Make a password reset link open only over verified https
  • Check that hostile or malformed URLs are refused by the link gate
  • Hold a link to a signed-in screen until the user finishes sign-in

Deep links and universal links FAQ

What does Deep links and universal links need from my project?

It expects an Expo Router app with expo-linking and Jest, and it wires verified links through the app config. Domains, team ids and signing fingerprints are supplied by the developer.

Does Deep links and universal links change how links are handled in my app?

Yes. It adds one gate file at src/app/+native-intent.tsx and an allow-list of linkable routes, and it asks the developer to deploy the generated well-known files to each host.

Which link types does Deep links and universal links cover?

Custom schemes, iOS universal links through the apple-app-site-association file, and Android App Links through assetlinks.json.

Is device testing included?

The skill points to device testing guidance and a Maestro flow, but its own verification was run in Jest and config checks, not yet on a device.

How do I install Deep links and universal links in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/deep-links-and-universal-links to use it in all your projects, or to .claude/skills/deep-links-and-universal-links in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.

Does Deep links and universal links run scripts?

Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Deep links and universal links?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Deep links and universal links?

The closest alternatives to Deep links and universal links are Debug menu and test hooks, Expo router, Ci pipeline and gates, Expo router and Expo project bootstrap.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zakariaf/ReactNative-Skills

  1. Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout

    • Open source
    • 16 GitHub stars
    • Developer tools
  2. Adds a gated debug menu, debug deep link and simulated clock and offline mode to React

    • Open source
    • 16 GitHub stars
    • Developer tools
  3. Checks React Native code for accessibility labels, touch targets, text scaling

    • Open source
    • 16 GitHub stars
    • Developer tools
  4. Sells a one-time Premium unlock through the App Store and Google Play

    • Open source
    • 16 GitHub stars
    • Finance and payments
  5. Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit

    • Open source
    • 16 GitHub stars
    • Developer tools
  6. Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware

    • Open source
    • 16 GitHub stars
    • Developer tools