From samhvw8-dot-claude
Builds 3D web graphics with Three.js: scenes, cameras, materials, lights, animations, model loading, post-processing, physics, and VR/XR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/samhvw8-dot-claude:3d-graphicsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build high-performance 3D web applications using Three.js - a cross-browser WebGL/WebGPU library.
references/01-getting-started.mdreferences/02-loaders.mdreferences/03-textures.mdreferences/04-cameras.mdreferences/05-lights.mdreferences/06-animations.mdreferences/07-math.mdreferences/08-interaction.mdreferences/09-postprocessing.mdreferences/10-controls.mdreferences/11-materials-advanced.mdreferences/12-performance.mdreferences/13-node-materials.mdreferences/14-physics-vr.mdreferences/15-specialized-loaders.mdreferences/16-webgpu.mdBuild high-performance 3D web applications using Three.js - a cross-browser WebGL/WebGPU library.
Use when working with:
Load references/01-getting-started.md - Scene setup, basic geometries, materials, lights, rendering loop
references/02-loaders.md - GLTF, FBX, OBJ, texture loadersreferences/03-textures.md - Types, mapping, wrapping, filteringreferences/04-cameras.md - Perspective, orthographic, controlsreferences/05-lights.md - Types, shadows, helpersreferences/06-animations.md - Clips, mixer, keyframesreferences/07-math.md - Vectors, matrices, quaternions, curvesreferences/08-interaction.md - Raycasting, picking, transformsreferences/09-postprocessing.md - Passes, bloom, SSAO, SSRreferences/10-controls.md - Orbit, transform, first-personreferences/11-materials-advanced.md - PBR, custom shadersreferences/12-performance.md - Instancing, LOD, batching, cullingreferences/13-node-materials.md - Shader graphs, computereferences/14-physics-vr.md - Ammo, Rapier, Jolt, VR/XRreferences/15-specialized-loaders.md - SVG, VRML, domain-specificreferences/16-webgpu.md - Modern backend, compute shaders// 1. Scene, Camera, Renderer
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);
// 2. Add Objects
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshStandardMaterial({ color: 0x00ff00 });
const cube = new THREE.Mesh(geometry, material);
scene.add(cube);
// 3. Add Lights
const light = new THREE.DirectionalLight(0xffffff, 1);
light.position.set(5, 5, 5);
scene.add(light);
scene.add(new THREE.AmbientLight(0x404040));
// 4. Animation Loop
function animate() {
requestAnimationFrame(animate);
cube.rotation.x += 0.01;
cube.rotation.y += 0.01;
renderer.render(scene, camera);
}
animate();
npx claudepluginhub samhvw8/dot-claudeGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.