/threejs-skills:threejs-model-fixfrom three.js Skills
Diagnosis and fixes for a 3D model that loads or renders wrong in three.js or React Three Fiber: black, invisible, huge or tiny, off-center, inside-out, washed out, untextured, or a loader error. Use when a model does not look like it should. Hands off to `threejs-model-optimize`.
Ships in three.js Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Most "broken model" reports are not broken files. They are a scene missing an environment, a camera pointed at the wrong place, or a loader missing a decoder. Split file problems from app problems before changing either.
threejs-model-inspect
(node "<inspect-skill-dir>/scripts/inspect.mjs" model.glb, where <inspect-skill-dir> is the absolute
directory of that skill's SKILL.md). Findings with codes such as metal-needs-env,
scale-large, off-center, mirrored, no-normals and decoder map directly to rows in
references/symptoms.md.No DRACOLoader instance provided, setMeshoptDecoder must be called..., setKTX2Loader must be called...), and a 404 means a path, not a model problem.<inspect-skill-dir>/scripts/render.mjs (a six-view
contact sheet through a known-good viewer that wires every decoder, lights with an environment map and frames
the bounds). Add --no-env to see it the way an app without an environment does. For hands-on checks, copy
<inspect-skill-dir>/assets/viewer.html next to the model, serve that folder and open
viewer.html?model=model.glb; it has toggles for environment, wireframe and double-sided.
references/symptoms.md.threejs-scene-doctor.references/symptoms.md for the stack in use. Detect React Three Fiber by
@react-three/fiber in package.json and use the R3F column; otherwise vanilla.render.mjs --compare original.glb fixed.glb for file-level fixes. A fix that
only silences the console is not done.scene.environment.MeshPhysicalMaterial, anisotropy, tweaked factors) when the scene
is what is missing. The artist's material is the spec: fix lighting first, look, and only then tune materials if
the user asked for a different look. Overriding them is how a black model becomes a blown-out white one.side: DoubleSide everywhere to hide inverted normals instead of fixing the mirrored export.extensionsRequired from the inspect report.Next: threejs-model-optimize once it renders right.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub emiliodominguez/threejs-skills --plugin threejs-skills28 skills in this plugin
/threejsMap of the threejs-* skills for three.js and React Three Fiber work: 3D models, scenes, materials, lighting, animation, shaders, performance and model generation. Use when a 3D web task spans several areas or the right skill is unclear. Routes to `threejs-model-inspect` and the rest of the suite./threejs-animationKeyframe, skeletal and morph-target animation, procedural motion and clip blending, on WebGL or with WebGPU and TSL. Use when animating objects, playing glTF animations, posing bones, driving morph targets, or mixing and crossfading clips./threejs-asset-pipelineShrinking glTF assets for three.js with gltf-transform: inspect, validate and optimize commands, Draco, meshopt and quantization, KTX2, WebP and AVIF textures, the loader setup each output needs, and gltfjsx for React. Use when compressing, optimizing or validating 3D models before loading them.