fixing-motion-performance

Audit and fix animation performance issues in CSS, WAAPI, and Motion.

6|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/kmshihab7878/claude-code-setup --skill fixing-motion-performance-kmshihab7878
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fixing-motion-performance
Source: https://github.com/kmshihab7878/claude-code-setup/tree/main/skills/fixing-motion-performance
Command: npx skills add https://github.com/kmshihab7878/claude-code-setup --skill fixing-motion-performance-kmshihab7878

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

Core Features & Use Cases

  • Audit and fix animation performance issues in CSS, WAAPI, Motion, and JS-driven transitions.
  • Enforce performance rules (transform/opacity, measurement batching, and scroll handling) to reduce layout thrash and paint overhead.
  • Use Case: Rework a choppy header reveal or a scrolling list animation to be smooth on low-end devices.

Quick Start

Apply the fixing-motion-performance rules to your current UI animations to identify bottlenecks and apply concrete, minimal changes that improve frame stability.

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 UI animation performance issues like layout thrashing and jank?

Fix animation performance by identifying bottlenecks in CSS, WAAPI, Motion, or JS transitions, then applying rules like batching measurements and using transform/opacity to reduce jank.

Why does my scroll-linked motion stutter and how can I optimize it?

Scroll-linked motion stutters due to continuous layout calculations during animations. Optimize it by handling scroll events properly and enforcing compositor properties like transform and opacity.

What is the best way to audit CSS and WAAPI transitions for paint overhead?

The best way to audit CSS and WAAPI transitions is to inspect components for layout thrashing and blur effects, then enforce performance rules like batching measurements to reduce paint overhead.

Can I use this approach to fix choppy header reveal animations on low-end devices?

Yes, you can rework choppy header reveal or scrolling list animations to be smooth on low-end devices by applying minimal changes that enforce performance rules and reduce frame instability.

Does optimizing animation performance require specific JavaScript frameworks?

No, optimizing animation performance does not require specific frameworks. It applies across CSS, WAAPI, Motion, and vanilla JS-driven transitions within common web app interfaces.