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 concrete patterns and working code to structure applications with clear dependency rules and testable layers. ## Core Features & Use Cases - Clean Architecture Implementation: Layered directory structure (domain, use cases, adapters, infrastructure) with complete Python examples for entities, repository ports, use cases, and FastAPI controllers. - Hexagonal Architecture (Ports and Adapters): Abstract port interfaces with swappable adapters, including production Stripe adapters and in-memory test adapters that require no database or Docker. - Domain-Driven Design Tactics: Value objects, aggregates, repositories, domain events, bounded contexts, and Anti-Corruption Layers with a full multi-service project structure. - Use Case: When refactoring a monolith where use-case tests require a running database, apply the in-memory repository pattern to make every use case testable as a plain unit test. ## Quick Start Ask the AI to design a clean architecture structure for a new user management microservice with testable use cases and swappable database adapters.