What problem does it solve?
This Skill provides a structured approach to building backend systems using Clean Architecture, Domain-Driven Design, and Hexagonal patterns. It helps teams design scalable, testable software by clarifying domain boundaries, aggregates, ports, and adapters.
Core Features & Use Cases
- Guidance on layering: Domain, Application, Infrastructure, with clear responsibilities.
- DDD tactical patterns: Entities, Value Objects, Aggregates, Domain Events, Repositories, and Services.
- Hexagonal architecture: Ports and Adapters to isolate the core from infrastructure.
- Use case scaffolding: Examples for placing orders, querying state, and integrating with external systems.
- Language-agnostic: Applies across Go, Rust, Python, TypeScript, Java, C#.
Quick Start
Start by creating a minimal 3-layer skeleton (domain, application, infrastructure). Define a small domain model (e.g., Order with items and total), implement a repository interface in domain, a use-case in application, and a simple adapter in infrastructure. Then run lightweight tests to verify boundary rules and event flow.