技能 2026-09-11 14:06 UTC
skills
由提交人 Aymericr 提交,主要更新类型为:新增功能与能力扩展。提交说明:Add glb-web-export skill (#1)。带来了新的能力与可配置项,扩展了使用场景。
Commit提交信息原文
Add glb-web-export skill (#1) Audits a .glb/.gltf and makes it small, correct, and fast to load in a browser, with a measured before/after report. Everything documented here was executed against a synthetic fixture that scripts/make-fixture.sh regenerates byte-for-byte (29,297,696 B). Verified against @gltf-transform/cli 4.5.0, gltfpack 1.2 (npm and native macOS arm64), and KTX-Software 4.4.2 on 2026-09-11. Every version-sensitive loader claim cites a doc URL that was fetched, not recalled. - SKILL.md: measure -> decide -> apply -> verify -> report, with stop rules - scripts/glb-audit.mjs: bytes/gzip/brotli, true world bounds in metres, draw calls, triangles, texture VRAM, named nodes, required extensions, plus an automatic regression list when given before and after - scripts/make-fixture.mjs: deterministic fixture generator - references/commands.md: verified flags, defaults, and the traps (gltf-validator has no bin; etc1s probes for `ktx` not `toktx`; npm gltfpack has no texture encoders; --formats defaults differ per command) - references/loader-support.md: Three.js / drei / Babylon / model-viewer matrix. Three.js needs setMeshoptDecoder explicitly; model-viewer does not enable meshopt by default - references/correctness-checklist.md: units, names, animations, PBR, alpha modes, vertex colors, and the KTX2 validator false positive - examples/textured-scene.md: worked run, 29,297,696 -> 186,528 B, with the alternative pipelines measured side by side - evals/trigger-evals.json: 7 positive, 5 negative Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>