
from surreal-skills16
Guides building Rust-based WASM extensions for SurrealDB 3: compile Rust to WebAssembly, register modules, and call functions from SurrealQL.
Provides step-by-step guidance to author, compile, and deploy Rust-based WebAssembly (WASM) extensions for SurrealDB 3. The skill explains the development workflow (annotate Rust functions, compile to WASM, register modules with DEFINE MODULE/BUCKET) and offers quick-start commands and examples to call extension functions from SurrealQL.
Use this skill when you need custom database-side functions not available in core SurrealDB — e.g., domain-specific transformations, complex numeric processing, or leveraging Rust crates for specialized logic. It's aimed at developers who want to extend SurrealDB with compiled modules for performance or access to native Rust libraries.
surreal module compile command.This skill targets coding agents and developer workflows (Claude Code, Codex, Copilot, Cursor, Gemini CLI) that assist with Rust/WASM build tasks and SurrealDB integration. It is implementation-focused and suitable for agents that can run build commands and edit code.
This skill has not been reviewed by our automated audit pipeline yet.