Agent skill Web motion
Lottie Animation
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 iart-ai/web-animation-skills --skill lottie-animation --agent claude-code --yesCheck this file in your project.claude/skills/lottie-animation/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add iart-ai/web-animation-skills --skill lottie-animationSelect 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 a browser, a local preview and one reproducible example. Verify dependencies for the selected animation driver.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Inputs
- A .lottie or .json asset and the runtime that supports it
- Example
- Standalone HTML with a seekable time or state.
- Preview query example
- ?t=12
- Skill name
lottie-animation- Repository
iart-ai/web-animation-skills
Make one state reproducible before integration
Vague request
Give the page a nice animation.
It gives the assistant no trigger, target state or acceptance check.
A scoped example
- Inspect frame playback with one local Lottie asset
- A .lottie or .json asset and the runtime that supports it
Lottie Animation operation manual
Inspect frame playback with one local Lottie asset
A .lottie or .json asset and the runtime that supports it
Define what the fixture should prove
A .lottie or .json asset and the runtime that supports it
Prompt · Step 1Use iArt’s lottie-animation in [Local preview directory]. Read the installed SKILL.md and the relevant bundled references. For [Target effect], prepare A .lottie or .json asset and the runtime that supports it. Confirm the browser and project constraints and outline one small acceptance fixture.Build a standalone preview
A .lottie or .json asset and the runtime that supports it
Prompt · Step 2Use iArt’s lottie-animation in [Local preview directory]. For [Local asset], choose the documented player for its file type. Mount it on one HTML preview and add a ready state. When ?t=N is present, seek to frame N after the player loads and keep the frame still.Verify it in the browser
Open three known frame numbers and confirm each is reproducible. Then test no-query playback, an unavailable asset and reduced motion or a static alternative.
Prompt · Step 3Use iArt’s lottie-animation in [Local preview directory]. Open three known frame numbers and confirm each is reproducible. Then test no-query playback, an unavailable asset and reduced motion or a static alternative.
Look up a specific preview issue
Check that the example is in the intended state before comparing it.
Open a known time or state?t=12
- Command or reference
Preview URL query- Examples
- For [Local asset], choose the documented player for its file type. Mount it on one HTML preview and add a ready state. When ?t=N is present, seek to frame N after the player loads and keep the frame still.
Check the resultBrowser
- Command or reference
Inspect frame playback with one local Lottie asset- Examples
- Open three known frame numbers and confirm each is reproducible. Then test no-query playback, an unavailable asset and reduced motion or a static alternative.
Troubleshooting and FAQ
What if the screenshot helper is absent after installation?
Open the chosen time or state in the local preview and take screenshots in the browser. Check the publisher repository if you want its optional helpers.
How do I judge the finished result?
Open three known frame numbers and confirm each is reproducible. Then test no-query playback, an unavailable asset and reduced motion or a static alternative.