Feature: Create a three.js skill for 3D scene development #74

Closed
opened 2026-07-08 11:59:49 -04:00 by jasper · 0 comments
Contributor

Create a skill for Three.js / WebGL 3D scene development, suitable for agent-assisted creation of 3D visualizations, animations, and interactive scenes.

What the skill should cover

  1. Three.js fundamentals — scene, camera, renderer setup for different contexts (web, headless)
  2. Common geometry and material patterns — primitives, custom geometry, PBR materials, shaders
  3. Animation loop patterns — requestAnimationFrame, clock-based animation, tweening
  4. Lighting setups — ambient, directional, point, spot, hemisphere — and when each is appropriate
  5. Camera types — PerspectiveCamera vs OrthographicCamera, orbit controls, camera rigs
  6. Loading external assets — GLTF/GLB models, textures, environment maps
  7. Performance considerations — geometry merging, LOD, instancing, frustum culling
  8. Integration patterns — React Three Fiber / @react-three/fiber if relevant, or vanilla JS for standalone

Reference material

Delivered in the skill

  • SKILL.md with common patterns and code snippets
  • Reference files covering specific areas (geometry, materials, animation, assets)
  • At least one working example template
  • Progressive disclosure — start simple, reference deeper material on demand

Why this belongs in agent-skills

3D visualization is a recurring need for data visualization, prototyping, and interactive demonstrations. A dedicated skill would let an agent produce working Three.js scenes without rediscovering the API patterns each time.

Create a skill for Three.js / WebGL 3D scene development, suitable for agent-assisted creation of 3D visualizations, animations, and interactive scenes. ## What the skill should cover 1. Three.js fundamentals — scene, camera, renderer setup for different contexts (web, headless) 2. Common geometry and material patterns — primitives, custom geometry, PBR materials, shaders 3. Animation loop patterns — requestAnimationFrame, clock-based animation, tweening 4. Lighting setups — ambient, directional, point, spot, hemisphere — and when each is appropriate 5. Camera types — PerspectiveCamera vs OrthographicCamera, orbit controls, camera rigs 6. Loading external assets — GLTF/GLB models, textures, environment maps 7. Performance considerations — geometry merging, LOD, instancing, frustum culling 8. Integration patterns — React Three Fiber / @react-three/fiber if relevant, or vanilla JS for standalone ## Reference material - Three.js documentation: https://threejs.org/docs/ - Three.js fundamentals: https://threejs.org/manual/ - The existing agent-skills repo already has a three.js sample/reference pattern in some skill descriptions ## Delivered in the skill - SKILL.md with common patterns and code snippets - Reference files covering specific areas (geometry, materials, animation, assets) - At least one working example template - Progressive disclosure — start simple, reference deeper material on demand ## Why this belongs in agent-skills 3D visualization is a recurring need for data visualization, prototyping, and interactive demonstrations. A dedicated skill would let an agent produce working Three.js scenes without rediscovering the API patterns each time.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
magnus/agent-skills#74
No description provided.