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 — 從使用者提供的整頁 UI、2K 母圖、panel sheet 或單張素材,自動執行全切、auto-classify、auto-pick、temp/selected 分流、背景裁切、透明化與 post-process。
USE FOR: 切出 panel / cap / badge / glyph / noise 候選、把未挑選切片集中到 temp 可一次清掃、把高信心候選升到 selected、再接 trim-png-by-background.js / postprocess-ui-asset.js。
DO NOT USE FOR: runtime 畫面驗收(用 ui-runtime-verify)、純 icon 規格設計(用 UI-icon workflow)、單純修改 layout/skin JSON。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
這個 skill 的用途不是只「切圖」,而是把「切件 -> 候選收斂 -> 暫存清掃 -> 後處理」包成同一條資產前處理線。
Unity 對照:相當於先把整張 concept / parts sheet 自動切成 sub-assets,再做 importer 前的 auto-tag、auto-trim 與 candidate promotion。
panel / cap / badge / glyph / noiseselected,剩下全部留在 temptrim-png-by-background.js、postprocess-ui-asset.js、run-ui-asset-postprocess.jsselected 直接批次接正式 task-aware postprocessnode tools_node/slice-ui-image-components.js \
--input <image-or-dir> \
--out-dir artifacts/ui-generated/<task-id> \
[--name-prefix UI_] \
[--max-components 80]
輸出結構:
artifacts/ui-generated/<task-id>/temp/...:所有 provisional 切片,之後可整包清掃artifacts/ui-generated/<task-id>/selected/...:heuristic auto-pick 升格的高信心候選slice-components-report.json:batch summarytemp/<image>/slice-components-item-report.json:單圖詳細 reportnode tools_node/crop-general-detail-header-caps.js \
--input <image-or-dir> \
--auto-detect \
--out-dir artifacts/ui-generated/<task-id>
當你明確知道要抓 GeneralDetail 家族的左右 cap 時,優先走這條。
node tools_node/trim-png-by-background.js \
--input <raw.png> \
--output <trimmed.png> \
--report <report.json>
適用於背景可判定、需要把實底母圖轉成透明碎件時。
node tools_node/postprocess-ui-asset.js --input <png> --output <png> --report <report.json>
若已經有正式 task,改走:
node tools_node/run-ui-asset-postprocess.js --task <task.json> --input <raw.png> --out-dir <out-dir>
npm run postprocess:ui-asset-selected -- \
--manifest artifacts/ui-source/<screen-id>/manifests/asset-task-manifest.json \
--selected-dir artifacts/ui-generated/<slice-task>/selected/<bucket> \
[--selection-map artifacts/ui-source/<screen-id>/manifests/<demo>.selection-map.json] \
[--task-id <task-id>] \
[--generated-root artifacts/ui-generated/<run-id>] \
--strict
這層會先把 selected 內已挑出的候選檔轉成 batch runner 可吃的 staging input,再呼叫 run-ui-asset-task-batch.js。
若 selected 內檔名已經對齊 taskId / outputName / slot,可以不帶 --selection-map。
若 selected 還保留像 component_014.png 這類 generic 名稱,就補 selection-map 明確綁定。
slice-ui-image-components.jsslice-components-report.json 的 selectedRoot 與 pickedCountselected 內候選做下一步 trim / postprocesstemp 只當暫存區,最後可整包刪掉postprocess:ui-asset-selectedcrop-general-detail-header-caps.jstrim-png-by-background.jspostprocess-ui-asset.js 或 task-aware runnerselected 目錄,或補一份 selection-mappostprocess:ui-asset-selectedrun-ui-asset-task-batch.jsselected-postprocess-plan.json 與 postprocess-batch-report.jsontemp 與 selected 分流清楚tempselected 只保留高信心候選,不把 noise 混進正式資產區selection-map + batch report,讓別的 Agent 可重跑GeneralDetailOverview:可直接用 artifacts/ui-source/general-detail-overview/manifests/selected-slice-postprocess-demo.selection-map.json 示範把 header caps 從 curated selected 候選接回正式 task flowGachaMain:可直接用 artifacts/ui-source/gacha-main/manifests/selected-postprocess-auto-match-demo.json 示範非 GeneralDetail screen 也能走同一套 wrapper,且這次驗證的是 auto-exact 命名對齊,不靠 selection-maptemp 內所有切片直接當正式資產selected / temp 分流,讓垃圾切片污染主產出區まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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.
日本語の概要は準備中です。原文の説明を表示しています。