spline
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "spline":https://skillpi.com/zh/skills/deepskill-55d62373cb6eebda77360aa82085949a59ef22467de543c46984c3e90147d944。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Spline 3D 设计工具:Spline 是基于浏览器的 3D 设计工具,允许设计师无需编码创建交互式 3D 场景并导出到网站。用于构建 3D 落地页、产品展示、动画插图和交互体验,使用可视化编辑器进行建模、材质、动画、物理效果和鼠标/滚动交互设计,并支持导出为 React、原生 JavaScript 或可嵌入的 iframe。
介绍来源: third_party · TerminalSkills · 1.0.0 参考来源
SkillPi 解读
- 实测状态
- 未测试
文件浏览
Frontmatter
name: spline
description: >-
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.
license: Apache-2.0
compatibility: ''
metadata:
author: terminal-skills
version: 1.0.0
category: 3D & Creative
tags:
- 3d
- design-tool
- no-code
- interactive
- web
- collaborationSpline — 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
- Design in Spline, control in code — Build the 3D scene visually, export to React, add business logic with
findObjectByName - Interactions in Spline — Use Spline's built-in events for hover/click effects; no code needed for basic interactions
- Optimize file size — Reduce polygon count in Spline; remove invisible objects; use lower texture resolution for web
- Lazy load — Spline scenes can be 2-5MB; load them lazily below the fold or after initial page render
- Events bridge — Use
onMouseDown,onMouseHoverprops to connect Spline interactions to React state/routing - Fallback for slow connections — Show a static image or loading animation while the Spline scene loads
- Combine with R3F — Use Spline for designer-created scenes, R3F for code-driven 3D in the same project
- Team workflow — Designers edit in Spline, publish URL updates live; no developer deploy needed for visual changes
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- Spline 是浏览器端无代码 3D 设计工具,支持建模、材质、动画、物理与交互设计
- 可导出为 React、原生 JS 或 iframe,适用于 3D 落地页、产品展示等高频创意场景
- 提供完整设计-开发协作流程,设计师可在 Spline 中迭代,开发者通过代码控制逻辑
亮点
- description 清晰定位为 Spline 专家,覆盖核心能力与典型使用场景
- 触发词完整,边界清晰,无与其他 Skill 重叠风险
亮点
- 文档结构完整,含核心能力、代码示例、设计工作流、安装与最佳实践
- 提供 React 与 Vanilla JS 两种集成方式的端到端示例,frontmatter 完整
待提升项
-
未显式处理 Spline 场景加载失败或超时异常 原报告严重程度:轻微
代码示例中未包含网络错误、scene URL 失效等异常处理逻辑
改进建议:建议在 React 组件中添加 error boundary 或在 onLoad 回调中检查加载状态,提供 fallback UI
亮点
- 工具来源明确(@splinetool 官方 npm 包),参数使用正确
- 覆盖鼠标事件、对象查找等核心交互逻辑,事件桥接机制清晰
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 34, 140, 143 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- my.spline.design
- prod.spline.design
- spline.design
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。