Bridge Js

Export Swift to JavaScript and import JavaScript/TypeScript into Swift using BridgeJS; type-safe bindings via @JS and related macros or bridge-js.d.ts; setup, config, AOT. Use when using or setting up BridgeJS, exporting Swift APIs to JS, importing JS/TS APIs into Swift, writing bridge-js.d.ts, configuring BridgeJS, or debugging BridgeJS boundaries.

49 stars 4 forksMobile Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add swiftwasm/Swift-Wasm-Agent-Skill

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add swiftwasm/Swift-Wasm-Agent-Skill --skill bridge-js
Manual install
git clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git /tmp/Swift-Wasm-Agent-Skill
mkdir -p ~/.claude/skills
cp -r /tmp/Swift-Wasm-Agent-Skill/bridge-js ~/.claude/skills/bridge-js

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# BridgeJS

BridgeJS is a code-generation layer in JavaScriptKit that makes Swift–JavaScript interop faster and easier than raw `JSObject`/`JSValue`: you declare the API shape in Swift (or TypeScript), and the tool generates glue code. Two directions: **export Swift to JavaScript** and **import JavaScript into Swift**.

## Referencing official docs

When you need details, read DocC from the **checked-out JavaScriptKit repository**: `Sources/JavaScriptKit/Documentation.docc/` when inside the JavaScriptKit repo, or `.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/Documentation.docc/` when in a project that depends on JavaScriptKit.

## Two directions

- **Export Swift**: Use `@JS` (and `@JS(namespace:enumStyle:identityMode:)`) on functions, classes, structs, enums, closures, protocols, etc. JavaScript then calls into your Swift code. See [references/exporting.md](references/exporting.md).
- **Import JavaScript**: (1) Declare bindings in Swift with `@JSFunction`, `@JSClass`, `@JSGetter`, `@JSSetter`; use `@JSGetter(from: .global)` for globals like `document`/`console`; inject other implementations via `getImports()`. See [references/importing.md](references/importing.md). (2) Or use `bridge-js.d.ts` to generate the same Swift bindings. See [references/importing-ts.md](references/importing-ts.md).

## Key concepts
Read the full skill on GitHub

Details

Skill name
bridge-js
Path
bridge-js/SKILL.md
License
MIT
Repo updated
10 August 2026

FAQ

What does the Bridge Js skill do?

Export Swift to JavaScript and import JavaScript/TypeScript into Swift using BridgeJS; type-safe bindings via @JS and related macros or bridge-js.d.ts; setup, config, AOT. Use when using or setting up BridgeJS, exporting Swift APIs to JS, importing JS/TS APIs into Swift, writing bridge-js.d.ts, configuring BridgeJS, or debugging BridgeJS boundaries.

How do I install the Bridge Js skill?

Claude Code plugin: /plugin marketplace add swiftwasm/Swift-Wasm-Agent-Skill. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bridge Js popular?

It lives in swiftwasm/Swift-Wasm-Agent-Skill, which has 49 GitHub stars and 4 forks.

Related skills

Javascriptkit

49

swiftwasm/Swift-Wasm-Agent-Skill

Assist Swift developers who consume JavaScriptKit for WebAssembly development

Software Development

Swift Wasm Porting

49

swiftwasm/Swift-Wasm-Agent-Skill

Check Swift on Wasm compatibility, identify incompatible frameworks, port and refactor code for WebAssembly

Mobile Development

Swift Uikit Skill

49

Lakr233/Swift-UIKit-Skill

Build, review, and improve programmatic UIKit applications following proven patterns for Auto Layout, table views, collection views, navigation, animation, Core Data, networking, and architecture. Use when writing new UIKit features, refactoring existing view controllers, reviewing UIKit code quality, building custom controls, or implementing common iOS design patterns like load-and-retry, onboarding, or collapsible headers.

Mobile Development

Olore Expo Latest

119

olorehq/olore

Local Expo documentation reference (latest). Expo React Native framework documentation. Use for Expo SDK, EAS Build, app configuration, navigation, native modules, and cross-platform mobile development.

Mobile Development

Write Swift

100

adriannoes/awesome-agentic-ai

How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics (some vs any), API design, performance and ARC, Swift Testing, macros, and the modern language features agents don't know about yet. Use when writing, reviewing, or migrating Swift, or when a concurrency error, a hang, a data race, a retain cycle, or a performance problem needs fixing.

Mobile DevelopmentIn 2 lists27

Olore Expo SDK 54

119

olorehq/olore

Local expo-sdk documentation reference (54). Expo SDK API reference documentation. Use for Expo module APIs, native module interfaces, and SDK-specific API details.

Mobile Development

Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.