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。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
UI 預覽評審 SKILL — 截取 Cocos Editor Preview 畫面,與 proof draft 提供的參考圖逐 zone 比對,輸出視覺信心分數與 PASS/FAIL 評審報告,並回寫 runtime-verdict。USE FOR: ui-asset-qc 通過後,需要人工確認 + 自動評審的最終視覺驗收。
DO NOT USE FOR: Runtime 崩潰(用 cocos-log-reader)、Browser QA 截圖(用 cocos-preview-qa)、資產規格問題(用 ui-asset-qc)。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
這是 UI production pipeline 的第 5 步(最終關卡):截圖並比對設計稿與實機畫面。
Unity 對照:相當於 UnityEditor PlayMode Screenshot + Design Diff Tool — 在 Play Mode 接近設計稿後截圖,送審設計師確認。
http://localhost:7456 可連)ui-asset-qc 已通過(零 errors)proofSource(參考圖路徑或 ref://)| 項目 | 說明 |
|---|---|
screenId | 對應 assets/resources/ui-spec/proof/screens/{screenId}.proof.json |
referenceImagePath | 本地參考圖路徑(proof draft 的 proofSource 值) |
artifacts/ui-source/{screenId}/review/runtime-verdict.json — 逐 zone 評審結果artifacts/ui-source/{screenId}/review/preview-screenshot.png — 截圖存档read_file { filePath: "assets/resources/ui-spec/proof/screens/{screenId}.proof.json" }
記錄 visualZones 的 zone 清單、每個 zone 的 bounds(x/y/w/h)、family、confidence。
先讀取並遵循 cocos-screenshot skill 的截圖流程:
read_file { filePath: ".github/skills/cocos-screenshot/SKILL.md" }
執行截圖,確認截圖儲存至:
artifacts/ui-source/{screenId}/review/preview-screenshot.png
預覽截圖請沿用 cocos-screenshot 的縮圖流程;參考圖同樣先走 125 -> 250 -> 500 的 progressive zoom。
同時用 view_image 開啟兩張圖:
view_image { filePath: "artifacts/ui-source/{screenId}/review/preview-screenshot.png" }
view_image { filePath: "{referenceImagePath}" }
圖片檢視硬規定:一次最多
1張主圖 +1張對照圖;先試125px,不足才放大一倍;需要看>500px原圖時,必須先取得使用者明確同意。
依 proof draft 的 zone 清單,對每個 zone 比對以下項目:
| 比對項目 | 說明 |
|---|---|
| 字體風格 | 標題/內容/說明文字的粗細、大小是否與設計稿一致 |
| 框體 family | 邊框風格是否符合 family(dark-metal/parchment/gold-cta 等) |
| 色彩基調 | 背景色、主要顏色是否與設計稿接近 |
| 間距比例 | 元素間距是否明顯偏移(>10% 視為問題) |
| 內容佔位 | Icon、頭像、資料欄位是否有正確的佔位符 |
## Preview Judge Report — {screenId} ({timestamp})
### 總評:PASS / CONDITIONAL PASS / FAIL
| Zone | Family | 信心分數 | 備註 |
|---|---|---|---|
| header | dark-metal | 0.85 | 標題文字稍大,約差 2pt |
| tab-bar | tab | 0.60 | tab 資產尚未生成,佔位符狀態 |
| item-grid | item-cell | 0.70 | 間距比設計稿多 8px |
| footer | dark-metal | 0.90 | 一致 |
### 整體信心分數:0.76
### PASS 條件
- ✅ 主要 zone(header/footer)信心 ≥ 0.8
- ⚠️ asset-pending zone(tab-bar)允許 conditonal pass
- ⚠️ item-grid 間距問題 → 記錄為改善項
### 建議後續行動
1. tab family 資產完成後重跑 ui-preview-judge
2. item-grid 間距問題排入 UI-backlog
同時輸出 JSON 版:
// 注意:screenId 在 JSON 中使用 kebab-case(如 "shop-main"),
// artifacts 目錄亦用 kebab-case(如 artifacts/ui-source/shop-main/review/)。
{
"screenId": "shop-main",
"timestamp": "2026-04-05T12:00:00Z",
"verdict": "CONDITIONAL_PASS",
"overallConfidence": 0.76,
"zones": [
{ "zoneId": "header", "family": "dark-metal", "confidence": 0.85, "issues": [] },
{ "zoneId": "tab-bar", "family": "tab", "confidence": 0.60, "issues": ["asset-pending"] }
],
"nextActions": ["complete tab assets", "fix item-grid spacing"]
}
| 評審結果 | 條件 |
|---|---|
| PASS | 所有 zone 信心 ≥ 0.75,無 asset-pending zone |
| CONDITIONAL PASS | asset-pending zone 存在,或有 1-2 個 zone 信心 0.6-0.75 |
| FAIL | 任何 zone 信心 < 0.6(非 asset-pending),或主要 zone < 0.7 |
artifacts/ui-source/{screenId}/review/runtime-verdict.json,必要時再回寫 proof draft 的 confidence아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
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。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
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.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
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.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Plan ATM framework refactors by preserving atom/map semantics before splitting large governance modules.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Captain 派工規範與決策手冊。當 AI 進入隊長模式或進行派工/派任務語境時,遵照這套標準,產出可供人類直接轉貼、高度結構化、符合 token 經濟且能動態適應可用 Roster 的派工單。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create and register an atom through the provisioning facade.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.