fixing-motion-performance

Audit and fix animation performance issues in CSS, WAAPI, and JS-driven UI code.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/Benjamindaoson/Financial_Asset_QA_System_master --skill fixing-motion-performance-benjamindaoson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fixing-motion-performance
Source: https://github.com/Benjamindaoson/Financial_Asset_QA_System_master/tree/main/.agents/skills/fixing-motion-performance
Command: npx skills add https://github.com/Benjamindaoson/Financial_Asset_QA_System_master --skill fixing-motion-performance-benjamindaoson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill helps developers identify and fix animation performance issues that cause layout thrashing, stutter, or jank in user interfaces.

Core Features & Use Cases

  • Analyze layout, paint, and composition costs to locate bottlenecks.
  • Provide concrete, code-level fixes for CSS, WAAPI, and scroll-linked animations.
  • Apply motion guidelines to improve transitions, reveals on scroll, and large surface updates in production apps.

Quick Start

Provide the UI animation you want to improve and I will audit it against the motion guidelines and propose concrete fixes.

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 layout thrashing and stuttering in JavaScript web animations?

Fix layout thrashing in web animations by batching DOM measurement reads separately from layout writes. This skill audits your code to identify interleaved read-write cycles and provides concrete fixes to eliminate scroll-linked stutter and jank.

Why does my scroll-linked animation cause performance issues on large surfaces?

Scroll-linked animations cause performance issues when they trigger continuous layout or paint updates instead of compositor-only properties. This skill analyzes large surface updates and applies scroll timeline rules to move work off the main thread.

How do I optimize CSS and WAAPI transitions to reduce paint costs?

Optimize CSS and WAAPI transitions by enforcing the use of transform and opacity properties to minimize paint and composition costs. This skill audits your motion guidelines and proposes code-level fixes to reduce rendering bottlenecks.

Can I use this to audit blur-related inefficiencies in UI rendering?

Yes, you can audit blur-related inefficiencies by providing your UI animation code for analysis. This skill identifies rendering bottlenecks caused by expensive blur filters during transitions and reveals on scroll, proposing concrete optimizations.

When should I avoid layout reads during CSS or JavaScript-driven animations?

You should avoid layout reads during active animations to prevent forced synchronous layout and scroll jank. This skill enforces per-category constraints by detecting measurement reads inside animation frames and restructuring them into batched operations.