sysdesign-dual-write-event-sourcing

Community

Guide dual-write tradeoffs clearly.

Authordanilods
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guides design teams through dual-write decisions where a single user action updates two data stores. This skill helps assess when to adopt patterns such as transactional outbox, change data capture (CDC), or event sourcing, and ensures a clear source of truth and guardrails before decisions are made.

Core Features & Use Cases

  • Identify and name the dual-write anti-pattern, framing the decision space around two-store writes.
  • Compare three alternatives (transactional outbox, CDC, event sourcing) with a structured scoring approach and explicit tradeoffs.
  • Produce artifacts (ADR with a trade-off table, diagrams, and a risk/reconciliation plan) to guide implementation decisions.

Quick Start

Map the current two-store write path, evaluate the three alternatives, and document the chosen pattern with an ADR before prototyping.

Dependency Matrix

Required Modules

None required

Components

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: sysdesign-dual-write-event-sourcing
Download link: https://github.com/danilods/matilha-sysdesign-pack/archive/main.zip#sysdesign-dual-write-event-sourcing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.