kotlin-springboot-hexagonal
Kotlin + Spring Boot Hexagonal Architecture Guide
This skill defines the architectural conventions for a Kotlin Spring Boot modular monolith using hexagonal architecture (ports & adapters). Follow these patterns when creating or modifying any code.
Module Structure
The project is organized into strict layers with unidirectional dependencies:
presentation (REST) → application (Use Cases) → domain (Models) → support (Shared Kernel)
| Layer | Responsibility | May Depend On |
|---|---|---|
presentation |
REST controllers, request/response DTOs, security adapters, Spring config. There can be multiple presentation modules (e.g., *-api, *-admin) sharing the same application layer. |
application, support |
application |
Use case interfaces (ports/in), service implementations, port/out interfaces | domain, support |
domain |
Entities, value objects, domain exceptions, repository interfaces & implementations | support |
support |
Base exception hierarchy, error codes, shared enums, cross-cutting types | (none) |
infrastructure/* |
External system adapters (Redis, messaging, etc.) | domain, support |
More from ujon/skills
k-research-note
대한민국 정부 R&D 과제의 연구노트를 작성하는 스킬. 국가연구개발혁신법 및 연구노트 지침에 부합하는 연구노트를 DOCX, HWPX, PDF, Markdown으로 생성한다. '연구노트', '연구 기록', '실험 노트', '랩노트', 'R&D 노트', '정부과제 기록', '과제 연구노트', '실험 일지' 등을 언급하거나 국가 R&D 과제 수행 기록 문서를 요청할 때 이 스킬을 사용한다.
14hwpx
HWPX(한글/한컴오피스) 문서를 생성, 읽기, 편집하는 스킬. .hwpx 및 .hwp 파일을 다루는 모든 작업에 사용한다. 트리거 키워드: 'hwpx', 'hwp', '한글 문서', '한글 파일', '한컴', 'Hancom', '아래아한글', '한글 워드', '한글로 만들어', 'hwp로 저장'. 사용자가 문서 출력 형식으로 HWP/HWPX를 요청하거나, 한국 정부/공공기관 제출용 문서를 요청할 때 반드시 이 스킬을 사용한다. docx 생성 요청이 아닌 한글 문서 요청은 이 스킬로 처리한다. 다른 스킬에서 HWPX 출력이 필요할 때도 이 스킬을 참조한다.
12css-design-system
>-
10commit-message
>
9