Skip to content

a5c-ai/babysitter / library/specializations/code-migration-modernization/skills/event-sourcing-migrator

event-sourcing-migrator

Verified

Migrate to event-sourcing architecture with event extraction, store setup, and CQRS implementation

FileKindSize
README.mdmarkdown1.4 KB
SKILL.mdskill md2.5 KB
# Event Sourcing Migrator Skill

## Overview

The Event Sourcing Migrator skill helps migrate to event-sourcing architecture. It extracts events from existing data, sets up event stores, and implements CQRS patterns.

## Quick Start

### Prerequisites

- Event store infrastructure
- Domain model understanding
- Migration strategy

### Basic Usage

1. **Analyze current state**
   - Map data models
   - Identify events
   - Plan projections

2. **Extract events**
   - Generate from current data
   - Create event streams
   - Verify completeness

3. **Set up CQRS**
   - Implement commands
   - Build projections
   - Test consistency

## Features

### Migration Approaches

| Approach | Description | Complexity |
|----------|-------------|------------|
| Big Bang | All at once | High |
| Incremental | Stream by stream | Medium |
| Parallel | Run both systems | High |
| Synthetic | Generate history | Medium |

### Components

- Event Store
- Command Handlers
- Event Handlers
- Projections
- Snapshots

## Configuration

```json
{
  "eventStore": {
    "type": "eventstoredb",
    "connection": "esdb://localhost:2113"
  },
  "migration": {
    "approach": "incremental",
    "generateHistory": true,
    "snapshotInterval": 100
  },
  "projections": {
    "rebuild": true,
    "parallel": 4
  }
}
```

## Related Documentation

- [SKILL.md](./SKILL.md) - Full skill specification
- [Event Sourcing](https://martinfowler.com/eaaDev/EventSourcing.html)
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall