emalorenzo avatar

Three Best Practices

A comprehensive reference that packs 120+ Three.js optimization rules across 22 categories, from critical memory disposal patterns to WebGPU and TSL best practices. Pulls from the official Three.js llms branch and Utsubo's 100 Tips guide. The priority system is genuinely useful: it separates fundamental setup from critical render loop fixes and lower impact tweaks. If you're writing Three.js code in Claude, this gives you specific rule names like `memory-dispose-geometry` and `draw-call-optimization` to reference. The asset compression section alone (Draco, KTX2, Meshopt) could save you hours of research. It's dense but well organized, and the quick reference makes it scannable when you just need to check if you're doing something stupid with shadow maps or shader precision.

skills.sh installs
1.6K
GitHub stars
68
last updated
Aug 21, 2026

Install

$ npx -y skills add emalorenzo/three-agent-skills --skill three-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Three.js Best Practices

Comprehensive performance optimization guide for Three.js applications. Contains 120+ rules across 18 categories, prioritized by impact.

Sources & Credits

This skill compiles best practices from multiple authoritative sources:

  • Official guidelines from Three.js llms branch maintained by mrdoob
  • 100 Three.js Tips by Utsubo - Excellent comprehensive guide covering WebGPU, asset optimization, and performance tips

When to Apply

Reference these guidelines when:

  • Setting up a new Three.js project
  • Writing or reviewing Three.js code
  • Optimizing performance or fixing memory leaks
  • Working with custom shaders (GLSL or TSL)
  • Implementing WebGPU features
  • Building VR/AR experiences with WebXR
  • Integrating physics engines
  • Optimizing for mobile devices

Rule Categories by Priority

Sponsors

Details

Repository
github.com/emalorenzo/three-agent-skills
Categories
Documentation, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from emalorenzo/three-agent-skills

All 2
1neo4j-contrib avatarneo4j-cypher-skillneo4j-contrib/neo4j-skillsGenerates, optimizes, and validates Cypher 25 queries for Neo4j 2025.x and 2026.x. Use when writing new Cypher queries, optimizing slow queries, graph pattern m1.6Kskills.sh installs
2daymade avatarfact-checkerdaymade/claude-code-skillsVerifies factual claims in documents using web search and official sources, then proposes corrections with user confirmation. Use when the user asks to fact-che1.6Kskills.sh installs
3quodsoler avatarue-cpp-foundationsquodsoler/unreal-engine-skillsUse when writing Unreal Engine C++ code involving UPROPERTY, UFUNCTION, UCLASS, TArray, TMap, delegates, FString, garbage collection, or smart pointers. Also us1.6Kskills.sh installs
4jezweb avatarhono-api-scaffolderjezweb/claude-skillsScaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md document1.6Kskills.sh installs
5yonatangross avatararchitecture-decision-recordyonatangross/orchestkitADR templates in the Nygard format with context, decision, consequences, and alternatives. Use when writing ADRs, recording an architectural decision, or evalua1.5Kskills.sh installs
6bfollington avatarshadertoybfollington/termaThis skill should be used when working with Shadertoy shaders, GLSL fragment shaders, or creating procedural graphics for the web. Use when writing .glsl files,1.5Kskills.sh installs