threejs-geometry
Skill by CloudAI-X
Guides an AI assistant through creating and shaping three.js geometry, including built-in shapes, 3D text, custom vertex buffers, instancing and point clouds. It is for developers building 3D scenes in three.js targeting r186.
Install threejs-geometry
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CloudAI-X/threejs-skills /tmp/threejs-skills && mkdir -p ~/.claude/skills && cp -r /tmp/threejs-skills/skills/threejs-geometry ~/.claude/skills/threejs-geometryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/CloudAI-X/threejs-skills /tmp/threejs-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/threejs-skills/skills/threejs-geometry ~/.gemini/antigravity-cli/skills/threejs-geometryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill, defined in a SKILL.md file, gives an AI assistant reference material and examples for three.js geometry. It covers built-in shapes such as boxes, spheres, tori and extruded or lathed paths, plus 3D text built from a typeface font file. It also explains the BufferGeometry base class, including named attributes, indices, interleaved buffers and how to update vertex data.
The skill also covers edges and wireframes, points, lines, and InstancedMesh for drawing many copies of one geometry in a single draw call. The examples use WebGLRenderer, and the source states a WebGPU and TSL section that uses WebGPURenderer. The publisher is CloudAI-X. It is aimed at developers who build 3D shapes, custom meshes, instanced meshes or point clouds with three.js.
Written from the project's SKILL.md and checked against it.
What it can do
- Built-in shapesShows how to create boxes, spheres, cylinders, tori, planes, rings and other standard three.js geometries.
- Advanced shapesCovers capsules, polyhedra and the Lathe, Extrude and Tube path-based shapes.
- Text geometryBuilds extruded 3D text from a typeface font using TextGeometry and FontLoader.
- Custom BufferGeometrySets positions, indices, normals, UVs and vertex colors from typed arrays.
- Attribute typesExplains choosing Float32, Uint16 and normalized Uint8 attributes for different data.
- Updating geometryShows how to change vertex positions and recompute normals and bounding volumes.
- Interleaved buffersShows how to pack several vertex attributes into one buffer with a stride.
- Edges and wireframesCreates edge and wireframe line views of a geometry with EdgesGeometry and WireframeGeometry.
- Points and linesCovers point clouds, Line, LineLoop and LineSegments with sizing notes.
- InstancedMeshDraws many transformed and colored copies of one geometry and updates instances at runtime.
What you need
- three.js r186 (the version the skill targets)
- A font file in typeface.json format for 3D text
Try asking
- Create a three.js torus knot with a custom material and add it to my scene
- Build a three.js InstancedMesh of 1000 colored cubes with random positions
- Show me how to build a custom BufferGeometry with per-vertex colors
Good to know
- LineLoop is not supported under WebGPURenderer and renders nothing there
- The WebGPU backend draws points at one pixel regardless of material size
- A vertex attribute array cannot grow after its first render, so allocate the maximum size
- Uint16 indices address vertices 0 to 65534 because 65535 is the primitive-restart value
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/threejs-geometry/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md25 KB
Alternatives to threejs-geometry
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
threejs-geometry: common questions
Does this skill work with WebGPU?
The source says a WebGPU and TSL section uses WebGPURenderer, while the main examples use WebGLRenderer. It also notes that LineLoop is not supported under WebGPURenderer.
Which three.js version does this skill target?
The skill states that it targets three.js r186.
Can it create 3D text?
Yes. The skill shows how to build extruded text with TextGeometry, using a typeface font loaded through FontLoader.
How do I install threejs-geometry?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is threejs-geometry free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is threejs-geometry safe to use?
It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to threejs-geometry?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
