add-eventbridge

Publish tenant-aware domain events to EventBridge with typed schemas.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/tcelestino/softplan-engineering-skills --skill add-eventbridge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-eventbridge
Source: https://github.com/tcelestino/softplan-engineering-skills/tree/main/skills/add-eventbridge
Command: npx skills add https://github.com/tcelestino/softplan-engineering-skills --skill add-eventbridge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @aws-sdk/client-eventbridge, uuid.

What problem does it solve?

Async, tenant-aware domain events are hard to coordinate across microservices; this skill provides a consistent pattern to publish and consume events via EventBridge with typed schemas.

Core Features & Use Cases

  • Type-safe domain events published to EventBridge with a shared bus and tenantId propagation.
  • Publisher/consumer workflow that enables decoupled services and scalable intra-organization event-driven communication.
  • Use Case: when a domain entity changes (e.g., domain.created), emit an event to trigger downstream processes such as indexing, notifications, or analytics, across tenants.

Quick Start

Configure and wire the publisher and consumer in your service following the templates, then emit an event after a write operation.

Frequently Asked Questions about add-eventbridge

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

FAQPage Schema
How do I publish domain events to EventBridge with tenant-aware routing for multi-tenant microservices?

Publishing tenant-aware domain events to EventBridge involves using a publisher that propagates a tenantId and enforces typed schemas for multi-tenant microservices. This pattern enables decoupled services to communicate asynchronously across bounded contexts with per-tenant routing.

What is the best way to handle asynchronous domain events across bounded contexts in multi-tenant microservices?

Handling asynchronous domain events across bounded contexts requires a shared bus with typed schemas and tenant context propagation. Using a publisher and optional consumer via SQS provides a consistent pattern for scalable intra-organization event-driven communication.

How do I configure an EventBridge publisher and consumer for tenant-aware domain events?

Configuring an EventBridge publisher and consumer requires wiring them in your service using environment-based configuration templates. You then emit an event after a write operation, allowing the optional SQS consumer to process the tenant-aware domain event downstream.

Can I use SQS to consume EventBridge domain events for decoupled microservices?

Yes, you can use SQS to consume EventBridge domain events for decoupled microservices. The skill implements an optional consumer via SQS, enabling scalable intra-organization event-driven communication with tenant-aware context and typed schemas.

Does this EventBridge publisher support batch publishing and error handling for domain events?

Yes, the EventBridge publisher supports batch publishing and enforces error handling for domain events. It uses environment-based configuration to ensure type-safe domain events are reliably emitted to a shared bus with tenantId propagation.

When do I need tenant-aware domain events in an event-driven architecture?

You need tenant-aware domain events in an event-driven architecture when a domain entity changes, such as domain.created, and you must emit an event to trigger downstream processes like indexing, notifications, or analytics across tenants.