What problem does it solve?
Architecture patterns prevent backend systems from becoming tightly coupled, hard to test, and expensive to change by guiding clean separation between domain logic and framework concerns.
Core Features & Use Cases
- Clean Architecture guidance: Organize entities, use cases, interface adapters, and infrastructure so dependencies flow inward and business logic stays framework-agnostic.
- Hexagonal Architecture (Ports & Adapters): Define ports for external interactions and implement adapters to enable swapping implementations and easy testing with mocks.
- Domain-Driven Design (DDD): Model bounded contexts and ubiquitous language while using entities, value objects, aggregates, repositories, and domain events to keep invariants consistent.
- Use case examples: Refactor a monolith into loosely coupled modules, standardize team architecture conventions, or plan microservices decomposition with a domain-first mindset.
Quick Start
Use the architecture-patterns skill to propose a Clean Architecture + Hexagonal Ports/Adapters folder layout for a backend feature, including the key domain models, use cases, port interfaces, adapter boundaries, and a small testing strategy.