/vault-design:trimsheet-disguisefrom vault-design
用一套共享 trim sheet 做硬表面复用演示:UV 整数格选颜色、三层脏迹、加权法线,并把原片数字和演示假设分开记账。 触发:trim sheet、修剪贴图、80% 资产共用一张贴图、UDIM 当遮罩、顶点色 AO、加权法线、光照贴图打包、The Ascent、上行战场着色器。 不用于:写实角色、独立烘焙流程、只做一张静帧。
Ships in vault-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
事实只来自 CG 加油站 BV1kXTL6qEYb 对 Neon Giant《上行战场》和 Tor Frick 2022 GDC 的转述。原片没说的数,标成演示假设。
这套只在镜头多数不够近时成立。原片把近看细节不够当成取舍,不是可以再修掉的缺陷。先问镜头会不会贴到表面。会,就不要进共享集。
不要把一个面切成十几块再各自采样。块一多,trim 的螺栓和警示条会变成马赛克,三种算法就分不出来。一个面三到五块够用。
不要让「只共用 trim」和「完整伪装」裁不同的区域。对照要裁同一格,差别只来自颜色、脏迹和法线。否则观众分不清省下来的是纹理还是换了一张图。
不要把演示假设写进原片数字。24 件、BC7 兆字节、美术小时都是为了能算清而设的。原片只给了 80%、一张 4K、低于 100MB、8000+ 资产、50 MiB 换 10% 绘制调用、体积光 150 MiB 降到 40 MiB。
原片:约 80% 硬表面一套着色器;一张 4K;世界纹理低于 100MB;8000+ 资产;Xbox One 上光照图多约 50 MiB、绘制调用少 10%;体积光多一级 MIP,150 MiB 降到 40 MiB。
演示假设必须另标。光照图那 10% 的原因:虚幻要网格、材质、光照图三者相同才实例化,提高分辨率是把更多资产打进同一张光照图。
做演示页之前先读 references/source-ledger.md。原片数字只从那张表抄。表外的数必须标成演示假设。四种露馅的判据在 references/failure-cases.md,演示页要能把至少两种做出来。
python scripts/check_skill.py
这个检查只证明账和失败案例还在。它不证明画面好看。
单文件。三种并排:每件独享、只裁同一格、整数格加三层脏。旋钮改 UV、脏迹和镜头距离,账跟着变。贴图用程序生成或一张生成的 trim,嵌进文件,不引外链。近景必须能看见低模棱,否则这页只是在换颜色。
账分三列,颜色分开。原片数字用一种颜色,演示假设用另一种。不要把 127 MB 写成游戏实测。完整伪装的绘制调用可以按原片的 10% 来减,但要在格里写明这是演示假设。
function cellOf(mode, index) {
if (mode === "unique") return index % 16;
if (mode === "trim") return 0;
return index % 8;
}
独享用不同格。只裁 trim 时全部返回 0。完整伪装才允许换格。这个函数决定对照是否成立。
function dirt(mask, edge, scene) {
return Math.min(1, mask * 0.9 + edge * 0.8 + scene * 0.7);
}
三层各自有权重。把三个权重设成一样,夹角脏就会糊掉,对应失败案例里的第三种。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub yhyu13/agentskillsvault --plugin vault-design16 skills in this plugin
/anatomyBuild crafted, highly detailed, interactive isometric SVG figures that explain a technical idea as a real physical object (a test rig, a dial gauge, a cabinet of drawers, a plotter, a lock), with many small precise solid parts, four-tone shading, correct painter's order, a framed card with title, hint and live readout, and calm eased motion. Use this whenever someone wants an isometric illustration, an explanatory diagram or figure for docs, a blog post, a landing page or an article, a "Linear-style" or "premium" technical drawing, an interactive explainer, or an SVG that shows how a system, algorithm or component works, even if they never say "isometric". Works framework-free (TypeScript/JS that writes SVG and HTML) and in React/Next.js, and can add realistic WebGL shaders (fire, exhaust, water, caustics, lamp light) that live inside the drawing in the same isometric perspective. Also publishes a finished figure to the Anatomy community gallery when asked./brand-docxWord documents (.docx) only. Brand-aware Word engine. Use to (1) EXTRACT a company's brand from a Word template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE new on-brand .docx documents FROM a saved profile. Trigger on "extract our brand", "learn/match this template", "use our brand kit", "generate a branded report from our profile", or when a ./brand-kit exists. For one-off Word edits with NO saved brand profile, use the docx skill instead. NOT for .pptx (brand-pptx), .xlsx (brand-xlsx), or PDFs. Not for PowerPoint or Excel files - use brand-pptx or brand-xlsx./brand-pptxPowerPoint decks (.pptx) only. Brand-aware PowerPoint engine. Use to (1) EXTRACT a company's brand from a .pptx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .pptx from an IntermediateDocument. Trigger on "extract our brand", "use our deck template", "generate a branded deck from our profile", or when a ./brand-kit exists. For one-off slide edits with no saved brand profile, use the normal pptx skill instead. NOT for .docx (brand-docx), .xlsx (brand-xlsx), or PDFs. Not for Word or Excel files - use brand-docx or brand-xlsx./brand-xlsxExcel workbooks (.xlsx) only. Brand-aware Excel engine. Use to (1) EXTRACT a company's brand from a .xlsx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .xlsx from a GridDocument fill manifest. Trigger on "extract our brand", "use our workbook template", "generate a branded workbook from our profile", or when a ./brand-kit exists. For one-off spreadsheet edits with no saved brand profile, use the normal xlsx skill instead. NOT for .docx (brand-docx), .pptx (brand-pptx), or PDFs. Not for Word or PowerPoint files - use brand-docx or brand-pptx./cookRuns the Cook Loop for ambitious visual builds that must match reference images, screens or videos through long autonomous iteration. Use it for 3D worlds made in code (three.js, WebGL, shaders), code-rendered films, launch and motion videos, games and polished UI that must hold up next to references, especially runs of many hours or days while the user is away. Trigger when the user types /cook or $cook, says "cook", "go cook", "let it cook", "iterate until it matches", "match the references", "99%", "99.9%", "9/10 minimum" or "at least 8h", or attaches reference images and asks for a recreation in code. It runs one intake, then loops build, stills, zero-context critics and fixes against a numeric bar, and holds the final render until the user approves. Do not use it for a small edit, a one-screen tweak, a task with no references and no numeric bar, or any job the user capped under 2 hours./hands-on-deckModify an EXISTING .pptx. Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes reading, analyzing, or extracting content from presentations; editing text, images, styles, or layout of existing decks; creating new slides, shapes, tables, or pictures; reordering, duplicating, or merging slides across decks; and verifying decks visually. Trigger whenever the user mentions a deck, slides, a presentation, or a .pptx filename. Not for creating a new deck from scratch - use pptx.