event-store-design

Guide event store schema design and append-only persistence for event-sourced applications.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/voidrot/agents --skill event-store-design-voidrot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: event-store-design
Source: https://github.com/voidrot/agents/tree/main/skills/database/event-store-design
Command: npx skills add https://github.com/voidrot/agents --skill event-store-design-voidrot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for designing event stores and implementing append-only event persistence, which is essential for event-sourced systems.

Core Features & Use Cases

  • Event Store Design: Offers best practices for schema design, versioning, and concurrency strategies.
  • Storage Technology Selection: Assists in choosing the right storage solution like EventStoreDB, PostgreSQL, Kafka, or DynamoDB.
  • Stream Modeling: Provides guidance on modeling streams, global positions, and subscriptions.
  • Use Case: Use this Skill when you are designing a new event-sourced system or looking to optimize an existing one.

Quick Start

Use the event-store-design skill to help design a PostgreSQL-based event store schema.

Frequently Asked Questions about event-store-design

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

FAQPage Schema
How do I design an event store schema for event sourcing?

Designing an event store schema involves structuring an append-only log for event persistence. This skill guides schema design, focusing on robust concurrency strategies, event versioning, and idempotency for event-sourced systems.

What is the best way to model streams in an event-sourced system?

Modeling streams in an event-sourced system requires defining global positions and subscription strategies. This skill provides guidance on stream modeling to ensure robust append-only event logging and efficient event persistence.

Can I use PostgreSQL for event store design instead of EventStoreDB?

Yes, PostgreSQL can be used for event store design. This skill assists in storage technology selection between options like EventStoreDB, PostgreSQL, Kafka, and DynamoDB based on your specific data persistence requirements.

How do I handle event versioning and idempotency in database architecture?

Handling event versioning and idempotency in database architecture requires specific schema design practices. This skill offers best practices for implementing these concurrency and versioning strategies within an append-only event store.

When do I need an append-only event logging architecture?

You need an append-only event logging architecture when building event-sourced applications requiring robust state reconstruction. This skill is suitable for designing new event-sourced systems or optimizing existing database architecture.