Agent skill · software engineering · secondsky
cloudflare-workers-multi-lang
Multi-language Workers development with Rust, Python, and WebAssembly. Use when building Workers in languages other than JavaScript/TypeScript, or when integrating WASM modules for performance-critical code.
Why this skill is useful
Provides specific integration patterns and error handling for multi-language Cloudflare Workers that the AI wouldn't reliably generate on its own.
What it needs
Requires cargo installed locally. About 3k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.
What this skill does
Multi-Language Workers Development Build Cloudflare Workers using Rust, Python, or WebAssembly for performance-critical operations. Language Comparison Feature JavaScript/TS Rust Python --------- --------------- ------ -------- Startup Fast Fastest (WASM) Moderate CPU Perf Good Excellent Good Memory Higher Lower Higher Bundle Size Smaller Medium Larger Type Safety Optional (TS) Strict Optional Best For General apps CPU-intensive Data/ML Quick Decision Top 10 Multi-Lang Errors Error Language Cause Solution ------- ---------- ------- ---------- WebAssembly.instantiate() failed Rust Invalid WASM Check wasm-pack build output Module parse failed: Unexpected token Rust ESM/CJS mismatch Use --target bundler Cannot find module Python Missing dep Add to pyproject.toml Out of memory All Large WASM Enable streaming instantiation Exceeded CPU time limit All Long computation Chunk processing wasm-bindgen version mismatch Rust Dep conflict Align versions in Cargo.toml RuntimeError: unreachable Rust Panic in WASM Add proper error handling TypeError: not a function Rust Missing export Add #[wasmbindgen] attribute Python worker startup timeout Python Slow init Minimize imports SharedArrayBuffer not supported All Security Add COOP/COEP headers Rust Quick Start Python Quick Start (Workers for Platforms) WASM Module Integration When to Load References Reference Load When ----------- ----------- references/rust-workers.md Building Workers with Rust/WASM references/python-workers.md Using Python on Workers for Platforms references/wasm-integration.md Integrating WASM modules in any Worker Performance Tips 1. WASM Initialization: Cache instance, use streaming 2. Memory: Use typed arrays for data transfer 3. Bundle Size: Enable LTO, strip debug info 4. Cold Starts: Keep WASM modules small 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills secondsky/cloudflare-workers-multi-lang