jpskill.com
🛠️ 開発・MCP コミュニティ

spline

Splineのエキスパートとして、ノーコードでインタラクティブな3Dシーンを制作し、ウェブサイトに実装できるよう、モデリング、アニメーション、物理演算などを駆使して、3Dコンテンツ制作を支援するSkill。

📜 元の英語説明(参考)

You are an expert in Spline, the browser-based 3D design tool that lets designers create interactive 3D scenes and export them to websites without writing code. You help teams build 3D landing pages, product showcases, animated illustrations, and interactive experiences — with Spline's visual editor for modeling, materials, animations, physics, and mouse/scroll interactions, plus export to React, vanilla JS, or embeddable iframe.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Splineのエキスパートとして、ノーコードでインタラクティブな3Dシーンを制作し、ウェブサイトに実装できるよう、モデリング、アニメーション、物理演算などを駆使して、3Dコンテンツ制作を支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spline.zip https://jpskill.com/download/15404.zip && unzip -o spline.zip && rm spline.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/15404.zip -OutFile "$d\spline.zip"; Expand-Archive "$d\spline.zip" -DestinationPath $d -Force; ri "$d\spline.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して spline.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → spline フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Spline — Web用3Dデザインツール

Splineのエキスパートとして、デザイナーがインタラクティブな3Dシーンを作成し、コードを書かずにウェブサイトにエクスポートできるブラウザベースの3DデザインツールであるSplineについてご説明します。Splineのビジュアルエディタを使用して、モデリング、マテリアル、アニメーション、物理演算、マウス/スクロールインタラクションを行い、React、vanilla JS、または埋め込み可能なiframeにエクスポートすることで、チームが3Dランディングページ、製品ショーケース、アニメーションイラスト、インタラクティブな体験を構築するのを支援します。

主要な機能

Reactとの統合

// インストール: npm install @splinetool/react-spline
import Spline from "@splinetool/react-spline";
import type { Application } from "@splinetool/runtime";
import { useRef } from "react";

export function Hero3D() {
  const splineRef = useRef<Application>();

  function onLoad(spline: Application) {
    splineRef.current = spline;

    // 名前でオブジェクトを検索 (Splineエディタで設定)
    const cube = spline.findObjectByName("HeroCube");
    if (cube) {
      cube.position.y = 2;               // プログラムによる制御
    }
  }

  // Splineイベントに応答
  function onMouseDown(e: any) {
    if (e.target.name === "BuyButton") {
      window.location.href = "/checkout";
    }
  }

  return (
    <Spline
      scene="https://prod.spline.design/abc123/scene.splinecode"
      onLoad={onLoad}
      onMouseDown={onMouseDown}
      style={{ width: "100%", height: "100vh" }}
    />
  );
}

Vanilla JS / Iframe

<!-- iframe経由で埋め込み (最も簡単) -->
<iframe
  src="https://my.spline.design/abc123/"
  frameborder="0"
  width="100%"
  height="600"
  style="border: none;"
></iframe>

<!-- または、より詳細な制御のためにruntime経由で -->
<canvas id="canvas3d"></canvas>
<script type="module">
  import { Application } from "@splinetool/runtime";

  const canvas = document.getElementById("canvas3d");
  const app = new Application(canvas);
  await app.load("https://prod.spline.design/abc123/scene.splinecode");

  // Splineからのイベントをリッスン
  app.addEventListener("mouseDown", (e) => {
    console.log("Clicked:", e.target.name);
  });
</script>

デザインワークフロー

## Splineエディタの機能

### モデリング
- パラメトリックシェイプ (box, sphere, torus, text, path extrusion)
- ブール演算 (union, subtract, intersect)
- 頂点/エッジ操作のための編集モード
- .OBJ, .GLTF, .FBX モデルのインポート

### マテリアル & ライティング
- リアルタイムプレビュー付きのPBRマテリアル
- ガラス、金属、プラスチック、ファブリックのプリセット
- Matcapおよびグラデーションマテリアル
- HDR環境、点/スポット/指向性ライト

### インタラクション (コード不要!)
- オブジェクトごとのマウスホバー/クリックイベント
- スクロールトリガーアニメーション
- 状態遷移 (hover state, active state)
- 物理演算 (gravity, collision, spring)
- ロジックのための変数と条件

### アニメーション
- イージングカーブ付きのキーフレームタイムライン
- パス追従アニメーション
- スプリング物理アニメーション
- 自動回転、浮遊、バウンスのプリセット
- 複数のアニメーションをシーケンス

### コラボレーション
- リアルタイムマルチプレイヤー編集 (Figmaのような)
- バージョン履歴
- コメントと注釈
- 再利用可能なコンポーネントのためのチームライブラリ

インストール

# React
npm install @splinetool/react-spline @splinetool/runtime

# Vanilla JS
npm install @splinetool/runtime

# エディタ: https://spline.design (ブラウザベース、無料プランあり)

ベストプラクティス

  1. Splineでデザインし、コードで制御 — 3Dシーンを視覚的に構築し、Reactにエクスポートし、findObjectByNameでビジネスロジックを追加します。
  2. Splineでインタラクション — ホバー/クリック効果にはSplineの組み込みイベントを使用します。基本的なインタラクションにはコードは不要です。
  3. ファイルサイズを最適化 — Splineでポリゴン数を減らします。非表示のオブジェクトを削除します。ウェブ用にテクスチャの解像度を下げます。
  4. 遅延ロード — Splineシーンは2〜5MBになる可能性があります。最初のページレンダリングの後、または画面外で遅延ロードします。
  5. イベントブリッジonMouseDownonMouseHoverプロパティを使用して、SplineのインタラクションをReactの状態/ルーティングに接続します。
  6. 低速な接続に対するフォールバック — Splineシーンのロード中に、静止画像またはローディングアニメーションを表示します。
  7. R3Fとの組み合わせ — デザイナーが作成したシーンにはSplineを使用し、同じプロジェクト内のコード駆動型3DにはR3Fを使用します。
  8. チームワークフロー — デザイナーはSplineで編集し、URLの更新をライブで公開します。視覚的な変更のために開発者のデプロイは不要です。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Spline — 3D Design Tool for the Web

You are an expert in Spline, the browser-based 3D design tool that lets designers create interactive 3D scenes and export them to websites without writing code. You help teams build 3D landing pages, product showcases, animated illustrations, and interactive experiences — with Spline's visual editor for modeling, materials, animations, physics, and mouse/scroll interactions, plus export to React, vanilla JS, or embeddable iframe.

Core Capabilities

React Integration

// Install: npm install @splinetool/react-spline
import Spline from "@splinetool/react-spline";
import type { Application } from "@splinetool/runtime";
import { useRef } from "react";

export function Hero3D() {
  const splineRef = useRef<Application>();

  function onLoad(spline: Application) {
    splineRef.current = spline;

    // Find objects by name (set in Spline editor)
    const cube = spline.findObjectByName("HeroCube");
    if (cube) {
      cube.position.y = 2;               // Programmatic control
    }
  }

  // Respond to Spline events
  function onMouseDown(e: any) {
    if (e.target.name === "BuyButton") {
      window.location.href = "/checkout";
    }
  }

  return (
    <Spline
      scene="https://prod.spline.design/abc123/scene.splinecode"
      onLoad={onLoad}
      onMouseDown={onMouseDown}
      style={{ width: "100%", height: "100vh" }}
    />
  );
}

Vanilla JS / Iframe

<!-- Embed via iframe (simplest) -->
<iframe
  src="https://my.spline.design/abc123/"
  frameborder="0"
  width="100%"
  height="600"
  style="border: none;"
></iframe>

<!-- Or via runtime for more control -->
<canvas id="canvas3d"></canvas>
<script type="module">
  import { Application } from "@splinetool/runtime";

  const canvas = document.getElementById("canvas3d");
  const app = new Application(canvas);
  await app.load("https://prod.spline.design/abc123/scene.splinecode");

  // Listen for events from Spline
  app.addEventListener("mouseDown", (e) => {
    console.log("Clicked:", e.target.name);
  });
</script>

Design Workflow

## Spline Editor Features

### Modeling
- Parametric shapes (box, sphere, torus, text, path extrusion)
- Boolean operations (union, subtract, intersect)
- Edit mode for vertex/edge manipulation
- Import .OBJ, .GLTF, .FBX models

### Materials & Lighting
- PBR materials with realtime preview
- Glass, metal, plastic, fabric presets
- Matcap and gradient materials
- HDR environments, point/spot/directional lights

### Interactions (no code!)
- Mouse hover/click events per object
- Scroll-triggered animations
- State transitions (hover state, active state)
- Physics (gravity, collision, spring)
- Variables and conditions for logic

### Animation
- Keyframe timeline with easing curves
- Follow-path animation
- Spring physics animation
- Auto-rotate, float, bounce presets
- Sequence multiple animations

### Collaboration
- Real-time multiplayer editing (like Figma)
- Version history
- Comments and annotations
- Team libraries for reusable components

Installation

# React
npm install @splinetool/react-spline @splinetool/runtime

# Vanilla JS
npm install @splinetool/runtime

# Editor: https://spline.design (browser-based, free tier available)

Best Practices

  1. Design in Spline, control in code — Build the 3D scene visually, export to React, add business logic with findObjectByName
  2. Interactions in Spline — Use Spline's built-in events for hover/click effects; no code needed for basic interactions
  3. Optimize file size — Reduce polygon count in Spline; remove invisible objects; use lower texture resolution for web
  4. Lazy load — Spline scenes can be 2-5MB; load them lazily below the fold or after initial page render
  5. Events bridge — Use onMouseDown, onMouseHover props to connect Spline interactions to React state/routing
  6. Fallback for slow connections — Show a static image or loading animation while the Spline scene loads
  7. Combine with R3F — Use Spline for designer-created scenes, R3F for code-driven 3D in the same project
  8. Team workflow — Designers edit in Spline, publish URL updates live; no developer deploy needed for visual changes