rive-generator
✓在以下情况下触发:(1) 用户想要以编程方式创建 Rive 动画, (2) 用户提到“生成.riv文件”或“创建Rive动画”, (3) 用户希望看到由代码创建的视觉动画, (四)抓好河力发电工程。 使用 TypeScript 以编程方式生成 .riv 文件。创建静态形状 和动画。需要 npm 包@stevysmith/rive-generator。
SKILL.md
| addArtboard(options) | Add an artboard (canvas) | | addNode(parent, options) | Add a transform group | | addShape(parent, options) | Add a shape container | | addEllipse(shape, options) | Add an ellipse/circle | | addRectangle(shape, options) | Add a rectangle | | addPointsPath(shape, options) | Add a custom vector path |
| addVertex(path, options) | Add a straight vertex | | addFill(shape, options) | Add a fill | | addStroke(shape, options) | Add a stroke | | addSolidColor(paint, color) | Set solid color | | addLinearGradient(paint, options) | Add linear gradient | | addRadialGradient(paint, options) | Add radial gradient |
| addGradientStop(gradient, options) | Add gradient color stop | | addLinearAnimation(artboard, options) | Add an animation | | addKeyedObject(animation, targetId) | Link animation to object | | addKeyedProperty(keyedObject, propertyKey) | Specify property to animate | | addKeyFrameDouble(keyedProperty, options) | Add a keyframe |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/stevysmith/rive-skills --skill rive-generator- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 rive-generator?
在以下情况下触发:(1) 用户想要以编程方式创建 Rive 动画, (2) 用户提到“生成.riv文件”或“创建Rive动画”, (3) 用户希望看到由代码创建的视觉动画, (四)抓好河力发电工程。 使用 TypeScript 以编程方式生成 .riv 文件。创建静态形状 和动画。需要 npm 包@stevysmith/rive-generator。 来源:stevysmith/rive-skills。
如何安装 rive-generator?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stevysmith/rive-skills --skill rive-generator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/stevysmith/rive-skills