What problem does it solve? Backend codebases often entangle business logic with frameworks, ORM models, and HTTP concerns, making them hard to test, refactor, and split into services. This Skill provides proven layered architecture patterns that keep domain logic independent of infrastructure. ## Core Features & Use Cases - Clean Architecture: Enforce inward-pointing dependencies across entities, use cases, adapters, and infrastructure layers. - Hexagonal Architecture: Define ports and adapters so implementations like PostgreSQL or Stripe can be swapped without touching the domain core. - DDD Tactical Patterns: Apply aggregates, value objects, repositories, and domain events with correct consistency boundaries. - Use Case: When refactoring a monolith where use-case tests require a running database, introduce repository interfaces and in-memory adapters so every use case runs as a plain unit test with no Docker or network. ## Quick Start Ask the AI to design a layered architecture with ports and adapters for a new order-processing microservice using Clean Architecture and DDD patterns.