By EnzeD
Create interactive 3D scenes in React using React Three Fiber, covering animation, physics, lighting, asset loading, post-processing, and custom shaders.
React Three Fiber animation - useFrame, useAnimations, spring physics, keyframes. Use when animating objects, playing GLTF animations, creating procedural motion, or implementing physics-based movement.
React Three Fiber fundamentals - Canvas, hooks (useFrame, useThree), JSX elements, events, refs. Use when setting up R3F scenes, creating components, handling the render loop, or working with Three.js objects in React.
React Three Fiber geometry - built-in shapes, BufferGeometry, instancing with Drei. Use when creating 3D shapes, custom meshes, point clouds, lines, or optimizing with instanced rendering.
React Three Fiber interaction - pointer events, controls, gestures, selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.
React Three Fiber lighting - light types, shadows, Environment component, IBL. Use when adding lights, configuring shadows, setting up environment lighting, or optimizing lighting performance.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A collection of specialized skill files that enhance Claude Code and OpenAI Codex abilities to work with React Three Fiber (R3F) - the React renderer for Three.js.
LLM training data may contain outdated or incomplete R3F patterns. These skills provide:
| Skill | Description |
|---|---|
r3f-fundamentals | Canvas setup, hooks (useFrame, useThree), JSX elements, events |
r3f-geometry | Built-in geometries, custom BufferGeometry, instancing with Drei |
r3f-materials | Material components, PBR, shader materials in R3F |
r3f-lighting | Light components, shadows, Environment from Drei |
r3f-textures | useTexture, useEnvironment, texture configuration |
r3f-loaders | useGLTF, useLoader, Suspense patterns, asset preloading |
r3f-animation | useFrame animations, useAnimations hook, spring physics |
r3f-shaders | shaderMaterial, custom materials, uniforms in R3F |
r3f-postprocessing | @react-three/postprocessing, EffectComposer, effects |
r3f-interaction | Pointer events, controls, raycasting, KeyboardControls |
r3f-physics | RigidBody, colliders, forces, joints, sensors with Rapier |
Skills are automatically activated based on context. When you ask for R3F help, relevant skills load to provide accurate guidance. Both Claude Code and Codex use the same SKILL.md format with YAML frontmatter.
Example triggers:
r3f-fundamentals, r3f-animationr3f-postprocessingr3f-loadersr3f-interactionr3f-physicsnpx add-skill EnzeD/r3f-skills
This installs skills for your detected agent (Claude Code, Codex, OpenCode, or Cursor).
Copy the skills/ directory to your agent's skills location:
| Agent | Project | Global |
|---|---|---|
| Claude Code | .claude/skills/ | ~/.claude/skills/ |
| Codex | .codex/skills/ | ~/.codex/skills/ |
@react-three/fiber - Core R3F renderer@react-three/drei - Essential helpers and abstractions@react-three/postprocessing - Post-processing effects@react-three/rapier - Physics engine integrationthree - Underlying Three.js libraryThese skills are verified against:
MIT - Use freely in your projects.
Contributions welcome! Please ensure examples follow R3F idioms and best practices.
npx claudepluginhub enzed/r3f-skillsBuild declarative 3D scenes with React Three Fiber (R3F) - a React renderer for Three.js. Use when building interactive 3D experiences in React applications with component-based architecture, state management, and reusable abstractions. Ideal for product configurators, portfolios, games, data visualization, and immersive web experiences.
Comprehensive Three.js skills for building 3D web experiences
AI skill for working with Three.js texture loading, mapping, and material properties. Helps developers create and manipulate 3D textures programmatically.
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Lazy senior dev mode. Forces the simplest, shortest solution that actually works: YAGNI, stdlib first, no unrequested abstractions.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls