skill-arch-event-driven

Design event-driven architectures with patterns for CQRS, Sagas, and idempotent handlers.

4|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/ryan-nguyen-01/agent-platform --skill skill-arch-event-driven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-arch-event-driven
Source: https://github.com/ryan-nguyen-01/agent-platform/tree/main/.claude/skills/skill-arch-event-driven
Command: npx skills add https://github.com/ryan-nguyen-01/agent-platform --skill skill-arch-event-driven

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Event-driven architectures pose complexity in designing, coordinating, and operating scalable services; this Skill provides a structured set of patterns and best practices.

Core Features & Use Cases

  • Event design guidelines: domain vs integration events, naming conventions, and envelopes.
  • Event Sourcing, CQRS, and Saga patterns: modeling streams, projections, and compensation.
  • Idempotency and DLQ strategies: ensuring safe retry and failure handling across distributed services.

Quick Start

Configure services to publish and subscribe to domain events using a shared schema and an orchestrator to coordinate long-running workflows.

Frequently Asked Questions about skill-arch-event-driven

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

FAQPage Schema
How do I implement a saga pattern for cross-service workflows in event-driven architecture?

To implement a saga pattern in event-driven architecture, configure services to publish and subscribe to domain events using a shared schema and an orchestrator to coordinate long-running workflows. This structures cross-service coordination and tracks compensation across distributed systems.

What is the difference between domain and integration events in microservices?

Domain events in microservices represent state changes within a single service boundary, while integration events are used to propagate state changes across service boundaries. This distinction requires clear event types, shared schemas, and specific naming conventions for reliable cross-service communication.

How do I ensure idempotency for event handlers in distributed systems?

To ensure idempotency for event handlers in distributed systems, apply robust patterns for ordering, retries, and compensations alongside Dead Letter Queue (DLQ) strategies. This guarantees safe retry and failure handling across microservices without duplicating side effects.

When should I use event sourcing with CQRS in microservices?

You should use event sourcing with CQRS in microservices when building audit trails or modeling complex domain streams. This approach separates read projections from write models, enabling scalable cross-service workflow tracking and reconstructing system state from event streams.

What are the limitations of event-driven architecture for microservices?

Limitations of event-driven architecture for microservices include managing complexity in designing, coordinating, and operating scalable services. Without clear event types, schemas, and robust patterns for ordering and retries, distributed workflows become difficult to track and debug.