跳到正文
cccskills
免费在 GitHub 公开

ui-family-architect

UI Family 架構師 SKILL — 讀取 proof draft,為每個 visualZone 分配 structural family、themeStack 與 recipe seed,驗證 family 可用性,輸出 family-map 與 recipe 預填欄位。

USE FOR: 在 ui-reference-decompose 完成後,進行 family 分派、family-map 產出與 recipe 選擇(UI pipeline Step 2)。DO NOT USE FOR: 直接產生 layout skeleton 或 asset 任務(需先完成此步)。

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

UI Family Architect

這是 UI production pipeline 的第 2 步:讀取 proof draft,決定每個 zone 的 family + recipe 組合。

Unity 對照:相當於 Scene Assembly — 決定每個 Prefab 要套哪個 Material Variant。


輸入

項目說明
proofDraftPathassets/resources/ui-spec/proof/screens/{screenId}.proof.json
(可選)themeOverride強制指定 base skin(預設:skin-base-v1)

輸出

  1. artifacts/ui-source/{screenId}/proof/{screenId}.family-map.json
  2. proof draft 中 family / notes / unresolved 欄位的補齊建議
  3. normalized recipe 需要的 family、themeStack、asset readiness 預填值

執行步驟

Step 1 — 讀取 proof draft

read_file { filePath: "assets/resources/ui-spec/proof/screens/{screenId}.proof.json" }

在 visualZones 列表中找出每個 zone 的候選 family、component intent 與 unresolved notes。

Step 2 — 驗證 family 可用性

先判定 structural family 是否屬於既有 UCUF family:

  • detail-split
  • dialog-card
  • rail-list
  • hud-overlay
  • peek-drawer

再確認對應的 skin family 與 recipe 是否存在,缺的部分標記為 asset-pending 或 recipe-missing,不要硬寫死人工作業對象。

Step 3 — 補齊 recipe seed

對 proof draft 中尚未決定的欄位,補齊:

  • structural family recommendation
  • themeStack 預設值
  • assetReadiness(ready / asset-pending / recipe-missing)
  • recipe 需要的 unresolved questions

Step 4 — 規劃 themeStack

決定此畫面的 skin manifest 要使用的 themeStack:

{
  "themeStack": {
    "base": "skin-base-v1",
    "family": "skin-family-{主要 family}",
    "stateOverrides": []
  }
}

若畫面混用多個 family,選擇最高頻的 family 放在 themeStack.family; 其他 family 的 slot 直接記錄到 family-map 的 zoneMap 與後續 recipe / skin 提示層。

Step 5 — 輸出建議

建立一個 family-map.json 草稿(輸出至 artifacts/ui-source/{screenId}/proof/{screenId}.family-map.json):

{
  "screenId": "shop-main",
  "resolvedAt": "2026-04-05",
  "primaryFamily": "rail-list",
  "themeStack": { "base": "skin-base-v1", "family": "skin-family-dark-metal" },
  "zoneMap": [
    { "zoneId": "header", "family": "rail-list", "frameFamily": "dark-metal", "status": "ready" },
    { "zoneId": "toolbar", "family": "rail-list", "frameFamily": "tab", "status": "asset-pending" },
    { "zoneId": "preview", "family": "detail-split", "frameFamily": "parchment", "status": "ready" }
  ],
  "recipeSeed": {
    "screenId": "shop-main",
    "familyId": "rail-list",
    "bundle": "lobby_ui",
    "layer": "Normal"
  },
  "missingAssets": ["toolbar tab family skin"],
  "unresolvedQuestions": ["preview 區是否需要 special slot"],
  "readyForRecipe": false
}

品質門檻

  • 每個 zone 必須有 status(ready / asset-pending / recipe-missing)
  • family-map 必須能說清楚 primary family、themeStack 與 unresolved questions
  • 若有 missingAssets,必須記錄 並在下一步交給 ui-asset-gen-director

下一步

  • 若 unresolvedQuestions 非空 → 先跑 node tools_node/compile-proof-to-mcq.js
  • 若 MCQ 已回答 → 跑 node tools_node/compile-mcq-answer-to-recipe.js
  • 若所有 zone status=ready 且 recipe 已齊 → 進入 ui-vibe-pipeline 或 recipe compiler
  • 若有 asset-pending → 先進入 ui-asset-gen-director 準備資產任務

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Deterministic external-evidence web validation workflow for Sanguo ETL/RAG. USE FOR: 外部證據網站檢查、來源健康度、allowlist 驗證、來源 seed 覆蓋、3kweb-check、external evidence source health、fetch/parse/hash first、LLM reviewer second。

中文简介正在准备中。当前显示原文说明。

eaglhuang/3klife32026年10月24日 更新

Use when the user asks to switch AI role/mode/persona or uses role-trigger words such as Captain, Coordinator, 寫文章, 寫文章模式, 文章模式, 技術文章, 部落格, 出版, 預覽. Routes the request to Project Captain, Publishing Director, or Article Writing Mode, loads the matching keep memory when available, and applies the role's workflow without excessive roleplay.

中文简介正在准备中。当前显示原文说明。

eaglhuang/3klife32026年10月24日 更新

Write or revise AI-learning-notes article pages in "寫文章模式" when the user asks for articles, technical articles, blog posts, bilingual versions, article formatting consistency, shared article-base alignment, responsive layout, summary/TOC decisions, contrast, or publishing-flow compatibility.

中文简介正在准备中。当前显示原文说明。

eaglhuang/3klife32026年10月24日 更新

Plan ATM framework refactors by preserving atom/map semantics before splitting large governance modules.

中文简介正在准备中。当前显示原文说明。

eaglhuang/3klife32026年10月24日 更新

Captain 派工規範與決策手冊。當 AI 進入隊長模式或進行派工/派任務語境時,遵照這套標準,產出可供人類直接轉貼、高度結構化、符合 token 經濟且能動態適應可用 Roster 的派工單。

中文简介正在准备中。当前显示原文说明。

eaglhuang/3klife32026年10月24日 更新

Create and register an atom through the provisioning facade.

中文简介正在准备中。当前显示原文说明。

eaglhuang/3klife32026年10月24日 更新

查看 eaglhuang 的全部技能

报告此技能的问题