advanced-clean-hexagonal-architecture
Apply Clean Architecture and Hexagonal (Ports & Adapters) patterns for domain isolation and testability. Use when designing system boundaries, creating ports/adapters, or structuring domain-driven applications.
When & Why to Use This Skill
This Claude skill provides expert guidance on implementing Clean Architecture and Hexagonal (Ports & Adapters) patterns. It helps developers achieve strict domain isolation, improve code testability, and establish clear system boundaries for building scalable, maintainable, and framework-independent software applications.
Use Cases
- Designing System Boundaries: Establish a clear separation between core business logic and external infrastructure such as databases, UI, or third-party APIs.
- Implementing Ports and Adapters: Define flexible interfaces (ports) and concrete implementations (adapters) to allow swapping external dependencies without modifying the domain layer.
- Domain-Driven Design (DDD) Structuring: Organize complex codebases into domain-centric modules to enhance code clarity and long-term project maintainability.
- Enhancing Testability: Decouple business rules from external frameworks and drivers, enabling comprehensive unit testing of core logic with minimal mocking overhead.
| name | Advanced Clean Hexagonal Architecture |
|---|---|
| description | Apply Clean Architecture and Hexagonal (Ports & Adapters) patterns for domain isolation and testability. Use when designing system boundaries, creating ports/adapters, or structuring domain-driven applications. |
Advanced Clean Hexagonal Architecture
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle Clean Architecture and Hexagonal Architecture patterns.
Instructions
For details, refer to the information provided in this file: clean-hexagonal-architecture