agentleFS
wormholeportalwormholeportal/Makone/skills/three/SKILL.md

three

Skill28 starsChanged 3 months agoMITView on GitHub

Three.js API reference and engine engineering - lookup, not design. Use when you know what you want and need the how, or when you hit a recurring engine failure mode (blank canvas, allocation churn, update-order bugs).

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

three/ — Three.js reference + engine engineering

Lookup, not design. Come here when you know what you want and need the how. Design decisions live in skills/craft/ and skills/world/.

API reference

pagewhat it answers
fundamentals.mdScene setup, cameras, renderer, Object3D hierarchy, transforms
geometry.mdBuilt-in shapes, BufferGeometry, custom meshes, instancing
materials.mdPBR / basic / phong / shader materials and their properties
textures.mdTexture types, UV mapping, cubemaps, HDR, texture settings
lighting.mdLight types, shadows, IBL, lighting cost
shaders.mdGLSL, ShaderMaterial, uniforms, extending built-in materials
postprocessing.mdEffectComposer, bloom, DOF, colour grading, screen-space effects
animation.mdKeyframe / skeletal animation, morph targets, mixing, procedural motion
interaction.mdRaycasting, controls, mouse/touch input, object selection
loaders.mdGLTF, textures, HDR, async loading patterns

Contract templates

  • scene-template.md — the WorldModule skeleton every world starts from
  • cinematic.md — the cinematic cap: camera paths, seekTo, timeline capture
  • reference-library.md — the external reference library (references/): discovery, routing, integrating ez-tree / spiri0-ocean / three-nebula / lygia

Engine engineering (recurring failure modes)

  • blank-canvas.md — blank page? start here (docs/principles.md E3)
  • instancing-traps.md — everything renders black or muddy? the four InstancedMesh traps, all of which look like lighting bugs and are not (verify warns about them)
  • shared-resources.md — the allocation rule (E4)
  • update-order.md — what must happen before what, and data coherence (E6)
  • timestep.md — when a fixed step is required
  • object-pooling.md · spatial-partitioning.md — when the frame budget bites
  • mouse-picking.md — raycasting and picking in practice

Physics has no doc yet: runtime/ has no physics wrapper, and writing a guide for an API that doesn't exist is how the last one rotted. Wire Rapier in a real world first, then write the page.

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.