meshoptimizer
БесплатноЗапускает вложенные скриптыНе проверенOperate zeux/meshoptimizer for source-pinned native or JavaScript/WASM integration, meshopt simplification, meshlets and codecs, or preservation-aware…
от akillness★ 63 звезды на GitHubОб этом скилле
meshoptimizer
When to use this skill
- Inspect or integrate the named meshoptimizer C/C++ library, its meshopt APIs or JavaScript modules.
- Choose a meshopt optimization, simplification, codec or meshlet workflow against a known asset and renderer contract.
- Convert an asset with gltfpack while preserving approved scene semantics and loader compatibility.
- Diagnose a MeshoptDecoder or EXT/KHR_meshopt_compression integration using the actual encoded format and loader version.
- For Blender modeling, Draco-only work, generic engine rendering or Three.js gameplay without meshoptimizer, route to the owning tool instead. Rust meshopt and other external bindings require their own version/license inspection.
Instructions
1. Select one bounded mode and freeze the evidence
Choose exactly one primary mode: inspect-source, native-integration, js-decoder, optimize-or-simplify, meshlets-or-codecs, or gltfpack-conversion. Record input artifact, upstream revision, existing toolchain/loader versions, permitted output directory and acceptance checks before proceeding. Do not silently upgrade a project or switch a release to master.
Read this installed skill's relative references/source.json for selected-file hashes and references/upstream.md for pinned sources, license scope, commands and release differences. Resolve these paths and scripts/preflight.py relative to the directory containing this SKILL.md, never relative to an assumed repository root.
Helper host prerequisite: Before running the helper, use a POSIX Python environment with os.O_NOFOLLOW and os.open support for dir_fd. Native Windows may fail closed with secure_posix_traversal_unavailable; preserve these safety guards. Windows users can retry in a WSL environment that supports these features or manually compare the original manifest-listed source files against the pinned evidence. Neither this guidance nor a manual comparison verifies helper execution or runtime behavior; report those as unverified.
When execution of the offline helper is authorized, from the installed skill directory use:
python3 -B scripts/preflight.py --json
python3 -B scripts/preflight.py --json --repo /absolute/nonsymlink/upstream-checkout
The helper performs no network access and never executes upstream code. Without --repo, no source was checked. With it, only listed file bytes are compared: whole_revision_verified=false, runtime_verified=false and tool_versions_verified=false remain true limitations. Missing discovered tools do not prove installation failure; exit 0 does not prove Git HEAD, a compiler or renderer works. Stop on mismatched evidence before using the pin as verified.
2. Inspect source and preserve the license boundary
The audited master pin is f0a684f11ead064e176775c9b796f82a55910e92; release v1.3 is a different commit. Read the actual source signatures for the chosen pin, not a current search snippet. Native code is C++11, with a C-compatible header; it runs mesh processing on the CPU, not GPU rendering. CMake requires 3.5+; the JS source package declares 1.3.0 but registry delivery was not verified.
Read the full pinned MIT license and retain its copyright/permission/warranty notice when distributing substantial portions. For gltfpack or bundled sources, include applicable cgltf/jsmn, fast_obj, micro_ply and sdefl notices. Optional Basis Universal and libwebp add Apache-2.0 and BSD conditions. Sample assets and dependency closure are not automatically cleared by root MIT. See the relative upstream reference before redistribution.
3. Follow only the selected mode
native-integration
- Inspect the project's build and existing library revision. Choose CMake or explicit source-file integration; include
meshoptimizer.hand compile only necessary C++ algorithm files where appropriate. - Preview build paths and flags. Approve dependency acquisition, configuration/build and project writes separately; run only the approved step. CMake defaults to a static library. Shared builds use
MESHOPT_BUILD_SHARED_LIBS;MESHOPT_STABLE_EXPORTSexcludes unstable exports. - For a representative fixture, record compiler/configuration, API call and output geometry checks. Compile/link success is distinct from rendered correctness and performance.
js-decoder
- Confirm the asset extension, loader and installed meshoptimizer version. Inspect
js/README.mdand declarations for that exact revision. - Check
MeshoptDecoder.supported; awaitMeshoptDecoder.readybefore direct decoding. For Three.js glTF, supply it withGLTFLoader.setMeshoptDecoderbefore load. Do not confuse loader setup with direct codec initialization. - Validate count/stride and target capacity: target bytes are count multiplied by stride; vertex stride is divisible by four, index stride is two or four. Match any filter to the encoded stream.
- Test one known encoded fixture and a malformed fixture with boun
Установить meshoptimizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashWriteEditВложенные файлы
FAQ
Что делает скилл meshoptimizer?
Operate zeux/meshoptimizer for source-pinned native or JavaScript/WASM integration, meshopt simplification, meshlets and codecs, or preservation-aware gltfpack conversion. Use when the request names meshoptimizer, meshopt APIs, gltfpack, MeshoptDecoder or EXT/KHR_meshopt_compression. Route generic mesh modeling, unrelated compressors and Three.js gameplay to their own tools; this is not a renderer or general game-development guide.
Как установить скилл meshoptimizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл meshoptimizer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub