원클릭으로
hexagonal-review
Reviews code for Hexagonal Architecture compliance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reviews code for Hexagonal Architecture compliance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Validates Go concurrency patterns
Validates Go context.Context usage patterns
Validates Go error handling patterns
Validates Go interface design and abstractions
Performs security review on code changes
Validates Go struct tags for serialization
| name | hexagonal-review |
| description | Reviews code for Hexagonal Architecture compliance |
This project uses Hexagonal Architecture. All dependencies must point inward toward the domain. Violations make code untestable and create hidden coupling to infrastructure.
<investigate_before_answering> Read all referenced files before making architectural assessments. Never speculate about import paths you have not verified. </investigate_before_answering>
1. [ ] `internal/domain` has zero imports from `internal/adapters/...`, `internal/engine`, `internal/index` 2. [ ] `internal/app` only imports `internal/domain` and port interfaces it defines 3. [ ] No `internal/adapters/...` packages imported in domain or app layers 4. [ ] Port interfaces defined in `internal/domain`, `internal/app`, or `internal/port` — not in adapters 5. [ ] Outbound adapters in `internal/adapters/out/...` implement ports calling only the public `hexxladb` API 6. [ ] No business logic in adapter or cmd layers 7. [ ] Domain/app types are not infrastructure framework types 8. [ ] All external I/O goes through a port interface 9. [ ] `scripts/check-hex-boundaries.sh` passesFor each violation: quote the import path, state which rule it breaks, and suggest the fix.