principle-event-driven
CommunityDesign resilient event-driven systems
Software Engineering#event-driven#idempotency#cqrs#event sourcing#sagas#outbox pattern#dead letter queues
Authorlugassawan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Event-driven architecture principles prevent distributed systems from failing silently when events are delivered asynchronously, duplicated, or evolve over time.
Core Features & Use Cases
- Event Sourcing discipline: model state changes as an append-only immutable event log and rebuild state via replayable projections, using snapshots to control replay cost.
- CQRS separation: split command-side writes from query-side reads to enable denormalized, query-optimized projections while treating consistency lag as a contract.
- Safe saga workflows: choose choreography vs orchestration and implement idempotent compensation steps for long-running distributed transactions.
- Reliable consumer processing: design partitioning for ordering guarantees, implement idempotent handlers to survive at-least-once delivery, and use the outbox pattern to avoid dual-write failures.
- Operational resilience: configure dead letter queues (DLQs), emit structured alerts, and plan replay SLAs for poison messages.
- Event schema evolution: enforce backward compatibility rules and require versioned event types with dual-publish periods for breaking changes.
Quick Start
When designing an event-driven system, ask your AI to review your proposed topics, partition key strategy, consumer group design, idempotency approach, outbox/DLQ plan, and schema evolution strategy for correctness and operational safety.
Dependency Matrix
Required Modules
None requiredComponents
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: principle-event-driven Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#principle-event-driven Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.