animate

Implements UI animations using CSS transitions, WAAPI, or Motion with defined easing and duration rules.

Updated Aug 10, 2026
One-click install
npx skills add https://github.com/KryptaMedina7/quero-s-home --skill animate-kryptamedina7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animate
Source: https://github.com/KryptaMedina7/quero-s-home/tree/main/.agents/skills/animate
Command: npx skills add https://github.com/KryptaMedina7/quero-s-home --skill animate-kryptamedina7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deciding whether and how to animate a UI element is error-prone: wrong easings, sluggish durations, missing reduced-motion support, and animations that should not exist at all. This Skill turns a motion request into a reviewed implementation that follows a strict decision sequence. ## Core Features & Use Cases - Gated decision sequence: First decides whether the element should animate at all based on usage frequency, then names the motion's purpose before writing any code. - Opinionated implementation rules: Enforces transform/opacity-only properties, strong custom easing curves, sub-300ms UI durations, spring configs for gestures, and mandatory reduced-motion and hover gating. - Ready-to-build recipes: RECIPES.md provides implementations for buttons, dropdowns, tooltips, modals, drawers, toasts, accordions, staggers, hold-to-confirm, tab indicators, scroll reveals, and drag-to-dismiss. - Use Case: When asked to add an entrance animation to a dropdown menu, the Skill selects a CSS transition with scale(0.95) and opacity, transform-origin at the trigger, a 200ms strong ease-out curve, and ships the reduced-motion variant alongside it. ## Quick Start Ask the assistant to animate a component, for example: add an entrance and exit animation to this modal dialog following the animation guidelines.

Frequently Asked Questions about animate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate a dropdown or popover in CSS?

Use a CSS transition on opacity and transform with scale(0.95) as the starting state, 150-250ms duration, and a strong ease-out curve like cubic-bezier(0.23, 1, 0.32, 1). Set transform-origin to the trigger element so the panel appears to grow out of what was clicked.

When should I use CSS transitions vs Motion for animations?

Use CSS transitions for hover, press, and state toggles; CSS @starting-style for mount animations; WAAPI for programmatic control without a library. Reserve Motion for springs, layout animations, exit animations, and gesture-driven values that users can interrupt.

What easing and duration should UI animations use?

Use ease-out for entering and exiting, ease-in-out for on-screen movement, and never ease-in on UI. Keep UI animations under 300ms: 100-160ms for button presses, 125-200ms for tooltips, and 200-500ms for modals and drawers.

Should every UI element have an animation?

No. Elements triggered 100+ times per day, like keyboard shortcuts or command palettes, should never animate. Frequently used elements get near-imperceptible motion at most, while the delight budget is reserved for rare, first-time experiences.

How do I handle reduced motion in CSS animations?

Ship a prefers-reduced-motion media query with every animation, keeping opacity and color transitions while dropping transform-based movement. Reduced motion means fewer and gentler animations, not zero, so comprehension aids remain intact.

Why does my animation drop frames under load?

Animating width, height, margin, or top/left triggers layout and paint on every frame. Animate only transform and opacity, and in Motion use the full transform string instead of x/y/scale shorthands, which are not hardware-accelerated.