event-driven-architecture

Orchestrate decoupled services with event-driven patterns and message queues.

20|3|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/DVNghiem/FlowDeck --skill event-driven-architecture-dvnghiem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: event-driven-architecture
Source: https://github.com/DVNghiem/FlowDeck/tree/main/src/skills/event-driven-architecture
Command: npx skills add https://github.com/DVNghiem/FlowDeck --skill event-driven-architecture-dvnghiem

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design and implement event-driven patterns that enable asynchronous, decoupled services and scalable, resilient architectures.

Core Features & Use Cases

  • Guidance on selecting messaging patterns (Pub/Sub, queues, streaming) for distributed systems.
  • Techniques for event schema design, idempotent processing, and durability guarantees.
  • Use Case: build an order-processing pipeline with events, handlers, and replay capabilities.

Quick Start

Provide a minimal event-driven example workflow for an order processing pipeline.

Frequently Asked Questions about event-driven-architecture

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

FAQPage Schema
How do I design an event-driven architecture for asynchronous order processing?

An event-driven architecture orchestrates decoupled services for asynchronous order processing by defining event schemas, idempotent handlers, and message queues to ensure durable, resilient service communication.

How do I ensure idempotent processing and durability in event streams?

To ensure idempotent processing and durability in event streams, design robust event schemas, implement replay capabilities, and apply compensation mechanisms to handle errors while maintaining data integrity across distributed services.

What is the best way to choose between pub sub, queues, and streaming for distributed systems?

Choosing between pub sub, queues, and streaming depends on your integration requirements: pub sub broadcasts events to multiple subscribers, queues manage point-to-point workloads, and streaming enables continuous event stream processing.

Can I build a real-time analytics pipeline using event-driven design patterns?

Yes, you can build a real-time analytics pipeline using event-driven design patterns by leveraging event streams and topics to capture user activity tracking data asynchronously across decoupled service boundaries.

How do I handle error handling and replay capabilities in an event-driven pipeline?

Handle errors in an event-driven pipeline by implementing compensation mechanisms and utilizing replay capabilities to reprocess failed events, ensuring durable message delivery and consistent state recovery across services.

When should I not use event-driven patterns for service boundaries?

Avoid event-driven patterns when strict synchronous consistency is required across service boundaries, as the asynchronous nature of message queues and event streams introduces eventual consistency and potential replay complexity.