Skip to content
Development
Skill

/architecture-paradigm-event-driven

Applies event-driven async messaging to decouple producers and consumers. Use when designing real-time or multi-subscriber systems needing loose coupling.

From plugin
claude-night-market
343200 skills60 agents162 commands1 MCP

Claude Code

$ npx -y skills add athola/claude-night-market --skill architecture-paradigm-event-driven --agent claude-code

SKILL.md

architecture-paradigm-event-driven.SKILL.md
name: architecture-paradigm-event-driven
description: Applies event-driven async messaging to decouple producers and consumers. Use when designing real-time or multi-subscriber systems needing loose coupling.
alwaysApply: false
category: architectural-pattern
tags:
- architecture
- event-driven
- asynchronous
- decoupling
- scalability
- resilience
dependencies: []
tools: []
usage_patterns:
- paradigm-implementation
- real-time-processing
- system-extensibility
complexity: high
estimated_tokens: 800

The Event-Driven Architecture Paradigm

When To Use

  • Building async, loosely-coupled systems
  • Systems with complex event processing pipelines

When NOT To Use

  • Simple request-response applications without async needs
  • Systems requiring strong transactional consistency

When to Employ This Paradigm

  • For real-time or bursty workloads (e.g., IoT, financial trading, logistics) where loose coupling and asynchronous processing are beneficial.
  • When multiple, distinct subsystems must react to the same business or domain events.
  • When system extensibility is a high priority, allowing new components to be added without modifying existing services.

Adoption Steps

1. **Model the Events**: Define canonical event schemas, establish a clear versioning strategy, and assign ownership for each event type. 2. **Select the Right Topology**: For each data flow, make a deliberate choice between choreography (e.g., a simple pub/sub model) and orchestration (e.g., a central controller or saga orchestrator). 3. **Engineer the Event Platform**: Choose the appropriate event brokers or message meshes. Configure critical parameters such as message ordering, topic partitions, and data retention policies. 4. **Plan for Failure Handling**: Implement production-grade mechanisms for handling message failures, including Dead-Letter Queues (DLQs), automated retry logic, idempotent consumers, and tools for replaying events. 5. **Instrument for Observability**: Implement detailed monitoring to track key metrics such as consumer lag, message throughput, schema validation failures, and the health of individual consumer applications.

Key Deliverables

  • An Architecture Decision Record (ADR) that documents the event taxonomy, the chosen broker technology, and the governance policies (e.g., for naming, versioning, and retention).
  • A centralized schema repository with automated CI validation and consumer-driven contract tests.
  • Operational dashboards for monitoring system-wide throughput, consumer lag, and DLQ depth.

Risks & Mitigations

  • **Hidden Coupling through Events**:
  • **Mitigation**: Consumers may implicitly depend on undocumented event semantics or data fields. Publish a formal event catalog or schema registry and use linting tools to enforce event structure.
  • **Operational Complexity and "Noise"**:
  • **Mitigation**: Without strong observability, diagnosing failed or "stuck" consumers is extremely difficult. Enforce the use of distributed tracing and standardized alerting across all event-driven components.
  • **"Event Storming" Analysis Paralysis**:
  • **Mitigation**: While event storming workshops are valuable, they can become unproductive if not properly managed. Keep modeling sessions time-boxed and focused on high-value business contexts first.

Concrete Components

Vocabulary for the tools and abstractions an implementation of this paradigm tends to carry. Not dependencies, and not ``tools:`` frontmatter.

  • ``message-broker``: Kafka, NATS, RabbitMQ; the durable channel between producers and consumers
  • ``event-stream-processor``: Flink, Faust, or similar; consumes streams and emits derived events
  • ``distributed-tracing``: OpenTelemetry-style correlation IDs across asynchronous hops

Exit Criteria

  • [ ] An ADR is produced documenting the event taxonomy, chosen broker technology, naming

conventions, versioning policy, and data retention settings.

  • [ ] A centralized schema repository or registry exists with CI validation that blocks

unregistered event schemas from reaching production.

  • [ ] Dead-Letter Queue (DLQ) configuration and retry policy are specified for every consumer

before any consumer is deployed.

  • [ ] Observability dashboards cover at minimum: consumer lag, message throughput, schema

validation failure rate, and DLQ depth.

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other skills on claude-night-market.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about architecture-paradigm-event-driven.

Which coding agents can use architecture-paradigm-event-driven?
architecture-paradigm-event-driven installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.