implement-ddd-aggregate

Community

Turn domain rules into robust, eventful aggregates.

Authormariotoffia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured blueprint for building Domain-Driven Design aggregates following Clean Architecture, ensuring invariants, events, and clear boundaries are enforced in the domain model.

Core Features & Use Cases

  • Value objects and invariants: Define immutable value objects with validated constructors to enforce business rules.
  • Domain events and aggregates: Implement an aggregate root that raises events and maintains consistency boundaries.
  • Repository port and use cases: Outline a port for persistence and an application service to orchestrate use cases.
  • Use-case oriented workflows: Use cases coordinate loading, executing domain logic, and persisting results in a transaction-like boundary.

Quick Start

Provide a domain problem with clear business rules, then follow the steps to implement the aggregate, load it via a repository, apply commands, and persist events.

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: implement-ddd-aggregate
Download link: https://github.com/mariotoffia/gobridge/archive/main.zip#implement-ddd-aggregate

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.