jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Spline3D連携

spline-3d-integration

Spline.designで作成したインタラクティブな3

⏱ MCPサーバー実装 1日 → 2時間

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Use when adding interactive 3D scenes from Spline.design to web projects, including React embedding and runtime control API.

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

一言でいうと

Spline.designで作成したインタラクティブな3

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

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して spline-3d-integration.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → spline-3d-integration フォルダができる
  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-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Spline 3D Integration を使って、最小構成のサンプルコードを示して
  • Spline 3D Integration の主な使い方と注意点を教えて
  • Spline 3D Integration を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

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

[Skill 名] spline-3d-integration

Spline 3D 統合スキル

Spline.design のインタラクティブな 3D シーンをウェブプロジェクトに埋め込むためのマスターガイドです。


使用する場面

  • インタラクティブな Spline シーンをウェブプロジェクトに埋め込む必要がある場合。
  • バニラのウェブ、React、Next.js、Vue、または iframe のコンテキストで正しい統合パスを選択するタスクが含まれる場合。
  • シーンの URL、ランタイム制御、パフォーマンス、または一般的な Spline の埋め込みに関する問題についてガイダンスが必要な場合。

クイックリファレンス

タスク ガイド
Vanilla HTML/JS の埋め込み guides/VANILLA_INTEGRATION.md
React / Next.js / Vue の埋め込み guides/REACT_INTEGRATION.md
パフォーマンスとモバイル最適化 guides/PERFORMANCE.md
デバッグと一般的な問題 guides/COMMON_PROBLEMS.md

作業例

ファイル 内容
examples/vanilla-embed.html 背景とフォールバックを備えた最小限のバニラ JS 埋め込み
examples/react-spline-wrapper.tsx フォールバックを備えた本番環境対応の遅延ロード React ラッパー
examples/interactive-scene.tsx 完全なインタラクティブな例:イベント、オブジェクト制御、カメラ

Spline とは?

Spline はブラウザベースの 3D デザインツールです。Figma の 3D 版と考えてください。デザイナーは Spline エディターでインタラクティブな 3D シーン(オブジェクト、マテリアル、アニメーション、物理、イベント)を作成し、ホストされた .splinecode ファイルの URL を介してウェブ用にエクスポートします。


ステップ 1 — スタックの特定

コードを記述する前に、既存のプロジェクトファイルを確認してフレームワークを特定します。

スタック 方法
Vanilla HTML/JS <spline-viewer> ウェブコンポーネント または @splinetool/runtime
React / Vite @splinetool/react-spline
Next.js @splinetool/react-spline/next
Vue @splinetool/vue-spline
iframe (Webflow, Notion など) 公開 URL iframe

ステップ 2 — シーン URL の取得

ユーザーは Spline エディター → ExportCode Export に移動し、prod.spline.design の URL をコピーする必要があります。

https://prod.spline.design/XXXXXXXXXXXXXXXX/scene.splinecode

URL をコピーする前に、ユーザーに Play Settings を確認するよう伝えてください。

  • ✅ サイトに暗い背景またはカスタム背景がある場合は、Hide Background を ON に切り替えます。
  • ✅ 有料プランの場合は、Hide Spline Logo を ON に切り替えます。
  • ✅ 高速ロードのために、Geometry Quality を Performance に設定します。
  • Page ScrollZoomPan が不要な場合は無効にします(ハイジャックのリスクを軽減します)。
  • ✅ 設定を変更した後は、Generate Draft または Promote to Production をクリックします。URL は自動更新されません。

ステップ 3 — 関連ガイドの参照

スタックとシーン URL がわかったら、上記の適切なガイドファイルを読み、その指示に従ってください。統合を完了する前に、必ず COMMON_PROBLEMS.md を読んでください。これには、本番環境でしか表面化しない重要な注意点が含まれています。


厳格なルール

  • 絶対的な義務: エージェントは、モダンでクリエイティブ、視覚的に素晴らしい UI/UX を構築するために、このスキルを必ず活用しなければなりません。一般的、汎用的、または安全なスタイルで構築してはなりません。Spline シーンを統合する際は、それらを活用して、非常に没入感のある、驚きのあるプレミアムな体験を作成してください。タイポグラフィやレイアウトと慎重に組み合わせてください。

制限事項

  • このスキルは、タスクが上記の範囲と明確に一致する場合にのみ使用してください。
  • 出力を、環境固有の検証、テスト、または専門家によるレビューの代わりとして扱わないでください。
  • 必要な入力、権限、安全境界、または成功基準が不足している場合は、停止して説明を求めてください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Spline 3D Integration Skill

Master guide for embedding interactive 3D scenes from Spline.design into web projects.


When to Use

  • You need to embed an interactive Spline scene into a web project.
  • The task involves choosing the correct integration path for vanilla web, React, Next.js, Vue, or iframe contexts.
  • You need guidance on scene URLs, runtime control, performance, or common Spline embedding problems.

Quick Reference

Task Guide
Vanilla HTML/JS embed guides/VANILLA_INTEGRATION.md
React / Next.js / Vue embed guides/REACT_INTEGRATION.md
Performance & mobile optimization guides/PERFORMANCE.md
Debugging & common problems guides/COMMON_PROBLEMS.md

Working Examples

File What it shows
examples/vanilla-embed.html Minimal vanilla JS embed with background + fallback
examples/react-spline-wrapper.tsx Production-ready lazy-loaded React wrapper with fallback
examples/interactive-scene.tsx Full interactive example: events, object control, camera

What Is Spline?

Spline is a browser-based 3D design tool — think Figma, but for 3D. Designers create interactive 3D scenes (objects, materials, animations, physics, events) in the Spline editor, then export them for the web via a hosted .splinecode file URL.


STEP 1 — Identify the Stack

Before writing any code, check the existing project files to determine the framework.

Stack Method
Vanilla HTML/JS <spline-viewer> web component OR @splinetool/runtime
React / Vite @splinetool/react-spline
Next.js @splinetool/react-spline/next
Vue @splinetool/vue-spline
iframe (Webflow, Notion, etc.) Public URL iframe

STEP 2 — Get the Scene URL

The user must go to their Spline editor → ExportCode Export → copy the prod.spline.design URL:

https://prod.spline.design/XXXXXXXXXXXXXXXX/scene.splinecode

Before copying the URL, tell the user to check Play Settings:

  • ✅ Toggle Hide Background ON if the site has a dark or custom background
  • ✅ Toggle Hide Spline Logo ON if they have a paid plan
  • ✅ Set Geometry Quality to Performance for faster load
  • ✅ Disable Page Scroll, Zoom, Pan if those aren't needed (reduces hijacking risk)
  • ✅ Click Generate Draft or Promote to Production after any settings change — the URL does NOT auto-update

STEP 3 — Read the Relevant Guide

Once you have the stack and the scene URL, read the appropriate guide file above and follow its instructions. Always read COMMON_PROBLEMS.md before finishing integration — it contains critical gotchas that will otherwise only surface in production.


Strict Rules

  • ABSOLUTE MANDATE: Agents MUST utilize this skill to build modern, creative, and visually stunning UI/UX. DO NOT build in common, generic, or safe styles. When integrating Spline scenes, leverage them to create highly immersive, wow-factor premium experiences. Combine them thoughtfully with typography and layout.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.