animate

Adds purposeful animations and micro-interactions to frontend features using CSS and JavaScript.

Updated Dec 18, 2025
One-click install
npx skills add https://github.com/l0lxl0lw/dotfiles --skill animate-l0lxl0lw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animate
Source: https://github.com/l0lxl0lw/dotfiles/tree/main/ai/shared/skills/impeccable/animate
Command: npx skills add https://github.com/l0lxl0lw/dotfiles --skill animate-l0lxl0lw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Static interfaces often lack feedback, feel jarring during state changes, and miss opportunities to guide users. This Skill reviews a feature and systematically adds entrance animations, micro-interactions, and transitions that improve usability without hurting performance or accessibility. ## Core Features & Use Cases - Animation Audit: Identifies missing feedback, abrupt transitions, and unclear spatial relationships in an existing feature. - Layered Implementation: Adds entrance choreography, button and form micro-interactions, state transitions, and navigation effects using GPU-accelerated CSS and JavaScript techniques. - Accessibility & Performance Guardrails: Enforces prefers-reduced-motion support, transform/opacity-only animation, and timing/easing standards. - Use Case: After building a settings page, run this Skill to add staggered content reveals, toggle switch transitions, form validation feedback, and a smooth modal entry. ## Quick Start Ask the AI to review the checkout form and add purposeful animations and micro-interactions that respect reduced-motion preferences.

Frequently Asked Questions about animate

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

FAQPage Schema
How do I add animations to a web UI feature?

Start by auditing the feature for missing feedback, abrupt state changes, and unclear relationships. Then add entrance animations, micro-interactions on buttons and forms, and smooth transitions using CSS transitions, keyframes, or JavaScript animation libraries.

What CSS properties should I animate for good performance?

Animate only transform and opacity, which are GPU-accelerated and avoid layout recalculation. Never animate width, height, top, or left, as these trigger expensive layout and paint operations that cause jank.

How do I support prefers-reduced-motion in animations?

Wrap animations in a media query that sets animation-duration and transition-duration to near-zero when prefers-reduced-motion is reduce. This is an accessibility requirement, and every animation should have a non-animated alternative.

What animation duration and easing should I use?

Use 100-150ms for instant feedback, 200-300ms for state changes, and 300-500ms for layout changes. Prefer ease-out curves like cubic-bezier(0.25, 1, 0.5, 1) and avoid bounce or elastic easings, which feel dated.

When should I use JavaScript instead of CSS for animations?

Use CSS transitions and keyframes for simple declarative animations. Switch to the Web Animations API, Framer Motion, or GSAP when you need programmatic control, complex sequenced timelines, or interactive gesture-driven motion.