用途:QJudge 架構全責技能,當任務涉及分層責任、import direction、feature 拆分、檔名路徑歸屬或重構規劃時使用。只定義架構決策,不包含 PR、compose、UI 細節。
主要能力:負責 layer 目錄責任(features/shared/core/infrastructure 等)、import direction 與 boundary 例外策略、feature workflow(spec -> shared -> feature -> wiring)。不定義 PR 策略、UI 視覺與 Carbon 細節、容器執行流程,這些分別交給 qjudge-github-workflow-owner、qjudge-ui-carbon-owner、qjudge-env-compose-owner。
核心規則:Core 層保持純淨,無 UI、無 I/O;Infrastructure 是外部 I/O 唯一入口;Shared 不依賴 feature runtime 細節;Feature 只組裝該 domain 的 workflow。
使用方式:先讀 references/layer-boundaries.md 決定代碼落點;新功能或大重構再讀 references/feature-workflow.md;先做責任切分,再做檔案搬移或重命名。檢查命令由 quality skill 提供腳本:node .codex/skills/qjudge-quality-gates-owner/scripts/lint-naming.js --root frontend/src 與 node .codex/skills/qjudge-quality-gates-owner/scripts/lint-architecture.js --root frontend/src。
適用場景:需要釐清分層邊界、單向依賴、composition root 與 feature 拆分時。限制:不處理 PR、UI、容器執行;QJudge 特化僅在路徑命名與 lint 規則,概念可移植。