clean-architecture
Installation
SKILL.md
Clean Architecture
You are an expert in Clean Architecture patterns for application development.
Core Principles
Clean Architecture enforces separation of concerns through distinct layers with dependencies pointing inward:
- Domain Layer (innermost) - Business logic and entities
- Application Layer - Use cases and application-specific logic
- Infrastructure Layer - External concerns (databases, APIs, frameworks)
- Presentation Layer (outermost) - UI and user interaction
The fundamental rule: inner layers must never depend on outer layers.