ddd-clean-architecture

Installation
SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Structure an application following Clean Architecture layers (Entities, Use Cases, Interface Adapters, Frameworks)
  • Enforce the dependency rule: inner layers never depend on outer layers
  • Organize project packages and define clear test boundaries
  • Combine Clean Architecture with Domain-Driven Design patterns

How to use this skill

Workflow

  1. Define Entities (innermost layer) containing enterprise-wide business rules
  2. Define Use Cases (application layer) containing application-specific business logic
  3. Create Interface Adapters (presenters, gateways) that convert data between layers
  4. Implement Frameworks (outermost layer) for web, database, and UI concerns

Layer Structure

Related skills

More from teachingai/full-stack-skills

Installs
95
GitHub Stars
381
First Seen
Jan 24, 2026