R3f Scene

Build one React Three Fiber scene that loads late, stops rendering off-screen, holds a designed still under reduced motion, and falls back to a poster without WebGL. Use when a page needs real geometry, a camera, lights, a model, or 3D interaction; when someone shares three.js, react-three-fiber, drei, or Three.js Journey material and asks for the effect; or when reviewing or repairing an existing <Canvas> for cost. Starts and ends in gpu-surface.

48 stars 6 forksFrontend & Design Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add frankxai/claude-skills-library

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add frankxai/claude-skills-library --skill r3f-scene
Manual install
git clone --depth 1 https://github.com/frankxai/claude-skills-library.git /tmp/claude-skills-library
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-library/packs/web-excellence/skills/r3f-scene ~/.claude/skills/r3f-scene

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# R3F scene

A 3D scene is the most expensive surface a page can carry: about 244 kB of
JavaScript transferred before the first model, and a render loop that runs
until something stops it. This skill builds the scene so the cost is paid late
and only while someone is looking.

Run `gpu-surface` section 1 first. The job sentence must need depth: an object
turned in the hand, a space moved through, a structure whose shape is the
point. A flat field of colour is a `shader-backdrop`.

## 1. Before installing

- `node .claude/skills/web-steward/peer-check.mjs --root .` As of 2026-11-12,
  `@react-three/fiber@9.8.2` declares `react >=19 <19.4` and
  `@react-three/drei@10.7.9` declares `react ^19`. A repo on React 18 with
  R3F 9 installed has an unmet peer: fix that first.
- `three`, `@react-three/fiber`, and `@types/three` move together. Pin them.
- Add `@react-three/drei` only for a helper the scene uses. Add
  postprocessing only when the job sentence names the effect.

## 2. Build

`use-surface.ts` is in `gpu-surface` section 3.
Read the full skill on GitHub

Details

Skill name
r3f-scene
Path
packs/web-excellence/skills/r3f-scene/SKILL.md
License
MIT
Repo updated
18 November 2026

FAQ

What does the R3f Scene skill do?

Build one React Three Fiber scene that loads late, stops rendering off-screen, holds a designed still under reduced motion, and falls back to a poster without WebGL. Use when a page needs real geometry, a camera, lights, a model, or 3D interaction; when someone shares three.js, react-three-fiber, drei, or Three.js Journey material and asks for the effect; or when reviewing or repairing an existing <Canvas> for cost. Starts and ends in gpu-surface.

How do I install the R3f Scene skill?

Claude Code plugin: /plugin marketplace add frankxai/claude-skills-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is R3f Scene popular?

It lives in frankxai/claude-skills-library, which has 48 GitHub stars and 6 forks.

Related skills

Acos Meta

48

frankxai/claude-skills-library

ACOS self-description and configuration skill. Documents how ACOS works, how to extend it, how to add new skills/commands/agents, and how to debug the hook system. Use when building new ACOS capabilities, understanding the system architecture, or onboarding to ACOS for the first time.

Software Development

Acos Visual Gen

48

frankxai/claude-skills-library

Generate research-grounded visuals using the InfoGenius pipeline. Use when creating infographics, diagrams, educational visuals, or any image that benefits from factual accuracy. Supports 8 visual styles (3D, technical, minimalist, photorealistic, futuristic, vintage, cartoon, standard) and 4 audience levels.

Images, Video & Audio

Agent Harness Construction

48

frankxai/claude-skills-library

Shape an agent's tools, observations, and recovery without adding a second coordinator. Use when defining a tool, a skill, a hook, or a worktree lane.

AI, LLMs & Agents

React

48

frankxai/claude-skills-library

Core React 19 patterns including hooks, Suspense, lazy loading, component structure, TypeScript best practices, and performance optimization. Use when working with React components, hooks, lazy loading, Suspense boundaries, or React-specific TypeScript patterns.

Frontend & Design

Oci Drawio Icon Native

48

frankxai/claude-skills-library

Build and validate OCI draw.io diagrams in icon-native mode so they never depend on `mxgraph.oci.*` runtime libraries. Use when authoring or fixing Oracle Cloud architecture diagrams in draw.io that must render portably.

Frontend & Design

Shadcn

48

frankxai/claude-skills-library

shadcn/ui component library patterns with Radix UI primitives and Tailwind CSS. Use when creating tables, forms, dialogs, cards, buttons, or any UI component using shadcn/ui, installing shadcn components, or styling with shadcn patterns.

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.