Browser automation · Channel: Claude Code

webgpu-threejs-tsl

Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js We.

Skilldgreenheck/webgpu-claude-skillVerify upstream fit
Rank signal51/100

This rank signal uses GitHub stars, measured star growth, and recent maintenance. It is not a safety score or install approval.

SKILL.md proofSKILL.mdOpen the upstream source before installing.
GitHub stars1,000Adoption baseline, not a quality guarantee.
Adoption momentum+23/wk starsMeasured star growth from the current scan window.
Recent update64 days agoRecent maintenance signal: last pushed Apr 10, 2026.
Why we list it

Worth reviewing before you install

Worth a closer look if the use case fits. It has adoption, measured growth, and recent maintenance. No primary install command was extracted, so review the upstream source first.

Approved public shortlistSKILL.md evidenceAlternatives kept nearby
Best for

Browser automation teams. Channel tag: Claude Code. Treat this as a search fit signal, not compatibility proof. Best when you can review the repo manually before adoption. Start with skills/webgpu-threejs-tsl/SKILL.md.

Review before install

Inspect skills/webgpu-threejs-tsl/SKILL.md and the install command before adding it to a shared agent workflow. No actionable warning was returned for this snapshot.

Compare alternatives

Compare nearby browser automation skills in the Claude Code channel when 1,000 GitHub stars, source freshness, or install notes are close. This one still needs manual install review, so a nearby skill may be easier to adopt.

GitHub1,000 stars87 forksSkill

How to install webgpu-threejs-tsl

No install command was extracted. Treat this as a manual review case.

Source evidence preview

We show selected README/SKILL.md excerpts, not a full mirror of the repo. Use the focus cards for install notes, usage, and skill rules, then open GitHub before installing.

Install evidence

Sections found: Installation, Install from this repository.

Usage evidence

Sections found: Quick Example.

Skill rules

Sections found: When to Use This Skill.

README.mdSections: Overview, Installation, Install from this repository, Cursor

Overview

This skill provides Claude with comprehensive knowledge for:

  • Setting up Three.js with WebGPU renderer
  • Writing shaders using TSL (Three.js Shading Language)
  • Creating node-based materials
  • Building GPU compute shaders
  • Implementing post-processing effects
  • Integrating custom WGSL code

Installation

This repo ships the same content in two formats so it works in both Claude Code (as an Agent Skill) and Cursor (as project rules). The Claude skill under skills/ is the source of truth; the Cursor rules under .cursor/rules/ are thin shims that @file-reference those same docs, so edits flow through automatically.

Install from this repository

/skill install webgpu-threejs-tsl@ /webgpu-claude-skill

Or manually copy the skills/webgpu-threejs-tsl folder to:

  • Global: ~/.claude/skills/
  • Project: <project>/.claude/skills/

Cursor

Clone this repo and open it directly — Cursor picks up .cursor/rules/ automatically.

To use the rules in your own project, copy both directories into your project root, preserving the paths:

your-project/
├── .cursor/rules/              # from this repo
└── skills/webgpu-threejs-tsl/  # from this repo (referenced by the rules)

The .mdc files use @file references pointing at skills/webgpu-threejs-tsl/..., so the skills/ directory must travel with them. If you'd rather not keep the skills/ folder, inline the referenced content into each .mdc file.

The rules are scoped by globs and auto-attach only on relevant files:

  • webgpu-threejs-tsl.mdc — entry point, JS/TS files
  • compute-shaders.mdc — files matching *compute* or *particle*
  • post-processing.mdc — files matching *post*, *effect*, *bloom*
  • wgsl-integration.mdc.wgsl files and *wgsl* JS/TS
  • device-loss-and-limits.mdc — files matching *renderer* or *webgpu*

Quick Example

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));
})();

Need the full source? Read full README on GitHub