Agent Skills
› levy-street/world-of-claudecraft
› woc-image-to-glb
woc-image-to-glb
GitHub将参考图像转换为World of ClaudeCraft的GLB资产。遵循标准化流水线,从图像生成模型、优化、测试到游戏内证据匹配,确保资产合规与指纹一致性。
触发场景
需要基于概念图或参考图像创建新的3D资产
要求替换、重建、重新导出或重新固定现有世界资产(如道具、家具、建筑等)
安装
npx skills add levy-street/world-of-claudecraft --skill woc-image-to-glb -g -y
SKILL.md
Frontmatter
{
"name": "woc-image-to-glb",
"description": "Turn a reference image into a shipping World of ClaudeCraft GLB through the img2threejs intake gates and the repo's deterministic export, optimize, fingerprint, and test pipeline. Use when asked to create, replace, rebuild, re-export, or re-pin a world asset (prop, furniture, building, landmark, stall, service object) from a concept or reference image."
}
World of ClaudeCraft image-to-GLB
This is the Codex-side pointer for the shared asset pipeline. The canonical operating
procedure is the Claude skill at .claude/skills/image-to-glb/SKILL.md; the deep runbook
is docs/image-to-glb-asset-workflow.md. Follow those two documents exactly; do not
improvise an alternative pipeline.
Quick orientation:
- Read
scripts/assets/CLAUDE.md, then.claude/skills/image-to-glb/SKILL.mdin full. - The
img2threejsskill (installed at~/.codex/skills/img2threejs) drives reference admission, detail inventory, sculpt specs, and staged visual review. It is an authoring aid, never a build dependency. - The committed chain is: reference (with provenance and a
CREDITS.mdrow) -> budgets -> sculpt spec -> purpose-built factory (scripts/assets/<asset>/model.js, vertex colors, material buckets, sockets) -> deterministic exporter ->build_assets.mjsoptimizer ->public/models/props/-> media manifest -> parsed-GLB contract test -> render adapter module -> matched desktop/mobile in-game evidence ->npm run gate. - Respect the source-fingerprint contract: any change to a fingerprinted input (including
package-lock.json) means re-exporting the affected asset families and re-pinning the sha256 and fingerprint literals in tests, docs, and capture evidence JSONs.
版本历史
- fb5d898 当前 2026-07-31 07:40


