event-sourcing
CommunityBuild deterministic game state with event sourcing.
Software Engineering#typescript#cqrs#audit-trail#event-sourcing#reducer#deterministic-replay#immutable-state
AuthorAndreaCadonna
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Event sourcing models state as a sequence of immutable events rather than mutable state, enabling a complete audit trail and deterministic replay for debugging and recovery.
Core Features & Use Cases
- Immutable state with an action log as the source of truth
- Validation separation from reducers to keep state transitions pure
- Snapshotting and replay mechanisms for scalable long-running systems
- Typified actions and events (discriminated unions) for strong typing in TypeScript
- Applicable to game engines, workflows, and any domain needing auditability and replay
Quick Start
Create an initial state, define a typed action log, and replay a sequence of actions to produce the final state.
Dependency Matrix
Required Modules
None requiredComponents
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: event-sourcing Download link: https://github.com/AndreaCadonna/sbobuz-web-game-app/archive/main.zip#event-sourcing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.