Skill library

Agent skill Web motion

Text To Lottie

Design, implement or review motion on the web.

  • Animation

Install the skill

Installation method

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 --yes

Check 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-lottie

    Select 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 manual

What 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

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

  1. Read the source and set up the example
  2. Implement the documented behavior
  3. 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.

  1. 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 1
    Use 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.
  2. Implement the documented behavior

    Build a transparent original motion token and verify actual frames in the official Skottie player.

    Prompt · Step 2
    Write 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.
  3. 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 3
    Parse 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.