skills/threejs-skills/threejs-loaders/SKILL.md
three.js asset I/O using LoadingManager, Cache, FileLoader, image and texture loaders, GLTFLoader with DRACOLoader and KTX2Loader, and common format loaders under Addons; symmetric exporters such as GLTFExporter and texture/buffer exporters. Use when loading or exporting models, HDR, LUT, fonts, or compressed textures; for runtime Texture object parameters after load use threejs-textures; for scene graph placement use threejs-objects.
npx skillsauth add partme-ai/full-stack-skills threejs-loadersInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ALWAYS use this skill when the user mentions:
GLTFLoader, DRACOLoader, KTX2Loader, FBXLoader, OBJLoader, progress and error handlingLoadingManager for global progress, Cache for HTTP caching controlGLTFExporter, OBJExporter, HDR/KTX2 export pipelinesIMPORTANT: loaders vs textures
Texture/DataTexture parameters, sampling, PMREM after you already have image buffers.IMPORTANT: loaders vs dev-setup
Trigger phrases include:
onStart/onLoad/onProgress/onError.DRACOLoader, set decoder path, attach to GLTFLoader.setDRACOLoader per current docs.KTX2Loader with transcoder path and connect to GLTFLoader when using Basis textures.GLTFExporter with options matching round-trip needs; note large scenes and binary vs JSON.See examples/workflow-gltf-draco.md.
| Docs section | Representative links | |--------------|----------------------| | Core Loaders | https://threejs.org/docs/LoadingManager.html | | Core Loaders | https://threejs.org/docs/GLTFLoader.html | | Addons Exporters | https://threejs.org/docs/GLTFExporter.html | | Addons Loaders | https://threejs.org/docs/DRACOLoader.html |
Extended list: references/official-sections.md.
renderer.initTexture implications when cloning materials.Loader and exporter APIs (especially GLTFLoader + DRACOLoader / KTX2Loader wiring) change between three.js versions. Follow Loaders and Addons → Loaders / Exporters in three.js docs; decoder WASM paths are deployment-specific, not library-version alone.
When answering under this skill, prefer responses that:
LoadingManager, GLTFLoader, or the relevant format page on https://threejs.org/docs/.dispose() when replacing entire loaded scenes.English: gltf, gltfloader, dracoloader, ktx2, loadingmanager, cache, exporter, asset pipeline, three.js
中文: GLTFLoader、加载器、Draco、KTX2、导出、资源、进度、three.js
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.