Builderoom

September 26, 2026

Get resource

A collection of Three.js skill files for Claude Code to help generate 3D scenes and interactive code.

MITClaude CodeText InputCode Output
安装 / 调用方式bash
git clone https://github.com/pinkforest/threejs-playground.git
# 或者作为 submodule 添加
git submodule add https://github.com/pinkforest/threejs-playground.git

Product facts

Type
AI Skill & Agent
Category
AI & Machine Learning › Prompt Engineering & Skill Management
Pricing
Open source
Platforms
Claude Code
License
MIT
Launched
Sep 26, 2026
Listed
Sep 26, 2026
Website
github.com

Overview

GitHubGitHub

Three.js Skills for Claude Code is a set of Three.js skill files designed for Claude Code, filling knowledge gaps in the AI coding assistant regarding Three.js API details, best practices, and common patterns.

What problem it solves

Claude Code has general programming capabilities, but may lack accurate constructor signatures, import paths, or performance optimization advice when working with Three.js. These skill files provide reference material and runnable examples verified against official documentation (r160+), making the generated code more accurate.

Key capabilities

The project includes 10 skill modules covering core areas of Three.js:

  • threejs-fundamentals: Scene setup, cameras, renderers, Object3D hierarchy, and coordinate systems.
  • threejs-geometry: Built-in geometries, BufferGeometry, custom geometries, and instancing.
  • threejs-materials: PBR materials, Basic/Phong/Standard materials, and shader materials.
  • threejs-lighting: Light types, shadows, ambient lighting, and light helpers.
  • threejs-textures: Texture types, UV mapping, environment maps, and render targets.
  • threejs-animation: Keyframe animation, skeletal animation, morph targets, and animation blending.
  • threejs-loaders: GLTF/GLB loading, texture loading, async patterns, and caching.
  • threejs-shaders: GLSL basics, ShaderMaterial, uniforms, and custom effects.
  • threejs-postprocessing: EffectComposer, bloom, depth of field, screen effects, and custom passes.
  • threejs-interaction: Raycasting, camera controls, mouse/touch input, and object selection.

How it works

When a user makes a request to Claude Code, the system automatically loads matching skill files from the .claude/skills directory based on context. For example, asking to create a 3D scene triggers threejs-fundamentals, while requesting to load a GLTF model triggers threejs-loaders.

Each skill file follows a consistent structure with sections such as Quick Start, Core Concepts, Common Patterns, and Performance Tips.

Who it's for

Developers using Claude Code for Three.js development who need AI assistance to generate 3D-related code.

Key features

  • Scene fundamentals: Reference info for scenes, cameras, renderers, Object3D hierarchy, and coordinate systems.
  • Geometry support: Covers built-in shapes, BufferGeometry, custom geometries, and instancing.
  • Material system: Includes docs on PBR, Basic/Phong/Standard materials, and shader materials.
  • Lighting & shadows: Guidance on light types, shadow setup, ambient lighting, and light helpers.
  • Texture handling: Covers texture types, UV mapping, environment maps, and render targets.
  • Animation system: Supports keyframe animation, skeletal animation, morph targets, and blending.
  • Model loading: Setup methods for GLTF/GLB loading, texture loading, async patterns, and caching.
  • Custom shaders: Covers GLSL basics, ShaderMaterial, uniform declarations, and custom effects.
  • Post-processing: Includes EffectComposer, bloom, depth of field, screen effects, and custom passes.
  • Interaction handling: References for raycasting, camera controls, mouse/touch input, and object selection.
  • Context-aware auto-loading: Automatically matches and loads the relevant skill file based on user requests.
  • Official doc verification: All skill content has been reviewed against the Three.js r160+ official docs.

Releases

Notify me

Initial · Three.js Skills for Claude Code

Q&A

How do I install these skill files?AI-generated
You can clone the repository into your project or copy the `.claude/skills` directory. Adding it as a git submodule is also supported. Use `git clone https://github.com/pinkforest/threejs-playground.git` or `git submodule add https://github.com/pinkforest/threejs-playground.git`.
How are the skill files triggered?AI-generated
When you make a request to Claude Code, the system automatically loads the matching skill file from the `.claude/skills` directory based on the request context. For example, asking to create a 3D scene loads threejs-fundamentals.
Is the content of these skill files reliable?AI-generated
The skill files have been reviewed against the official Three.js documentation (r160+), verifying the accuracy of class names, constructor signatures, property and method signatures, import paths (in the three/addons/ format), code examples, and current best practices.
What is the structure of the skill files?AI-generated
Each skill file uses Markdown format with YAML front matter (name and description). The body is divided into sections such as Quick Start, Core Concepts, Common Patterns, Performance Tips, and See Also.
What license does this project use?AI-generated
MIT License. You are free to use, modify, and distribute it.
Get resource
Bookmark

This product has no owner yet

It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.

Claim this product

Alternatives

The product content on this page was translated by AI from the author's original.