Backend Architecture & DDD
Applies Domain-Driven Design and Hexagonal architecture principles to build modular, testable, and maintainable backend systems.
This skill empowers Claude to design and implement robust backend applications using Hexagonal (Ports & Adapters) architecture and Domain-Driven Design (DDD). It enforces a strict boundary rule where core business logic remains isolated from infrastructure dependencies like databases, external APIs, and web frameworks. By providing standardized file structures, naming conventions, and implementation workflows, it helps developers avoid common pitfalls such as anemic domain models, leaking SDK types, and brittle interfaces, resulting in enterprise-grade codebases that are easy to test and evolve.
Key Features
01Prevents infrastructure leakage into core business logic
02Enforces Hexagonal (Ports & Adapters) architecture boundaries
03Guides inside-out implementation workflows for maximum testability
04Provides a standardized file structure for bounded contexts
05Implements Domain-Driven Design (DDD) patterns for entities and value objects
063 GitHub stars
Use Cases
01Implementing complex business logic that requires high test coverage and decoupled infrastructure
02Refactoring a tightly coupled monolithic application into modular bounded contexts
03Designing a new backend service from scratch using clean architecture