SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-09-11 14:06 UTC

skills

Committed by Aymericr. Update Category: New Features & Capability Expansion. Commit details: Add glb-web-export skill (#1). This update introduces new capabilities and expands supported use cases.

Aymericr 7be87e9 pascalorg/skills

CommitRaw commit message

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>