What problem does it solve? Business logic often becomes entangled with web frameworks, ORMs, and external SDKs, making code hard to test, refactor, and migrate. This Skill guides you through applying hexagonal architecture (ports and adapters) so domain rules stay independent of transport and persistence details. ## Core Features & Use Cases - Boundary Design: Define inbound ports, outbound ports, use cases, and adapters with a clear dependency direction pointing inward. - Multi-Language Guidance: Apply the same boundary rules in TypeScript, Java, Kotlin, and Go with language-specific module layouts and wiring styles. - Migration Playbook: Refactor legacy systems slice-by-slice using a strangler approach with characterization tests and rollback paths. - Use Case: When adding a new orders feature, use this Skill to define an OrderRepositoryPort and PaymentGatewayPort, implement a CreateOrderUseCase with pure orchestration, and wire Postgres and Stripe adapters in a single composition root. ## Quick Start Use the hexagonal-architecture skill to design the ports, use cases, and adapters for my new feature before I write any framework code.