aggregate-root

Official

Implement robust DDD aggregates with confidence.

Authordairectiv
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides developers to implement Domain-Driven Design aggregates with rich behavior, ensuring robust invariants, state transitions, and comprehensive tests.

Core Features & Use Cases

  • Rich Domain Model: Encapsulates business logic within aggregates to prevent anemic designs.
  • Domain Events & Invariants: Provides patterns for emitting events on state changes and guarding invariants.
  • Testing Guidance: Includes exhaustive testing strategies for lifecycle, behavior, and events.

Quick Start

Review the aggregate-root example and adapt its structure to your domain to create a new aggregate or modify an existing one, then implement tests following the guidance.

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: aggregate-root
Download link: https://github.com/dairectiv/dairectiv/archive/main.zip#aggregate-root

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 223,000+ vetted skills library on demand.