Ports Adapters Architecture

Ports and Adapters (Hexagonal) architecture — isolate business logic from external concerns via explicit boundaries. TRIGGER when: user asks about ports and adapters, hexagonal architecture, hexagon architecture, Alistair Cockburn, clean architecture, onion architecture, layered architecture comparison, adapters (driving/primary adapter, driven/secondary adapter, adapter pattern boundary), ports (inbound port, outbound port, application port), layers (domain layer, application core, infrastructure layer, use case), isolation (dependency inversion in practice, testable business logic, decouple framework, boundary protection). DO NOT USE when: user asks about general OOP/SOLID principles in the abstract — use `object-oriented-programming` instead. Note: DIP from `object-oriented-programming`'s SOLID reference is the theoretical foundation of this pattern.

bsene Updated 7 repo stars

File contents

bsene/skills-old commit 52ed86c694

Frequently asked questions

npx get-skill add bsene/ports-adapters-architecture