BigHugger
sk Skill · affaan-m

hexagonal-architecture

Design, implement, and refactor Ports & Adapters systems with clear domain boundaries, dependency inversion, and testable use-case orchestration across TypeScript, Java, Kotlin, and Go services. Use when introducing or refactoring toward Ports and Adapters, or when domain logic has become entangled with I/O.

installs 8w
1,641
30-day movement
starts with the next reading
Related entries
6
Connections
0
typescriptmermaidJavaScript

An agent skill that guides designing, implementing, and refactoring Ports & Adapters (hexagonal architecture) systems in TypeScript, Java, Kotlin, and Go. It covers use-case boundaries, outbound ports, adapters, composition-root wiring, testing per boundary, anti-patterns, and a strangler-style migration playbook.

Reach for it when introducing hexagonal architecture or untangling domain logic that has become mixed with I/O and framework code.

Use it to

  • Design a new feature with clear port/adapter boundaries
  • Refactor a layered codebase toward Ports and Adapters
  • Extract a use-case boundary from a framework-heavy endpoint
  • Set up per-boundary testing with fake ports
  • Plan a strangler-style incremental migration

For Developers refactoring or building services with entangled domain and I/O logic

Host repository
affaan-m/ECC
Installs, lifetime
3,000
Installs, 8 weeks
1,641
Host stars
259k
Host language
JavaScript
topicshexagonal-architectureports-and-adaptersdependency-inversionrefactoringsoftware-architecturetesting