Agent skill · personamanagmentlayer
webassembly-expert
Create production-ready WebAssembly modules for web and server environments with optimal performance and seamless JavaScript integration. Use when the user mentions WebAssembly or Wasm, WASI, compiling Rust/C/C++ to the browser, Emscripten, wasmtime, or JavaScript-to-Wasm interop for performance-critical code.
What it needs
About 3k tokens when loaded.
What this skill does
WebAssembly Expert Create production-ready WebAssembly modules for web and server environments with optimal performance and seamless JavaScript integration. Learning Objectives Master WebAssembly module development and compilation Build high-performance WASM applications from Rust and C++ Implement WASI for system-level capabilities Optimize WASM for size and execution speed Integrate WASM with JavaScript and web browsers Prerequisites Strong Rust or C++ programming skills Understanding of low-level systems programming Knowledge of web technologies (JavaScript, browsers) Familiarity with compilation toolchains Core Concepts WebAssembly (WASM) Binary instruction format designed as portable compilation target for high-level languages. Provides near-native performance in web browsers and enables code reuse across platforms. WASI (WebAssembly System Interface) System interface specification enabling WASM to run outside browsers with access to system resources (files, network, environment) in a secure, sandboxed manner. Memory Management Linear memory model where WASM modules access contiguous byte arrays. Requires careful management of memory allocation, deallocation, and sharing between WASM and JavaScript. Compilation Targets Languages like Rust, C++, C, Go, and AssemblyScript can compile to WASM. Each provides different toolchains (rustc, Emscripten, TinyGo) with varying levels of optimization. JavaScript Interop Bidirectional communication between WASM and JavaScript through imported/exported functions, shared memory, and typed arrays. Requires careful data marshalling and type conversions. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills personamanagmentlayer/webassembly-expert