By rushyop
Claude skill for WebGPU-enabled Three.js development with TSL (Three.js Shading Language)
npx claudepluginhub rushyop/mirror-webgpu-claude-skillClaude skill for WebGPU-enabled Three.js development with TSL (Three.js Shading Language)
An Agent Skill for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language).
This skill provides Claude with comprehensive knowledge for:
# Install from this repository
/skill install webgpu-threejs-tsl@<your-github-username>/webgpu-claude-skill
Copy the skills/webgpu-threejs-tsl folder to:
~/.claude/skills/<project>/.claude/skills/skills/webgpu-threejs-tsl/
├── SKILL.md # Entry point with overview
├── REFERENCE.md # Quick reference cheatsheet
├── docs/
│ ├── core-concepts.md # Types, operators, uniforms, control flow
│ ├── materials.md # Node materials and properties
│ ├── compute-shaders.md # GPU compute documentation
│ ├── post-processing.md # Built-in and custom effects
│ └── wgsl-integration.md # Custom WGSL functions
├── examples/
│ ├── basic-setup.js # Minimal WebGPU project
│ ├── custom-material.js # Custom shader material
│ ├── particle-system.js # GPU compute particles
│ ├── post-processing.js # Effect pipeline
│ └── earth-shader.js # Complete Earth with atmosphere
└── templates/
├── webgpu-project.js # Starter project template
└── compute-shader.js # Compute shader template
import * as THREE from 'three/webgpu';
import { color, time, oscSine, normalWorld, cameraPosition, positionWorld, Fn, float } from 'three/tsl';
// WebGPU renderer
const renderer = new THREE.WebGPURenderer();
await renderer.init();
// TSL material with animated fresnel
const material = new THREE.MeshStandardNodeMaterial();
material.colorNode = color(0x0066ff);
material.emissiveNode = Fn(() => {
const viewDir = cameraPosition.sub(positionWorld).normalize();
const fresnel = float(1).sub(normalWorld.dot(viewDir).saturate()).pow(3);
return color(0x00ffff).mul(fresnel).mul(oscSine(time));
})();
MIT License
Code examples derived from Three.js (MIT License).
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
No description available.