What problem does it solve? Designing backend systems that remain maintainable, testable, and scalable is difficult when business logic becomes coupled to frameworks, databases, and external services. This Skill provides structured guidance for applying proven architecture patterns so dependencies point inward and core domain logic stays independent of infrastructure. ## Core Features & Use Cases - Clean Architecture Implementation: Layered structure separating entities, use cases, interface adapters, and frameworks, with Python code examples for repositories, use cases, and controllers. - Hexagonal Architecture (Ports and Adapters): Define ports as interfaces and swap adapters such as Stripe payment gateways or mock implementations for testing. - Domain-Driven Design: Tactical patterns including entities, value objects, aggregates, repositories, and domain events, plus strategic patterns like bounded contexts and ubiquitous language. - Use Case: When refactoring a monolithic order-processing application, use this Skill to define module boundaries, extract a domain core with Order aggregates and Money value objects, and migrate persistence behind repository interfaces. ## Quick Start Ask the agent to design a backend module for order processing using Clean Architecture with repository interfaces and use case classes.