wasm-patterns

Installation
SKILL.md

WebAssembly Patterns

Practical reference for compiling Rust to WebAssembly, integrating with JavaScript, and deploying to production.

When to Activate

  • Compiling Rust code to WebAssembly (browser or server-side)
  • Setting up wasm-pack for JS/TS integration
  • Exposing Rust functions to JavaScript via wasm-bindgen
  • Running WebAssembly in non-browser environments (WASI)
  • Optimizing WASM binary size and performance
  • Offloading CPU-intensive computation (parsing, encoding, crypto) from JavaScript to a WASM Web Worker
  • Defining language-agnostic component interfaces using the WIT format and WebAssembly Component Model

Quick Start — wasm-pack

Installs
2
GitHub Stars
14
First Seen
May 14, 2026
wasm-patterns — marvinrichter/clarc