check-backend-architecture
Verify Rust hexagonal architecture boundaries across domain and adapters
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Verify Rust hexagonal architecture boundaries across domain and adapters
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Scaffold a REST API endpoint with hexagonal layers and integration tests
Scaffold a React component with Vitest tests (TDD-first)
Scaffold a new Shell extension with hexagonal layers and TDD
Add a sub-feature within an existing Shell extension
Scaffold a SQL migration with RLS policy, rollback plan, and test seed data
Scaffold a Tauri IPC command with full round-trip (Rust handler, TS types, React hook, tests)
| name | check-backend-architecture |
| description | Verify Rust hexagonal architecture boundaries across domain and adapters |
| user_invocable | true |
Evaluate the Rust codebase for adherence to Hexagonal Architecture (Ports and Adapters). Focus on separation of Domain Logic from Infrastructure and the use of Traits as architectural boundaries.
sqlx,
diesel, reqwest, or axumserde, uuid, and chrono are acceptable when used
as value-object support rather than infrastructure couplingmain.rs, lib.rs, or a dedicated
composition module at the application boundarySend + Sync requirements correctlyProvide a score from 1-5 for:
Report as a backend-only checklist plus scorecard:
✅ Dependency analysis — PASS
✅ Port definitions — PASS
❌ Adapter implementation — FAIL
crates/grove-api/src/db/persona_repo.rs:14 — returns sqlx::Error from port method
⚠️ Dependency injection & wiring — N/A
crates/grove-api/src/main.rs — composition root not implemented yet
Scores
Isolation: 4/5
Symmetry: 3/5
Testability: 5/5
RESULT: FAIL (1 violation, 1 N/A)
crates/