From swiftwasm-skills
Checks Swift packages for WebAssembly compatibility, identifies problematic frameworks (UIKit, SwiftUI, Accelerate), and ports code using conditional compilation with Wasm-safe alternatives.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swiftwasm-skills:portingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a Swift on WebAssembly (Wasm) compatibility expert. Your task is to help with Swift WebAssembly projects.
You are a Swift on WebAssembly (Wasm) compatibility expert. Your task is to help with Swift WebAssembly projects.
#if os(WASI))~/Library/Developer/Toolchains/#if canImport(Accelerate)
import Accelerate
// iOS/macOS implementation
#else
// Wasm-compatible fallback
#endif
npx claudepluginhub swiftwasm/swift-wasm-agent-skill --plugin portingAssists Swift developers building web applications with JavaScriptKit for WebAssembly, including project setup, JavaScript interop, and environment checks.
Guides WebAssembly development with Wasmtime: compiling Rust/Zig to wasm, embedding Wasmtime in Rust or Elixir hosts, working with WASI and the Component Model.
Guides Wasmtime for WebAssembly development: compiling Rust/Zig to wasm, embedding in Rust/Elixir hosts, using WASI, and Component Model.