event-driven-architecture
Installation
SKILL.md
event-driven-architecture
Goal
Architect distributed, decoupled systems using Event-Driven Architecture (EDA) patterns like Pub/Sub, Event Sourcing, and CQRS.
Steps
- Event Modeling: Identify domain events and map out producer/consumer relationships.
- Broker Design: Select the appropriate messaging tech (Kafka, RabbitMQ, SQS) based on throughput and ordering constraints.
- Schema Registry: Define strongly typed schemas (Avro, Protobuf, JSON Schema) for all events.
- Verification: Validate that idempotent consumers are implemented to handle at-least-once delivery semantics.
Security & Guardrails
1. Skill Security
- Schema Poisoning: Prevent the skill from executing dynamic code attached to event payloads when simulating event flows.
- Topology Overload: Limit the visual diagram generation (e.g., Mermaid) to prevent generating massively complex graphs that crash the markdown renderer.
2. System Integration Security
- Event Tampering: All events traversing untrusted boundaries must be digitally signed to guarantee origin and integrity.
- Dead Letter Security: Ensure sensitive data (PII/PCI) in failed events is masked or encrypted before being dumped into a Dead Letter Queue (DLQ).