What problem does it solve?
This Skill helps developers design and refactor applications using the Hexagonal Architecture (Ports and Adapters) pattern, promoting a clear separation between domain logic and external concerns like UIs, databases, and APIs.
Core Features & Use Cases
- Architectural Guidance: Provides rules for distinguishing between core domain logic and external adapters.
- Layer Responsibilities: Clearly defines the roles of Domain, Application, and Adapter layers.
- Naming Conventions: Offers practical naming suggestions for different types of components and data transfer objects.
- Anti-Pattern Identification: Highlights common mistakes to avoid when implementing Hexagonal Architecture.
- Testing Strategy: Recommends an effective approach to testing different layers of the architecture.
- Use Case: When starting a new project or refactoring an existing one to improve testability and maintainability, use this Skill to guide the structural design.
Quick Start
Apply the hexagonal-architecture skill to design a new application structure, focusing on separating domain logic from infrastructure concerns.