domain-driven-development

Installation
SKILL.md

Domain-Driven Development (DDD) Architecture

Layers

Our DDD architecture has three layers.

Domain (domain/[domain name]/)

This layer contains all domain-related code, including domain objects, business logic, APIs.

Interface of this layer must be technology-agnostic and have no dependencies on any third-party libraries, specific storage or UI technologies. Internally you can use any third-party libraries, but the interface must be clean and technology-agnostic to ensure that the core domain logic is reusable and testable without any specific technologies.

This layer must not have any dependencies on the other layers.

Read rules/domain.md for details on Domain Objects, Factories, Repositories, and Services.

External Services (external/)

Related skills
Installs
3
First Seen
Mar 28, 2026