add-domain-event

Community

Domain events and handlers for cache consistency.

Authortthanhtung9922
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Coordinating domain events and handlers across aggregates is error-prone without a structured pattern for cache invalidation and cross-aggregate side effects.

Core Features & Use Cases

  • Define domain events as records that raise in aggregates and trigger handlers across layers.
  • Provide ready-made patterns for cache invalidation, notifications, and cross-aggregate side effects.
  • Use in a blog platform to attach events like PostPublishedEvent and UserRegisteredEvent with corresponding handlers.

Quick Start

Create a new event by defining an Event record and then add handlers to respond to it across the application.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-domain-event
Download link: https://github.com/tthanhtung9922/blog-platform/archive/main.zip#add-domain-event

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.