Skip to main content
在 Manus 中运行任何 Skill
一键导入

hexagonal-architecture

星标6
分支0
更新时间2026年4月15日 03:59

Design, implement, and refactor systems using Ports and Adapters (hexagonal architecture) — domain model, use-case orchestration, inbound/outbound ports, adapters, composition root, testable boundaries. Use this skill whenever building a new feature where long-term maintainability matters, refactoring layered or framework-heavy code where domain logic is tangled with I/O, supporting multiple interfaces for the same use case (HTTP + CLI + worker), replacing infrastructure without rewriting business rules, or when the user says "hexagonal", "ports and adapters", "clean architecture", "domain-driven", "decouple from the framework", "separate business logic from I/O", or "how do I make this testable". Covers TypeScript, Java, Kotlin, and Go.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly