/rocketride-design:splinefrom rocketride-design
Embed and integrate Spline (spline.design) 3D scenes — the collaborative browser-based 3D design tool — into Next.js 14 + Tailwind 3.4 + motion v13 (`motion/react`) via the verified @splinetool/react-spline + @splinetool/runtime packages, or decide against a live embed and use an image/video export instead. Use this whenever a task involves Spline in any form, a 3D scene/hero/product visual needs embedding in a web page, a *.splinecode or prod.spline.design URL appears, someone asks for an "interactive 3D hero", "3D landing page", "rotating product model", or "that floaty 3D blob thing", or when weighing the real cost of 3D on a landing page (the runtime is ~582KB gzipped — measured). Also use it for Spline pointer-events layering under hero copy, Suspense/poster fallbacks, reduced-motion and mobile fallbacks, and free-tier watermark questions — code and tradeoffs live in references/integration.md.
Ships in rocketride-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Spline (spline.design) is a collaborative 3D design tool that runs in the browser — freemium SaaS. A human models/animates the scene in the Spline editor; the scene then reaches your page one of two ways:
prod.spline.design/.../scene.splinecode
and renders in a WebGL canvas via Spline's runtime. Interactive, and
expensive (numbers below).Claude Code cannot author the scene. This skill owns choosing between those
two paths and integrating whichever wins — the live-embed engineering
(SSR, fallbacks, pointer events, LCP damage control) is in
references/integration.md.
| Package | Version | License | Notes |
|---|---|---|---|
@splinetool/react-spline | 4.1.0 | MIT | 27KB. Peers: @splinetool/runtime, react, react-dom, next >= 14.2.0 (for the /next entry) |
@splinetool/runtime | 1.12.98 | none declared on npm — treat as proprietary Spline code | build/runtime.js: 2.05MB raw, 582KB gzipped (measured from unpkg) |
Install both: npm i @splinetool/react-spline @splinetool/runtime.
That 582KB gz is the headline. It is ~15x a typical landing-page JS budget
line item, plus WebGL init, plus the .splinecode scene payload itself. A live
Spline hero will hurt LCP/INP on mid-range mobile. Default posture:
poster-first, runtime deferred (patterns in the reference).
prod.spline.design (a third-party request on
your launch page) unless the org has an Enterprise agreement. Confirm
current terms before promising self-hosting; the react-spline README's
"download the .splinecode" CORS advice predates this gating.| Situation | Use |
|---|---|
| The 3D object is THE product (configurator, device explorer) and interaction is the point | Live embed, eagerly, budget accepted |
| Decorative 3D hero ornament behind copy | Video export (Pro) with the jitter skill's <video> pattern, or image — 582KB of runtime for a decoration is malpractice |
| Interactive scene wanted, but below the fold | Live embed, lazy-mounted on scroll |
| Mobile / reduced-motion / data-saver users | Always a static image export — never the runtime |
| Need scene to react to app state | Live embed; runtime API (findObjectByName, emitEvent, variables) |
Code for all of these in references/integration.md.
next/dynamic with ssr: false, or the
@splinetool/react-spline/next entry (server-renders a blurred placeholder).next/image poster paints as LCP; the canvas
fades in over it on onLoad. Never let "black rectangle until WebGL wakes
up" be the hero.aria-hidden="true" and
pointer-events-none — a decorative canvas must never eat clicks or scroll.
Interactive scenes keep pointer events but hero copy/CTAs above them need
explicit stacking + pointer-events-auto.prefers-reduced-motion: don't mount the runtime at all — render the
poster. Camera drift and float loops are exactly what the setting opts out of.matchMedia('(hover: hover)'); serve the poster elsewhere. Also respect
navigator.connection.saveData.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shashidharbabu/rocketride-design-skills --plugin rocketride-design34 skills in this plugin
/arc-uiInstall and integrate Arc (uiarc.dev, "Arc UI") — Elia Kuratli's agent-oriented React library of 112 free MIT components + 22 free blocks (56 components / 72 blocks more behind Arc Pro, $129/yr or $199 lifetime), distributed as copy-in source through a shadcn registry (`@uiarc/<id>` → https://uiarc.dev/r/{name}.json) and styled with CSS Modules + its own oklch CSS-variable token layer (not Tailwind classes), animated with `motion/react` — into Next.js 14–16, React 18–19, Tailwind v3.4 or v4 repos, alone or beside shadcn/ui. Use this whenever a task mentions uiarc, uiarc.dev, Arc UI, an `@uiarc/` or `@uiarc-pro/` install, `components/arc/foundation.css` or `@/components/arc/...` imports; whenever an app wants a calm, neutral, Linear-like product UI base as an alternative to shadcn; or whenever it needs a finished product-UI interaction piece — confirm-in-place / hold-to-confirm / morphing delete button, sliding segmented control, KPI metric cards with rolling numbers, icon morph, expanding button group, swipe row actions, ridgeline / streamgraph / waffle / slope / treemap charts, or settings / pricing / dashboard / sign-in blocks with motion. Also use it before letting Arc's own vendor skill near a repo (don't — see below). Install pre-flight, the token-collision bridge with shadcn, and every verified fix live in references/integration.md./audiocnInstall and integrate audiocn (audiocn.dev) — a free, MIT-licensed shadcn registry of ~50 audio UI items for React by OrcDev (github.com/audiocn/ui): audio player, file waveform with seek/regions/markers, level meters, bar/spectrum/electric visualizers, live waveform, faders, knobs, pan, mute/solo toggles, channel strips, a full Web Audio mixer, sound pads, mic/device pickers, plus the Web Audio hooks that drive them (shared AudioContext, analyser, gain, microphone, system-audio capture, waveform peaks) — copied in via `npx shadcn@latest add @audiocn/<name>`, built on Base UI and canvas/rAF with no motion/framer-motion dependency. HARD GATE: Tailwind v4 + React 19.2+ only — on Tailwind 3.4 it builds green and renders broken (meters vanish, bars collapse), and on React 18 the hooks fail (`useEffectEvent`). TRAP: `npm i audiocn` installs an unrelated placeholder package — audiocn arrives only through the shadcn registry. Use this whenever a task involves audiocn.dev or an @audiocn/ install, an audio or podcast/episode player, a waveform seek bar or waveform regions/markers, a VU/level/dB meter, an audio visualizer or spectrum, voice-activity bars, a mic check or input-device picker, a mixer/fader/knob/channel strip, a soundboard or sound pads, replacing wavesurfer.js, or deciding whether an audio product repo can take these components at all. Inventory, deps, token remap, the v3 port list, crossOrigin, single-player coordination, and the waveform lint fix live in references/integration.md.Other plugins' skills for the same job