AgentSkillsCN

event-store-design

为事件溯源系统设计并实施事件存储。无论是构建事件溯源基础架构、选择事件存储技术,还是落实事件持久化模式,这一方法都能为你提供清晰的指导。

SKILL.md
--- frontmatter
version: 4.1.0-fractal
name: event-store-design
description: Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

Event Store Design

Comprehensive guide to designing event stores for event-sourced applications.

Do not use this skill when

  • The task is unrelated to event store design
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Use this skill when

  • Designing event sourcing infrastructure
  • Choosing between event store technologies
  • Implementing custom event stores
  • Optimizing event storage and retrieval
  • Setting up event store schemas
  • Planning for event store scaling

Core Concepts

🧠 Knowledge Modules (Fractal Skills)

1. 1. Event Store Architecture

2. 2. Event Store Requirements

3. Template 1: PostgreSQL Event Store Schema

4. Template 2: Python Event Store Implementation

5. Template 3: EventStoreDB Usage

6. Template 4: DynamoDB Event Store

7. Do's

8. Don'ts