frontend-motion-review

Build, review, and audit frontend animation and motion code with evidence-backed findings.

Updated Aug 5, 2026
One-click install
npx skills add https://github.com/ahsanghalib/ai-workflow --skill frontend-motion-review-ahsanghalib
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-motion-review
Source: https://github.com/ahsanghalib/ai-workflow/tree/main/skills/frontend-motion-review
Command: npx skills add https://github.com/ahsanghalib/ai-workflow --skill frontend-motion-review-ahsanghalib

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Frontend animation often ships with wrong easing, excessive frequency, performance problems, or missing accessibility handling, and teams lack a structured way to decide when motion is justified and how to implement or review it consistently. ## Core Features & Use Cases - Three operating modes: Build mode implements animations with the cheapest suitable tool (CSS transitions, WAAPI, or the existing motion library); Review mode inspects motion diffs with file:line evidence and a Block/Approve verdict; Audit mode maps the entire motion surface and produces prioritized findings and self-contained improvement plans. - Standards and recipes: Bundled references provide easing curves, duration ranges, physicality rules, reduced-motion patterns, and ready-made recipes for buttons, modals, drawers, toasts, accordions, staggers, and drag gestures. - Use Case: A developer is asked to review a pull request that adds a modal transition. The skill checks purpose and frequency, verifies easing and duration against project tokens, confirms reduced-motion handling, and returns a verdict table citing exact file:line evidence. ## Quick Start Ask the assistant to review the animation code in your current diff for easing, performance, and accessibility issues using the frontend motion review workflow.

Frequently Asked Questions about frontend-motion-review

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

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

Use review mode to inspect the motion diff in order: purpose and frequency, easing and duration, origin and physicality, interruption, performance, and accessibility. Every finding is cited with file:line and grouped by impact, ending in a Block or Approve verdict.

How to audit animations across an entire UI codebase?▼

Audit mode maps the stack, motion libraries, tokens, and gesture handlers, then searches for patterns like transition: all, scale(0), and missing prefers-reduced-motion. It produces a prioritized findings table and self-contained improvement plans without modifying source code.

When should UI interactions not be animated?▼

Actions performed 100+ times per day, including keyboard shortcuts and command palettes, should not animate. Tens of uses per day calls for removal or near-imperceptible motion, while occasional interactions like modals and toasts justify standard animation.

Does this work with React, Vue, or Motion libraries?▼

Yes, the guidance is harness-neutral and framework-specific advice is conditional. The skill first inspects the repository's actual stack and existing dependencies before using React, Motion, Vue, or library-specific APIs, and never installs a new motion library on its own.

What CSS properties should UI animations use for performance?▼

Prefer transform and opacity, with clip-path as an option for reveals and masks. Layout properties like width, height, margin, and top are treated as deliberate exceptions requiring justification because they trigger layout work and dropped-frame risk.

How do I handle reduced motion accessibility in animations?▼

Include a prefers-reduced-motion media query that removes movement while preserving useful opacity or color feedback. Also gate hover-only effects behind fine-pointer media queries and verify focus visibility, keyboard operation, and semantic controls.