
from surreal-skills28
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.
Surrealism is a skill for building Rust-based WASM extensions for SurrealDB 3. It provides a clean quickstart guide covering project setup, Rust annotation, WASM compilation via `surreal module compile`, and SurrealQL registration. No scripts were bundled so only static analysis was performed. The SKILL.md defers heavily to an external rules/surrealism.md file for full documentation, making the standalone skill incomplete. Example code demonstrates `--pass root` which is a minor security concern in example context.
Skill is a documentation/quickstart guide only — no scripts. Relies on external rules file not included in skill body. Minor security note: example uses --pass root with hardcoded credentials.