state-schema

Official

Define typed state schemas for durable streaming

Authordurable-streams
Version1.0.0
Installs0

System Documentation

What problem does it solve?

State schemas let developers define typed collections over durable streams, ensuring data validation, consistent event types, and reliable change tracking.

Core Features & Use Cases

  • Typed schemas with Zod, Valibot, or custom Standard Schema validators.
  • Helpers to create insert, update, delete, and upsert events with type safety.
  • Transaction ID support for write confirmation and replayability.
  • Validation against duplicate event types and reserved collection names.

Quick Start

Create a state schema for users and messages, then generate an insert event for a new user.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: state-schema
Download link: https://github.com/durable-streams/durable-streams/archive/main.zip#state-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.