
r3f-geometry
Build React Three Fiber geometry, custom buffers, instanced meshes, points
by enzedFree
Description
R3F Geometry is an agent skill for building shapes and large sets of objects in React Three Fiber. It guides an AI coding agent to pick the right representation: native JSX geometry for ordinary shapes, BufferGeometry for custom topology, buffer-based points for large particle sets, and instancing when many copies of one object are needed. The skill explains that instancing shares geometry and material and reduces draw calls, while sharing a geometry between separate meshes does not batch their draws. It shows declarative instances with Drei Instances and Instance components, and points to native instancing for large or frequently updated sets. It also notes that Drei Merged works on meshes rather than arbitrary BufferGeometry, and that mergeGeometries from three's addons is the route for static merging. The skill asks the agent to inspect the installed Three.js, Fiber and Drei versions first. It is written for developers optimizing 3D scenes on the web. It is published on skills.sh in the enzed r3f-skills collection.…
Highlights
- Chooses between JSX shapes, BufferGeometry and points
- Shows declarative instances with Drei Instances
- Explains draw call reduction through instancing
- Targets Fiber 9, React 19 and Three.js r185
Ratings & Reviews
No ratings yet
Be the first to rate r3f-geometry.
People also visit
r3f-geometry FAQ
What does the R3F Geometry skill do?
It helps an AI coding agent build geometry in React Three Fiber, from simple shapes to custom buffers, instanced meshes and point clouds, with attention to draw call cost.
Who is it for?
Developers who render many objects or custom shapes in React Three Fiber and want to keep the scene fast.
How do I install it?
Run npx skills add https://github.com/enzed/r3f-skills --skill r3f-geometry in a terminal.
What does it require?
The agent should inspect the installed Three.js, Fiber and Drei versions before copying constructor arguments or helper props. The examples target Fiber 9, React 19 and Three.js r185.
What are the security audit results?
Gen Agent Trust Hub Pass, Socket Pass, Snyk Pass.
What are the best r3f-geometry alternatives?
Popular alternatives to r3f-geometry include threejs-geometry, react-three-fiber and r3f-fundamentals. See all r3f-geometry alternatives









