What problem does it solve?
This Skill helps developers apply Clean Architecture principles to create software that is easy to maintain, test, and scale.
Core Features & Use Cases
- Dependency Rule Enforcement: Ensures that source code dependencies always point inward, separating business logic from infrastructure details.
- Component Principles: Applies principles like REP, CCP, CRP, ADP, SDP, and SAP to organize code into cohesive, loosely coupled components.
- Boundary Patterns: Utilizes Controller, Presenter, and Gateway patterns to define clear boundaries between the presentation layer, business logic, and data access.
- Use Case Implementation: Implements the Interactor pattern to encapsulate use case logic, separating it from input and output boundaries.
- Entity Design: Encapsulates enterprise-wide business rules in entities, ensuring they remain independent of infrastructure and delivery mechanisms.
- Service Layer: Defines clear boundaries for service layers that handle external services and infrastructure interactions.
- Testing and Validation: Provides guidelines for testing at each level of the architecture, ensuring the integrity of business logic.
Quick Start
Use the clean-architecture skill to analyze the architecture of your project and identify areas for improvement.