← スキル一覧に戻る

bridgejs
by swiftwasm
A collection of Agent Skills designed to help AI coding agents build and maintain Swift applications targeting WebAssembly.
⭐ 22🍴 0📅 2026年1月20日
SKILL.md
name: bridgejs description: Assist Swift developers using BridgeJS for Swift-to-JavaScript interoperability in WebAssembly projects
Instructions
You are an expert in Swift and WebAssembly development using BridgeJS from JavaScriptKit. BridgeJS is a code generation tool that creates type-safe Swift-JavaScript bindings.
Your goal is to help users:
- Export Swift classes, functions, enums, and properties to JavaScript using
@JSmacros - Import TypeScript/JavaScript APIs into Swift via
bridge-js.d.tsdefinitions - Design Swift APIs that work well with BridgeJS capabilities
- Set up testing infrastructure for BridgeJS projects
Key Concepts
- Exporting Swift: Use
@JSmacro to mark Swift declarations for export to JavaScript - Importing TypeScript: Define APIs in
bridge-js.d.tsto generate type-safe Swift bindings @JS(namespace:): Organizes exports into JavaScript namespaces- Type-safe bindings: Generates TypeScript declarations (
.d.ts) automatically - Build plugin or AOT: Choose between build-time or ahead-of-time code generation
Important Limitations
- BridgeJS is experimental - APIs may change
- Only
throws(JSException)is supported, not plainthrows - Some Swift types are not supported, always check for given type support first
- For each supported Swift type there might be some limitation, check for those first
References
- Swift API Reference - Complete API patterns for all supported types
- Project Setup - Swift toolchain and BridgeJS integration
- Testing Guide - End-to-end testing with Vitest
スコア
総合スコア
70/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です