seiyajapon/ia-handbooks/hexagonal-boundaries

Claude Code and agent skill by seiyajapon/ia-handbooks

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install seiyajapon/ia-handbooks/hexagonal-boundaries

SKILL.md

The same SKILL.md was published earlier as seiyajapon/ia-handbooks/hexagonal-boundaries.

Hexagonal Boundaries

Purpose

Keep business logic isolated from frameworks, infrastructure, delivery mechanisms, and external systems.

Responsibilities

  • Identify domain, application, infrastructure, and delivery concerns
  • Detect boundary leaks between layers
  • Identify ports needed by the application or domain
  • Identify adapters that implement those ports
  • Detect business logic placed in handlers, controllers, consumers, repositories, or framework code
  • Evaluate whether dependencies point in the right direction

Instructions

  • Start by identifying the business use case
  • Separate what the system does from how it is delivered or persisted
  • Keep domain logic independent from frameworks, ORMs, SDKs, HTTP, queues, databases, and cloud services
  • Put orchestration in application use cases
  • Use ports for external capabilities needed by the application
  • Implement ports in infrastructure adapters
  • Keep delivery adapters thin

Heuristics

Treat as stronger boundary concerns when:

  • Domain code imports infrastructure, framework, ORM, SDK, or HTTP dependencies
  • Controllers, handlers, or consumers contain business rules
  • Repositories contain domain decisions instead of persistence logic
  • External API models are used as domain models
  • Database schemas dictate domain behavior
  • Events, commands, or DTOs are reused across unrelated boundaries
  • Application use cases know too much about infrastructure details

Treat as acceptable when:

  • A delivery adapter only maps input and calls a use case
  • An infrastructure adapter only translates between external systems and internal ports
  • DTOs are explicitly kept outside the domain
  • A pragmatic shortcut is local, visible, and easy to replace

Rules

  • Dependencies must point inward
  • Domain must not depend on infrastructure
  • Application must depend on abstractions, not concrete adapters
  • Infrastructure implements ports; it does not define the business model
  • Delivery mechanisms must not own business rules
  • Prefer explicit boundaries over implicit coupling
  • Explain trade-offs when a boundary shortcut is proposed

Activity Traceability

🔧 Loading skill: hexagonal-boundaries

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/seiyajapon/ia-handbooks/hexagonal-boundaries/badge)](https://verified-skill.com/skills/seiyajapon/ia-handbooks/hexagonal-boundaries)

Something wrong with this skill or its page? Tell us.