architecture-paradigm-hexagonal

Community

Decouple domain from infra for ultimate flexibility.

Authorathola
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tightly coupled domain logic and infrastructure concerns make systems rigid, difficult to test, and hard to adapt to new technologies. This skill guides you in using Hexagonal (Ports & Adapters) architecture to achieve maximum flexibility.

Core Features & Use Cases

  • Domain Port Definition: Identify inbound drivers (UI, CLI) and outbound driven ports (DB, APIs) as interfaces.
  • Adapter Placement: Implement technology-specific adapters at the edge, keeping the domain framework-agnostic.
  • Use Case Aggregation: Organize application services around business capabilities.
  • Contract Testing: Ensure adapters honor domain expectations using contract or consumer-driven tests.
  • Use Case: Refactor a legacy application to easily swap out its database or UI framework by defining clear ports for domain interaction and pushing technology-specific adapters to the edge.

Quick Start

Define your domain's inbound (driver) and outbound (driven) ports as interfaces, then implement technology-specific adapters.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: architecture-paradigm-hexagonal
Download link: https://github.com/athola/claudenomicon/archive/main.zip#architecture-paradigm-hexagonal

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.