create-snapshot

Installation
SKILL.md

Snapshot Generator

Creates Snapshot infrastructure for optimizing event sourcing aggregate rebuilds.

When to Use

Scenario Example
Long event streams Aggregates with 100+ events in their history
Slow aggregate rebuild Event replay taking too long for read operations
Frequent reads Aggregates loaded many times per second
Large aggregates Complex state requiring many events to reconstruct

Component Characteristics

Snapshot

  • Immutable state capture of an aggregate at a point in time
  • Properties: aggregateId, aggregateType, version, state (JSON), createdAt
  • Supports fromArray() / toArray() for serialization
Related skills
Installs
4
GitHub Stars
71
First Seen
Mar 17, 2026