eho/agent-skills

expo-native-module-bridges

Implement or debug JavaScript-to-native argument handling in Expo Modules. Use when Swift Function or AsyncFunction calls fail before reaching the native API, especially with raw dictionaries, numeric values, swallowed promise rejections, or stale native builds.

First seen Jul 30, 2026

Installation

$ npx skills add eho/agent-skills --skill expo-native-module-bridges

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from eho/agent-skills · top by installs.

npx skills add eho/agent-skills

Browse all from eho/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,158 B
  • docs SUMMARY.md 296 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Expo Native Module Bridges

Prefer typed Expo arguments or Record types over raw [String: Any] dictionaries.

Remember that JavaScript numbers arrive through Expo's JSI bridge as Swift Double. A raw as? Int cast can therefore reject a valid JavaScript integer before the platform API is called. When an exact integer is required, validate that the Double is finite, integral, and in range before converting it.

Test bridge-facing parsers with realistic Double fixtures, plus malformed, non-finite, and boundary inputs. Ensure rejected AsyncFunction promises are surfaced by the JavaScript caller.

After changing native Swift or module definitions, rebuild and reinstall the native app. When diagnosis is ambiguous, compare the bridge path with a known-good native control path that exercises the same platform capability.