wasm
WebAssembly (WASM) integration, WASI, component model, Rust/Go to WASM compilation. Use when implementing WASM modules, browser/edge compute, or polyglot runtime.
How do I install this agent skill?
npx skills add https://github.com/thebeardedbearsas/claude-craft --skill wasmIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides educational information and code examples for WebAssembly (WASM), WASI, and the component model. It contains no malicious code or suspicious instructions.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
WebAssembly (WASM) — Component Model, WASI
WASM pour performance critique, polyglot runtime, edge computing.
Use Cases
Browser — Crypto, image (Figma, Google Earth)
Edge — Cloudflare Workers, Fastly
Server — Plugins sandboxés (Envoy)
Embedded — IoT, automotive
Compilation
Rust — wasm-pack (~50KB, perf)
Go — GOOS=js GOARCH=wasm (~2MB)
C/C++ — Emscripten (legacy)
AssemblyScript — TypeScript-like
Rust to WASM
use wasm_bindgen::prelude::*;
#[wasm_bindgen] pub fn add(a: i32, b: i32) -> i32 { a + b }
wasm-pack build --target web
import init, { add } from './pkg/wasm.js';
await init(); add(2, 3);
WASI (System Interface)
rustc --target wasm32-wasi main.rs -o app.wasm
wasmtime app.wasm
Component Model
interface math { add: func(a: s32, b: s32) -> s32 }
Compose Rust/Go/C++ modules typés.
Edge (Cloudflare)
import wasm from './processor.wasm';
export default {
async fetch(req) {
const inst = await WebAssembly.instantiate(wasm);
return new Response(inst.exports.process(req.body));
}
};
Runtimes
Wasmtime — Fast, WASI
Wasmer — Universal
WasmEdge — Edge, K8s
Voir @.claude/skills/edge-computing/SKILL.md
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/thebeardedbearsas/claude-craft/wasm">View wasm on skillZs</a>