Skip to content
SkillModel-led7,513 tokens in use

threejs-react-three-fiber

Gives an AI coding agent current knowledge of building three.js scenes in React with React Three Fiber 9, React 19 and drei 10.

4,322 stars on the repository MIT LicenseCloudAI-X/threejs-skills · skills/threejs-react-three-fiber
npx skills add cloudai-x/threejs-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing threejs-react-three-fiber costs

64tokens idle
7,513tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure17/25
  • Examples15/15
  • Output10/15
  • Size11/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Fair
  • Development activity68
  • Maintenance40
  • Community52
  • Maturity32
  • Momentum40

threejs-react-three-fiber covers writing three.js scenes as React components. Its quick start shows a Canvas that owns the renderer, scene and camera, a component animated with useFrame, lights, shadows and drei’s OrbitControls.

The skill documents Canvas props such as shadows, dpr, frameloop and camera, then the frame loop, state and loading hooks, pointer events and adaptive performance, on WebGL or with WebGPU and TSL.

What You Get

  • A complete quick start with a Canvas, lights, an animated box, a ground plane and orbit controls
  • A Canvas props reference covering camera, shadows, dpr, frameloop and the onCreated callback
  • Frame loop, state and loading hooks
  • Pointer event handling on scene objects
  • Adaptive performance options and a WebGPU and TSL section

Common Use Cases

  • Building a 3D hero section inside a React app
  • Animating objects with useFrame
  • Rendering on demand to save battery
  • Adding orbit controls and shadows with drei
  • Handling clicks and hover on 3D elements

What Makes It Unique

It is pinned to the current React Three Fiber and drei versions and checked so every element maps to a three.js class. It notes that the Canvas fills its parent, so the parent needs a height, a common source of blank canvases. It is the React entry in a set of thirteen three.js skills.

Under The Hood

The skill is a single SKILL.md of explanation and JSX examples, with no scripts, and it tells the agent to run no commands. The agent reads it and writes React and three.js code into your project. It fetches nothing and writes no files itself.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers