Agent skill Web motion
Text To Lottie
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add diffusionstudio/lottie --skill text-to-lottie --agent claude-code --yesCheck this file in your project.claude/skills/text-to-lottie/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add diffusionstudio/lottie --skill text-to-lottieSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use the official Diffusion Studio player project and its local dev server. The pinned browser check used the publisher’s player with CanvasKit 0.41.1.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- diffusionstudio
- Controls
- lottie.json · fr: 30 · ip: 0 · op: 60 · /__context · ?frame=0/30/59
- Result
- The official player shows the token at distinct start, middle and end positions.
- Skill name
text-to-lottie- Repository
diffusionstudio/lottie
Common pitfall
Avoid this prompt
Write a valid JSON file and treat that as sufficient evidence that the target renderer shows the correct scene.
Player registration, frame position, visible layers and transparency each need actual render verification.
Use these steps
- Read the source and set up the example
- Implement the documented behavior
- Inspect the actual result
Project walkthrough
Build a transparent original motion token and verify actual frames in the official Skottie player.
Build a transparent original motion token and verify actual frames in the official Skottie player.
Read the source and set up the example
Use the official Diffusion Studio player project and its local dev server. The pinned browser check used the publisher’s player with CanvasKit 0.41.1.
Prompt · Step 1Use Text To Lottie to create [my original signal-token motion]. Read references/player-contract.md. Use the official player project and the actual URL printed by npm run dev. Create a new project and scene folder under public/projects with an unambiguous route.Implement the documented behavior
Build a transparent original motion token and verify actual frames in the official Skottie player.
Prompt · Step 2Write a transparent two-second lottie.json with fr: 30, ip: 0 and op: 60. Give the owned shape an intentional starting position, a paced translation and a readable endpoint. Use only original shapes or supplied authorized assets, and ensure layer lifetimes cover the intended window.Inspect the actual result
The official player shows the token at distinct start, middle and end positions.
- The official player shows the token at distinct start, middle and end positions.
Prompt · Step 3Parse the file, confirm its route in GET /__context, and open that route with ?frame=0, ?frame=30 and ?frame=59. Inspect the official player canvas for visible movement, unclipped shapes and the intended transparent background. Record the actual frames checked.
Implementation lookup
Compare the required inputs with the local verification result.
Inspect the implementation controlsVerify
- Command or reference
lottie.json · fr: 30 · ip: 0 · op: 60 · /__context · ?frame=0/30/59- Examples
- The official player shows the token at distinct start, middle and end positions.
FAQ
What should I prepare first?
Use the official Diffusion Studio player project and its local dev server. The pinned browser check used the publisher’s player with CanvasKit 0.41.1.
How do I verify the result?
The official player shows the token at distinct start, middle and end positions.