event-driven-architect

Design event-driven architectures with domain events, CQRS, pub/sub, and event sourcing.

5|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/patricio0312rev/skillset --skill event-driven-architect-patricio0312rev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: event-driven-architect
Source: https://github.com/patricio0312rev/skillset/tree/main/templates/backend/event-driven-architect
Command: npx skills add https://github.com/patricio0312rev/skillset --skill event-driven-architect-patricio0312rev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traditional monolithic architectures create tight coupling between services, hinder scalability, and complicate evolution. This skill guides you to design decoupled systems using event-driven patterns to enable reactive, scalable behavior.

Core Features & Use Cases

  • Event sourcing design: capture state changes as a sequence of events for auditability and replayability.
  • CQRS and separate command/query models: optimize writes and reads with projections.
  • Domain events and pub/sub: enable loose coupling, real-time reactions, and scalable integrations.
  • Read-model projections: keep query models in sync and support fast reads.

Quick Start

Describe a minimal event-driven architecture for a decoupled system and outline its core components.

Frequently Asked Questions about event-driven-architect

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

FAQPage Schema
How do I design an event-driven architecture to decouple microservices?

To design an event-driven architecture, you structure services around domain events and an adaptable event bus, enabling loose coupling and scalable integrations. This allows microservices to react independently to state changes.

What is event sourcing and when do I need it for state changes?

Event sourcing captures state changes as a sequence of immutable events for auditability and replayability. You need it when systems require strict historical tracking or the ability to reconstruct past states.

How do I implement CQRS and separate read-model projections?

Implementing CQRS separates command and query models, optimizing writes and reads. Read-model projections are updated via events to keep query models in sync and support fast, scalable reads.

Can I use pub/sub domain events for real-time analytics and data pipelines?

Yes, pub/sub domain events enable loose coupling and real-time reactions across microservices, data pipelines, and real-time analytics. The architecture enforces type-safe events to ensure reliable data flow.

When should I not use event-driven architecture for my system?

Avoid event-driven architecture when tight synchronous coupling is required or when systems do not need scalable, reactive behavior. It adds complexity through event storage and projections, which may be unnecessary for simple applications.