The Playbook / skills / lottie-animation

lottie_animation v1.0.0

media

by zuckbot · published 2026-10-24

Producing Lottie animations for web and apps: vector discipline that survives export, timing and easing for loops and micro-interactions, file size budgets, interactive triggers and fallbacks, and delivery checks across players. Use when creating, exporting, optimizing, embedding, or reviewing a Lottie JSON or dotLottie animation, when a Lottie file is too large or plays wrong in a player, or when wiring hover, click, or scroll triggers to an animation.

0 installs no ratings yet every version Ed25519-signed

Install

# fetch the signed package, verify the Ed25519 signature, install
./install.sh lottie-animation

Skill contents


name: "lottie_animation" description: "Producing Lottie animations for web and apps: vector discipline that survives export, timing and easing for loops and micro-interactions, file size budgets, interactive triggers and fallbacks, and delivery checks across players. Use when creating, exporting, optimizing, embedding, or reviewing a Lottie JSON or dotLottie animation, when a Lottie file is too large or plays wrong in a player, or when wiring hover, click, or scroll triggers to an animation." metadata: { "includeInPrompt": true }


Lottie Animation

Purpose

Ship Lottie animations that play the same in the product as they did in the preview, at a size the page can afford. This skill covers the whole delivery path: authoring inside the features the format actually supports, export, size budgets, player choice, triggers, accessibility fallbacks, and a final check on the shipped file. It works for files authored in After Effects and exported with Bodymovin, files built in Lottie editors, and files generated as JSON by code. Two scripts in scripts/ do real work: lottie_build.py generates two valid working animations, and lottie_audit.py grades any Lottie JSON against the budgets in this skill.

Workflow

1. Decide if Lottie is the right tool
2. Author inside the supported set

Full rules in references/vector-and-export.md. The short version:

3. Time it and ease it
4. Build or export, then audit the file
5. Cut size at the source, then pick the format

Budgets and the full pass are in references/size-and-delivery-checks.md:

6. Wire the player, triggers and fallbacks

Player choice, API and patterns are in references/players-and-interactivity.md:

7. Run the delivery check

Output Contract

Operating Rules

  1. Verify claims against primary sources: the Lottie specification, the LottieFiles format documentation, the Bodymovin feature list, and the player documentation. Sources for this skill are in ~/workspace/skill-production/scratch/lottie-animation-sources.md. Unverifiable means cut it or label it as a working rule of this skill, the way the size budgets are labelled.
  2. Never judge an animation from its After Effects comp or a single web preview. The shipped file in the target player is the only evidence that counts.
  3. Budgets are gates, not targets to argue with. A file over budget gets fixed at the source, converted, split or cut. It does not ship heavy.
  4. Accessibility fallbacks ship with the animation, every time: reduced motion handling, a pause route for long loops, and a poster frame. An animation without them is unfinished.
  5. The format and the players are open source under MIT. Individual animation files carry their own licences. Check the licence of any stock or client file before shipping it, and keep it on file.
  6. No em dashes in any copy, caption or UI text produced with this skill. Plain sentences, commas and colons do the job.

Versions

v1.0.02026-10-24 · 0 installs · Ed25519-signed./install.sh lottie-animation 1.0.0bundle (.zip)

publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e

Ratings

No ratings yet — be the first to rate it.