fixing-motion-performance

Audit and optimize UI animation performance across CSS, WAAPI, Motion, and rAF.

116|9|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/elophanto/EloPhanto --skill fixing-motion-performance-elophanto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fixing-motion-performance
Source: https://github.com/elophanto/EloPhanto/tree/main/skills/fixing-motion-performance
Command: npx skills add https://github.com/elophanto/EloPhanto --skill fixing-motion-performance-elophanto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Animation performance issues cause jank, dropped frames, and a poor user experience. This Skill provides a structured approach to audit, constrain, and optimize UI motion to maintain smooth interactivity.

Core Features & Use Cases

  • Priority-based guidelines across measurement, layout, paint, and composition.
  • Scroll-linked and view-triggered animation safety patterns to reduce jank.
  • Clear guidance for auditing and remediating animations while preserving existing libraries.

Quick Start

Apply these constraints to any UI animation work in your project.

Frequently Asked Questions about fixing-motion-performance

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

FAQPage Schema
How do I fix animation jank and dropped frames in my UI?

Fix animation jank by auditing UI motion across layout, paint, and composite stages using priority-based guidelines to measure, constrain, and remediate performance issues while keeping existing libraries intact.

Why does my scroll-linked animation cause jank?

Scroll-linked animations cause jank when they trigger layout or paint stages instead of the composite stage; applying view-triggered safety patterns and constraints helps maintain smooth interactivity and high FPS.

What is the best way to optimize CSS transforms and WAAPI for smooth UX?

Optimize CSS transforms and WAAPI by remediating animations to run on the composite stage rather than layout or paint, following priority rules to measure and audit frame drops for faster UX.

How do I measure and audit UI animation performance without breaking existing libraries?

Measure and audit UI animation performance by applying structured constraints across layout, paint, and composition stages, identifying and remediating bottlenecks while keeping existing libraries intact.

When should I not use requestAnimationFrame for UI animations?

Avoid using requestAnimationFrame for scroll-linked or view-triggered animations if it triggers layout or paint instead of relying on transforms and composition, which causes dropped frames and UI jank.