agentleFS
shinyobjectzshinyobjectz/raea-skills/skills/threejs/SKILL.md

threejs

Skill38 starsChanged 22 days agoApache-2.0View on GitHub

Plain three.js r187 scenes: setup (import maps, renderer, camera, animation loop, resize, controls, WebGPU renderer), glTF and GLB loading with Draco, Meshopt and KTX2 and animation playback, and materials, lights, shadows, environment lighting and tone mapping, each with a symptom-to-fix list (a black mesh, washed-out colour, missing or blocky shadows). Use when writing or debugging a three.js page or scene outside raea. three.js inside a raea composition goes through the raea skill. From gamedev-skills' awesome-gamedev-agent-skills (Apache-2.0).

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use Problem-Solving Techniques, ads-management and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 6 projects that use this

  • OpenAnalystIncSkill

    ads-management

    Activate for paid advertising campaigns on Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads. Includes ad copywriting, audience targeting, budget optimization, A/B testing, and ROAS tracking. Used by ads-specialist and campaign-manager agents.

    Also in 3 projects that use this

  • OpenAnalystIncSkill

    ai-artist

    Write and optimize prompts for AI-generated outcomes across text and image models. Use when crafting prompts for LLMs (Claude, GPT, Gemini), image generators (Midjourney, DALL-E, Stable Diffusion, Imagen, Flux), or video generators (Veo, Runway). Covers prompt structure, style keywords, negative prompts, chain-of-thought, few-shot examples, iterative refinement, and domain-specific patterns for marketing, code, and creative writing.

    Also in 3 projects that use this

  • jhy0285Skill

    social-spotify-card

    Spotify Now Playing-style card with album art, progress bar, and playback controls, suited to video overlays or personal homepages.

    Also in 3 projects that use this

  • jhy0285Skill

    social-x-post-card

    Realistic X post card with engagement metrics (likes, reposts, views), suited to video overlays or shareable image cards.

    Also in 3 projects that use this

  • jpoindexterSkill

    faq-page

    A Frequently Asked Questions (FAQ) page with collapsible accordion sections, search functionality, and category filtering. Use when the brief asks for "FAQ", "help center", "questions", or "support page".

    Also in 3 projects that use this

  • +6 more from OpenAnalystInc

The file

Files
SKILL.md

three.js

Three skills from gamedev-skills' awesome-gamedev-agent-skills, copied unchanged into pack/ (UPSTREAM.md says from where). They target three.js r187 and record the release they were last checked against. Each has a Verify section and a Gotchas list written as symptom → cause → fix: start there when something renders wrong.

three.js inside a raea composition (<R3F>, <Three program>, TSL node materials) goes through the raea skill (raea/3d/r3f.md), which says what raea draws and what it doesn't yet.

Known traps (found loading a rigged Blender character in r187, 23 November 2026)

  • GLTFLoader strips . from node names: Blender's hand.R arrives as handR, so finding a bone by its Blender name misses.
  • Skinned meshes are culled by their bind-pose bounds: a limb animated outside them pops out. Set frustumCulled = false on them, or grow the bounds.
  • Fitting the shadow camera to an animated character: sample the clip's bounds (Box3.setFromObject(root, true) at several times), add their projection onto the ground along the light, and fit the orthographic camera to that in light space. The pack's example uses a fixed box.
  • Match the tone mapping to where the asset was lit (AgX for a Blender AgX look-dev), not ACES by default.
  • Without a browser, GLTFLoader's parseAsync and AnimationMixer run in Node, which checks a model's clips, bounds and names before a page is opened.
SkillUse when
threejs-gltf-loadingLoads glTF/GLB models into three.js r187 and plays their animations: GLTFLoader, DRACO, Meshopt and KTX2 decoders, AnimationMixer cross-fades and SkeletonUtils clones. …
threejs-materials-lightingLights and shades three.js r187 scenes: standard, physical and unlit materials, lights, shadows, HDR environment lighting and tone mapping. Use when a mesh renders black …
threejs-scene-setupSets up and debugs a plain three.js r187 game or 3D scene: import maps, Scene, PerspectiveCamera and WebGLRenderer, setAnimationLoop with Timer, resize, OrbitControls …

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.