Individual skill
r3f-best-practices
React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier, or leva.
skills/r3f-best-practices/SKILL.md
Source commit 3ae17b2c765ed8534ba9c6f848563db127fc4ca6
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 4,700
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- ai-agent Repository topic
- ai-agent-tools Repository topic
- claude Repository topic
- claude-ai Repository topic
- claude-api Repository topic
- claude-code Repository topic
- claude-code-communication Repository topic
- claude-commands Repository topic
- claude-desktop Repository topic
- writing Derived category
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 8,128 bytesrules/_sections.mddoc · 1,990 bytesrules/drei-use-gltf.mddoc · 3,052 bytesrules/frame-delta-time.mddoc · 2,746 bytesrules/loading-suspense.mddoc · 3,732 bytesrules/perf-never-set-state-in-useframe.mddoc · 2,624 bytesrules/perf-r3f-perf.mddoc · 1,961 bytesrules/perf-visibility-toggle.mddoc · 1,950 bytesrules/perf-zustand-selectors.mddoc · 3,089 bytes
Read excerpt
# React Three Fiber Best Practices
Comprehensive guide for React Three Fiber and the Poimandres ecosystem. Contains 70+ rules across 12 categories, prioritized by impact.
## Sources & Credits
> Additional tips from [100 Three.js Tips](https://www.utsubo.com/blog/threejs-best-practices-100-tips) by [Utsubo](https://www.utsubo.com)
## When to Apply
Reference these guidelines when:
- Writing new R3F components
- Optimizing R3F performance (re-renders are the #1 issue)
- Using Drei helpers correctly