review-animations

Reviews animation and motion code against ten non-negotiable craft standards.

Updated Aug 25, 2026
One-click install
npx skills add https://github.com/KlyrhonMiko/kly-skills --skill review-animations-klyrhonmiko
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-animations
Source: https://github.com/KlyrhonMiko/kly-skills/tree/main/data/skills/review-animations
Command: npx skills add https://github.com/KlyrhonMiko/kly-skills --skill review-animations-klyrhonmiko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Animation code often passes review because it technically runs, yet feels sluggish, fires too often, drops frames, or ignores accessibility. This Skill applies a strict, opinionated review bar to motion code so feel-breaking regressions are caught before merge. ## Core Features & Use Cases - Standards-based review: Measures every animation in a diff against ten non-negotiable rules covering easing, duration, transform origin, interruptibility, GPU-only properties, and accessibility. - Precise value citations: Pulls exact easing curves, duration tables, and spring configurations from STANDARDS.md instead of approximating fixes. - Structured verdict output: Produces a Before/After/Why findings table plus a tiered verdict ending in an explicit Block or Approve decision. - Use Case: A developer opens a pull request adding a dropdown that uses transition: all 300ms ease-in and scale(0). The review flags the unbounded transition, the ease-in curve, and the from-nothing scale, then prescribes transform 200ms ease-out with scale(0.95) plus opacity. ## Quick Start Ask the AI to review the animation and motion code in your current diff against the review-animations standards and return a findings table with a Block or Approve verdict.

Frequently Asked Questions about review-animations

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

FAQPage Schema
How do I review CSS animation code for quality issues?▼

Review CSS animations by checking easing curves, durations under 300ms, transform-origin correctness, and GPU-only properties like transform and opacity. This Skill automates that review against ten non-negotiable standards and returns a findings table with a Block or Approve verdict.

What animation duration is best for UI elements?▼

UI animations should stay under 300ms. Button press feedback runs 100-160ms, tooltips 125-200ms, dropdowns 150-250ms, and modals or drawers 200-500ms. Anything slower on a UI element needs explicit justification.

Should I use CSS transitions or Framer Motion for animations?▼

Use CSS transitions, @starting-style, or WAAPI for predetermined motion since they run off the main thread. Use Framer Motion springs for dynamic, interruptible, gesture-driven motion, but avoid x/y/scale shorthand props which are not hardware-accelerated.

Why does ease-in make UI animations feel sluggish?▼

ease-in starts slow, delaying the exact moment the user is watching, so a 200ms ease-in feels slower than a 200ms ease-out. Entering and exiting elements should use ease-out or a strong custom cubic-bezier curve instead.

How do I handle prefers-reduced-motion in animations?▼

Honor prefers-reduced-motion by keeping opacity and color transitions while dropping transform-based movement, rather than removing all animation. Also gate hover animations behind @media (hover: hover) and (pointer: fine) to avoid false hovers on touch devices.

When should an animation be removed instead of fixed?▼

Remove animations on keyboard-initiated actions or elements seen 100+ times per day, since repeated motion makes interfaces feel slow. The remedial hierarchy prefers deleting purposeless animation first, then reducing, fixing easing, or correcting origin before polishing.