domain-driven-patterns

Community

Master DDD patterns for robust domain logic.

Authorpohlai88
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear guidance and examples for implementing Domain-Driven Design (DDD) patterns within the AFENDA-NEXUS project, ensuring consistent and maintainable business logic across domain packages.

Core Features & Use Cases

  • Pattern Catalog: Detailed explanations and code examples for Service, Policy, Value Object, Repository, and Domain Event patterns.
  • Dependency Injection: Demonstrates best practices for injecting dependencies into services and policies.
  • Anti-Patterns: Highlights common pitfalls to avoid in domain modeling and implementation.
  • Testing Strategies: Provides examples for unit testing different DDD components.
  • Use Case: When developing a new feature in a Layer 2 package, consult this Skill to understand how to correctly implement a domain service that encapsulates business logic, or a policy for complex validation rules.

Quick Start

Refer to the Service Pattern section for an example of implementing stateless business logic.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: domain-driven-patterns
Download link: https://github.com/pohlai88/AFENDA-NEXUS2/archive/main.zip#domain-driven-patterns

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.