Claude Skill

three

Build browser-based Three.js and WebGL scenes, animations, and interactive 3D visualizations with a small vanilla JavaScript starting point. Do not use this skill for unrelated requests; route to the nearest named specialist.

LLM Mart · 0 points · 12 views 0 listing impressions 0 install-command copies
Download magnus919-agent-skills-three-d0edebb.zip · 4 KB

Install

skills CLI npx skills add https://github.com/magnus919/agent-skills/tree/main/three
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install magnus919-agent-skills@llmmart
Git git clone https://github.com/magnus919/agent-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole magnus919/agent-skills collection as a plugin from our marketplace. Git is the plain clone.

README

Three.js

Why Install This Skill

Start a working browser 3D scene without rebuilding the setup from memory. The skill gives an agent a small, runnable baseline and the decisions that matter as the scene grows.

Start a working browser 3D scene without rebuilding the setup from memory. The skill covers scene/camera/renderer wiring, geometry and materials, lighting, animation, assets, and the first performance decisions.

What you get

  • SKILL.md: routing and core patterns
  • templates/basic-scene.html: runnable vanilla Three.js scene

Quick start

Open templates/basic-scene.html in a browser or serve the repository with a local HTTP server.

What You Get

  • SKILL.md: core scene and performance guidance
  • templates/basic-scene.html: runnable vanilla scene

Quick Start

Open templates/basic-scene.html in a browser.

Triggers

Three.js, WebGL, 3D scene, camera, lighting, GLTF, shader, animation loop, or interactive browser visualization.

Requirements

A modern browser. The template loads Three.js from a CDN; production work should pin and bundle the dependency.

Skill manifest

Three.js

Quick Start

Open templates/basic-scene.html in a modern browser or serve the repository over HTTP.

Use this skill for browser 3D scenes, WebGL visualization, camera and lighting setup, asset loading, or animation loops. Start with the smallest scene in templates/basic-scene.html, then add geometry, materials, lights, and controls only as required.

Core choices

  • Use PerspectiveCamera for natural 3D views and OrthographicCamera for technical or isometric views.
  • Keep animation time-based with Clock or elapsed timestamps.
  • Dispose geometries, materials, and textures when scenes are replaced.
  • Use GLTF/GLB for external models and keep assets local when reproducibility matters.
  • Prefer instancing and level of detail when object count becomes the bottleneck.

The template uses a CDN for a quick standalone demo. Pin a Three.js version for production.

Files (agent-skills)
  • evals
    • evals.json 7.4 KB
      Loading…
  • templates
    • basic-scene.html 1 KB · in bundle
  • README.md 1.1 KB
    # Three.js
    
    ## Why Install This Skill
    
    Start a working browser 3D scene without rebuilding the setup from memory. The skill gives an agent a small, runnable baseline and the decisions that matter as the scene grows.
    
    Start a working browser 3D scene without rebuilding the setup from memory. The skill covers scene/camera/renderer wiring, geometry and materials, lighting, animation, assets, and the first performance decisions.
    
    ## What you get
    
    - `SKILL.md`: routing and core patterns
    - `templates/basic-scene.html`: runnable vanilla Three.js scene
    
    ## Quick start
    
    Open `templates/basic-scene.html` in a browser or serve the repository with a local HTTP server.
    
    ## What You Get
    
    - `SKILL.md`: core scene and performance guidance
    - `templates/basic-scene.html`: runnable vanilla scene
    
    ## Quick Start
    
    Open `templates/basic-scene.html` in a browser.
    
    ## Triggers
    
    Three.js, WebGL, 3D scene, camera, lighting, GLTF, shader, animation loop, or interactive browser visualization.
    
    ## Requirements
    
    A modern browser. The template loads Three.js from a CDN; production work should pin and bundle the dependency.
    
  • SKILL.md 1.1 KB
    ---
    name: three
    description: >-
      Build browser-based Three.js and WebGL scenes, animations, and interactive 3D
      visualizations with a small vanilla JavaScript starting point. Do not use this skill for
      unrelated requests; route to the nearest named specialist.
    ---
    
    # Three.js
    
    ## Quick Start
    
    Open `templates/basic-scene.html` in a modern browser or serve the repository over HTTP.
    
    Use this skill for browser 3D scenes, WebGL visualization, camera and lighting setup, asset loading, or animation loops. Start with the smallest scene in `templates/basic-scene.html`, then add geometry, materials, lights, and controls only as required.
    
    ## Core choices
    
    - Use `PerspectiveCamera` for natural 3D views and `OrthographicCamera` for technical or isometric views.
    - Keep animation time-based with `Clock` or elapsed timestamps.
    - Dispose geometries, materials, and textures when scenes are replaced.
    - Use GLTF/GLB for external models and keep assets local when reproducibility matters.
    - Prefer instancing and level of detail when object count becomes the bottleneck.
    
    The template uses a CDN for a quick standalone demo. Pin a Three.js version for production.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.