Skip to content
Back to skills

Event Driven Architecture

ASecurity

Event-driven design — event notification vs event-carried state transfer, event schemas and registries, choreography vs orchestration, ordering and partition keys, versioning, consumers' idempotency, observability of async flows. Use to design integrations through events (event-driven, pub/sub, choreography, event schema, async integration).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgoreact

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill event-driven-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Event Driven Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Event Driven Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-event-driven-architecture/badge)](https://www.skillsdirectory.com/skills/vectora-os-event-driven-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: event-driven-architecture
description: Event-driven design — event notification vs event-carried state transfer, event schemas and registries, choreography vs orchestration, ordering and partition keys, versioning, consumers' idempotency, observability of async flows. Use to design integrations through events (event-driven, pub/sub, choreography, event schema, async integration).
metadata:
  category: architecture
---

# Event-driven architecture

## Purpose

Decouple producers and consumers with well-governed events.

**Use when:** domains must react to each other without tight coupling.

**Not for:** request/response needs with immediate answers.

## Inputs

- Domain events, consumers, ordering needs.

## Outputs

- Event catalog with schemas, topology, versioning rules.

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "event-driven architecture"` for prior decisions, patterns and anti-patterns.

## Steps

1. **Events.** Define events as facts with owners and schemas in a registry.
   Done when each event has an owner and schema.
2. **Topology.** Choose choreography or orchestration per flow.
   Done when long flows have an explicit owner.
3. **Ordering.** Pick partition keys preserving needed order.
   Done when ordering needs are met.
4. **Evolution.** Backward-compatible changes only; new versions for breaking.
   Done when compatibility rules are enforced.

## Best practices

- Producers own schemas.
- Trace context in headers.
- Use the outbox for publishing.

## Common mistakes

- Events as remote procedure calls.
- No schema governance.

## Example

`OrderPlaced` v1 with Avro schema, keyed by orderId; consumers: billing, analytics, email; trace propagated.

## Reusable prompt

```text
Apply the Event-driven architecture skill (.agents/skills/event-driven-architecture/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Design the event catalog, topology, partitioning and versioning rules for the integration.
Return: Event catalog with schemas, topology, versioning rules..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.