stevysmith/rive-skills/rive-scripting
Claude Code and agent skill by stevysmith/rive-skills
- community
Checking that the SKILL.md file is still in the repository.
Trigger when: (1) Working with Rive scripts or Luau code, (2) Code contains Node, Layout, Converter, or PathEffect protocols, (3) User mentions "Rive scripting" or "Rive Luau", (4) Drawing with Path, Paint, Renderer APIs, (5) Files have .lua extension in a Rive project context. Best practices for Rive Scripting - Luau-based scripts for procedural graphics, custom layouts, data converters, and path effects that run inside Rive animations.
Install
npx vskill@latest install stevysmith/rive-skills/rive-scriptingSKILL.md
Rive Scripting
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.
Script Types
| Type | Purpose | Key Methods | |
|---|---|---|---|
| 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 |
Luau Quick Reference
Core Pattern
All Rive scripts follow this pattern:
Key APIs
Drawing
Path- Vector paths (moveTo, lineTo, quadTo, cubicTo, close)Paint- Fill/stroke styling (color, gradient, thickness)Renderer- Drawing operations (drawPath, clipPath, transform)
Geometry
Vec2D- 2D vectors (xy, length, normalize, dot)AABB- Axis-aligned bounding boxesMat2D- 2D transformation matrices
Data
ViewModel- Access bound dataProperty- Read/write data valuesTrigger- Fire events
Rules
@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
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rive-scripting/SKILL.md
Popularity
- Repository stars
- 11
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/stevysmith/rive-skills/rive-scripting)