npx skills add ...
npx skills add freshtechbro/claudedesignskills --skill spline-interactive
Browser-based 3D design tool with visual editor, animation, and web export. Use this skill when creating 3D scenes without code, designing interactive web experiences, prototyping 3D UI, exporting to React/web, or building designer-friendly 3D content. Triggers on tasks involving Spline, no-code 3D, visual 3D editor, 3D animation, state-based interactions, React Spline integration, or scene export. Alternative to Three.js for designers who prefer visual tools over code.
npx skills add freshtechbro/claudedesignskills --skill spline-interactive
Spline is a browser-based 3D design and animation platform that enables creators to build interactive 3D experiences without requiring code or specialized software knowledge. It provides a collaborative visual editor for designing, animating, and exporting 3D scenes across multiple platforms.
Key Features:
When to Use This Skill:
Alternatives:
Spline organizes projects into scenes containing:
Reusable elements that can be:
Animations are defined as transitions between states:
Event-driven system with:
Multiple deployment methods:
Use Case: Embed a Spline scene in a React application
Implementation:
Key Points:
Use Case: Respond to user clicks on specific objects
Implementation:
Available Event Handlers:
onSplineMouseDown - Mouse press on objectonSplineMouseUp - Mouse releaseonSplineMouseHover - Mouse over objectonSplineKeyDown - Keyboard pressonSplineKeyUp - Keyboard releaseonSplineStart - Scene loaded and startedonSplineLookAt - Camera look-at eventonSplineFollow - Camera follow eventonSplineScroll - Scroll eventUse Case: Modify object properties from React code
Implementation:
Object Properties You Can Modify:
position - { x, y, z }rotation - { x, y, z } (radians)scale - { x, y, z }material.color - Color hex valuevisible - BooleanUse Case: Trigger animations defined in Spline from React
Implementation:
Available Event Types:
mouseDown - Mouse pressmouseHover - Hover effectmouseUp - Mouse releasekeyDown - Key presskeyUp - Key releasestart - Start eventlookAt - Look at camerafollow - Follow cameraUse Case: Use Spline in Next.js with server-side rendering benefits
Implementation:
Benefits:
Use Case: Defer Spline loading until needed
Implementation:
Benefits:
Use Case: Make Spline scenes adapt to different screen sizes
Implementation:
Alternative Approach (Single Scene):
For advanced use cases, combine Spline-designed assets with Three.js code:
Trigger Spline animations on scroll:
Animate container while Spline handles 3D:
Render only when scene changes, not every frame:
In Spline:
Use React.lazy() as shown in Pattern 6
Problem: Spline component renders but scene doesn't appear
Solutions:
Also Check:
Problem: Object refs become undefined after component updates
Solution:
Problem: Scene runs slowly on mobile devices
Solutions:
Problem: Click or hover events don't trigger
Solutions:
Problem: emitEvent() doesn't trigger animation
Solutions:
Problem: Mismatch between server and client render
Solution:
@splinetool/react-spline)This skill includes utility scripts:
project_generator.py - Generate Spline + React starter projectscomponent_builder.py - Build Spline component wrappers with eventsRun scripts from the skill directory:
Starter templates and examples:
starter_spline/ - Complete React + Spline templateexamples/ - Real-world integration patterns