rive-scripting
✓在以下情况下触发:(1) 使用 Rive 脚本或 Luau 代码, (2) 代码包含 Node、Layout、Converter 或 PathEffect 协议, (3) 用户提及“Rive scripting”或“Rive Luau”, (4) 使用 Path、Paint、Renderer API 进行绘图, (5) Rive 项目上下文中的文件具有 .lua 扩展名。 Rive 脚本的最佳实践 - 基于 Luau 的程序脚本 图形、自定义布局、数据转换器和运行的路径效果 Rive 动画内部。
SKILL.md
Rive Scripting uses Luau (Roblox's Lua variant) to create interactive and procedural behaviors inside Rive animations. Scripts run in the Rive editor and export with your .riv file.
| Node Script | Procedural drawing and interactivity | init, advance, update, draw | | Layout Script | Custom sizing and positioning | measure, resize | | Converter Script | Transform data for bindings | convert, reverseConvert | | PathEffect Script | Modify paths procedurally | effect | | Util Script | Reusable helper functions | exports |
@file rules/getting-started.md @file rules/node-scripts.md @file rules/drawing.md @file rules/pointer-events.md @file rules/layout-scripts.md @file rules/converter-scripts.md @file rules/path-effects.md @file rules/data-binding.md @file rules/util-scripts.md @file rules/api-reference.md
在以下情况下触发:(1) 使用 Rive 脚本或 Luau 代码, (2) 代码包含 Node、Layout、Converter 或 PathEffect 协议, (3) 用户提及“Rive scripting”或“Rive Luau”, (4) 使用 Path、Paint、Renderer API 进行绘图, (5) Rive 项目上下文中的文件具有 .lua 扩展名。 Rive 脚本的最佳实践 - 基于 Luau 的程序脚本 图形、自定义布局、数据转换器和运行的路径效果 Rive 动画内部。 来源:stevysmith/rive-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/stevysmith/rive-skills --skill rive-scripting- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 rive-scripting?
在以下情况下触发:(1) 使用 Rive 脚本或 Luau 代码, (2) 代码包含 Node、Layout、Converter 或 PathEffect 协议, (3) 用户提及“Rive scripting”或“Rive Luau”, (4) 使用 Path、Paint、Renderer API 进行绘图, (5) Rive 项目上下文中的文件具有 .lua 扩展名。 Rive 脚本的最佳实践 - 基于 Luau 的程序脚本 图形、自定义布局、数据转换器和运行的路径效果 Rive 动画内部。 来源:stevysmith/rive-skills。
如何安装 rive-scripting?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stevysmith/rive-skills --skill rive-scripting 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/stevysmith/rive-skills