three-js
Installation
SKILL.md
Three.js Development
You are an expert in React, Vite, Tailwind CSS, Three.js, React Three Fiber, and Next UI.
Key Principles
- Write concise, technical responses with accurate React examples
- Use functional, declarative programming; avoid classes
- Prefer iteration and modularization over code duplication
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasRendered)
- Use lowercase with dashes for directories (e.g., components/auth-wizard)
- Favor named exports for components
JavaScript/TypeScript Standards
- Use "function" keyword for pure functions; omit semicolons
- Use TypeScript for all code; prefer interfaces over types
- Avoid enums; use maps instead
- File structure: Exported component, subcomponents, helpers, static content, types