Agent skill · Emil Kowalski's Skills
/animate Build web animations that pass a strict motion review
The animate skill has the agent build one web animation by walking a fixed order of decisions: whether it should animate at all, its purpose, the cheapest tool, the properties, the curve or spring, interruption and exit. Values come from the codebase's tokens or the skill's own tables, and reduced-motion handling ships with the code.
Works with
- Claude Code, Codex, Cursor and other agents
Used forDesign polish and animation
When to use it
- You want to add an entrance, exit or transition to a dropdown, modal, toast or button.
- A component feels static and you are unsure which easing and duration it should use.
- You want new motion to match existing easing tokens instead of introducing a second system.
How it works
- 1Gate by frequency
The agent rates how often users see the element and refuses to animate keyboard-triggered or very frequent actions, offering an instant alternative.
- 2Name the purpose
It must label the motion as feedback, spatial consistency, state indication, bridging a jarring change, explanation or rare delight before continuing.
- 3Pick tool and properties
It chooses the lightest option from CSS transitions up to the Motion library and limits itself to transform and opacity, never starting from scale(0).
- 4Set curve and timing
It takes easing and duration from a table, keeping UI motion under 300ms except for modals, drawers, sheets and toasts, and uses springs for gestures.
- 5Handle interruption and access
It uses transitions for rapidly retriggered elements, exits along the entry path and adds prefers-reduced-motion and hover-capable pointer gating.
What it steers the agent away from
- Adding motion to command palettes, shortcuts and other actions used many times a day
- Using ease-in, transition: all or invented cubic-bezier values on interface elements
- Shipping animations without a reduced-motion variant
Install this skill
It installs with the Emil Kowalski's Skills pack.
Claude Code, Codex, Cursor and other agentsThe skills CLI copies the skill folders into your agent's skills directory.
npx skills@latest add emilkowalski/skillsCommands come from the author’s README; check it for changes before you run them.
Questions
Will it always produce an animation?
No. If the element fails the frequency or purpose check, the skill says so and suggests a non-animated state change instead, which it treats as a valid result.
Does it cover React Native?
No. For Expo and React Native it points you to the separate animate-expo skill.
More guides from Emil Kowalski's Skills
/break-uiStress-test components with realistic worst-case dataFeeds a component realistic worst-case data behind a dev-only toggle and reports each break with its cause and CSS fix.Read the guide →/improve-animationsAudit an app's motion and get executable fix plansAudits a codebase's motion by category and writes self-contained fix plans that another agent or cheaper model can carry out.Read the guide →/learn-tasteTurn your design corrections into rules agents followCollects the design corrections from a session and proposes each as a rule with its reason in DESIGN.md or as a lint check.Read the guide →/prototypeCompare genuinely different UI variants in a live pickerBuilds three to five clearly different versions of one UI piece, shows them in a switcher and moves your pick into the codebase.Read the guide →
Also in this pack
/animate-expoWrites React Native and Expo motion with Reanimated, Gesture Handler and haptics, keeping animation work on the UI thread.↗/animation-performanceDiagnoses dropped frames by naming the cause first, steering motion to transform and opacity and off a busy main thread.↗/animation-vocabularyTranslates a loose description of a motion effect into its precise name, so you can ask a designer or AI for it.↗/apple-designBrings ideas from Apple's WWDC fluid-interface talks to the web: instant response, springs, momentum, materials and typography.↗/ask-sonnerExplains setting up, styling and troubleshooting the Sonner toast library, from toast.promise calls to toasts hidden behind modals.↗/emil-design-engApplies Emil Kowalski's polish rules to press states, popover origins, tooltip timing and similar details, reporting in Before/After tables.↗/find-animation-opportunitiesProposes up to a handful of places that would benefit from motion, with exact values, and rejects the rest without editing code.↗/gesturesBuilds drags, swipes and sheets that follow the pointer 1:1, then hand off release velocity to a spring.↗/mobile-nativeFixes the small CSS and meta-tag issues that make a web app feel like a browser page on a phone, such as 100vh and laggy taps.↗/remove-animationsDeletes or reduces animations that fail a purpose and frequency test, then cleans up the code they leave behind.↗/write-swiftGuides modern Swift through value types, Swift 6 concurrency, some versus any generics, Swift Testing and performance work.↗
Summary by trendhub. The skill itself lives in emilkowalski/skills/skills/animate by Emil Kowalski (MIT); read the full, current text there.