event-driven-architect

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

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Camilo8902/GabyCosmetics --skill event-driven-architect-camilo8902
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: event-driven-architect
Source: https://github.com/Camilo8902/GabyCosmetics/tree/main/.claude/skills/event-driven-architect
Command: npx skills add https://github.com/Camilo8902/GabyCosmetics --skill event-driven-architect-camilo8902

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps design and implement event-driven architectures, enabling systems to communicate asynchronously and react to changes in a decoupled manner.

Core Features & Use Cases

  • Event Sourcing: Store system state as a sequence of immutable events.
  • CQRS (Command Query Responsibility Segregation): Separate read and write operations for optimized performance.
  • Pub/Sub Pattern: Facilitate communication between different parts of the system via an event bus.
  • Domain Events: Define and handle business-significant events within the system.
  • Use Case: Building an e-commerce platform where order creation, payment, and shipping trigger subsequent actions in inventory, notification, and analytics services without direct service-to-service calls.

Quick Start

Design an event-driven architecture for an e-commerce order system, incorporating event sourcing and CQRS.

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 for microservices?

Designing an event-driven architecture for microservices involves using an event bus for pub/sub communication and domain events, allowing services to react to changes independently without direct service-to-service calls.

What is the best way to separate read and write operations for high-traffic systems?

Separating read and write operations is best achieved using CQRS, which splits your system into optimized read models and command-based write models to improve performance and scalability.

How does event sourcing work for state management?

Event sourcing works by storing system state as a sequence of immutable domain events. You reconstruct the current state by replaying these events through aggregate handlers, ensuring robust asynchronous state management.

When do I need pub/sub patterns in a decoupled system?

You need pub/sub patterns when building decoupled systems like e-commerce platforms, enabling actions such as order creation to trigger inventory and analytics updates asynchronously through an event bus.

Can I use CQRS and event sourcing together for scalable applications?

Yes, you can use CQRS and event sourcing together to build scalable applications. Writing commands generates immutable events that update the write model, while asynchronous handlers project these events into optimized read models.

Why use domain events instead of direct service-to-service calls in microservices?

Using domain events instead of direct service-to-service calls facilitates asynchronous communication, preventing cascading failures and allowing independent services to scale and react to business changes without tight coupling.