hex-spacetime

Scaffold SpacetimeDB WASM modules with Cargo.toml and lib.rs templates.

4|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/gaberger/hex --skill hex-spacetime
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hex-spacetime
Source: https://github.com/gaberger/hex/tree/main/.claude/skills/hex-spacetime
Command: npx skills add https://github.com/gaberger/hex --skill hex-spacetime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured guide to scaffold and develop SpacetimeDB WASM modules within the hex ecosystem, streamlining module development workflows and ensuring consistent patterns.

Core Features & Use Cases

  • Module scaffolding: Templates and conventions for creating new spacetime-modules with Cargo.toml and lib.rs scaffolds.
  • Bridge-pattern I/O guidance: Clear patterns for offloading filesystem/network I/O to hex-nexus via reducers and shared tables.
  • Deployment & publishing workflow: Step-by-step guidance to build, publish, and generate client bindings for SpacetimeDB modules.

Quick Start

Scaffold a new spacetime module named hex-spacetime and set up its Cargo.toml and lib.rs templates for WASM deployment.

Frequently Asked Questions about hex-spacetime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a SpacetimeDB WASM module in a hex project?▼

To scaffold a SpacetimeDB WASM module, this Skill templates the Cargo.toml and lib.rs files, establishing a standardized project structure for module development within hex projects.

What is the bridge pattern for SpacetimeDB module I/O?▼

The bridge pattern offloads filesystem and network I/O operations to hex-nexus using reducers and shared tables, ensuring safe module execution without direct system access.

How do I define reducers in a SpacetimeDB WASM module?▼

Reducers are defined using a frontmatter-based entry definition enforced by the module scaffold, codifying safe I/O through bridge patterns and subscriptions for hex-nexus communication.

Can I use optional resource directories when developing spacetime modules?▼

Yes, module scaffolding supports optional resource directories, allowing developers to organize static assets alongside the core Cargo.toml and lib.rs templates.

What is the best way to publish a SpacetimeDB WASM module?▼

The best way to publish is following the provided step-by-step workflow to build, publish, and generate client bindings for your SpacetimeDB modules from within the hex ecosystem.