Animation Performance Optimizer

0•

Optimizes UI animations by identifying and fixing performance bottlenecks like layout thrashing and unnecessary repaints.

The Animation Performance Optimizer skill is designed to help developers eliminate 'janky' interactions and smooth out stuttering transitions in web applications. It provides a structured framework to review CSS, WAAPI, Framer Motion, and GSAP code against the browser's rendering lifecycle (Layout, Paint, and Composite). By enforcing constraints such as favoring transforms over layout changes, batching DOM measurements, and managing layer promotion via will-change, this skill ensures high-performance 60fps animations while respecting your project's existing animation libraries.

主な機能

01Identifies layout thrashing by detecting interleaved DOM reads and writes.
02Provides concrete code-level fixes for expensive paint operations and filters.
03Optimizes scroll-linked animations using IntersectionObserver and View Timelines.
04Analyzes layer promotion and will-change usage to prevent memory bloat.
05Enforces compositor-only motion using transform and opacity properties.
060 GitHub stars

ユースケース

01Refactoring sluggish page transitions or reveal-on-scroll effects to eliminate frame drops.
02Migrating legacy scroll-event animations to modern, high-performance browser APIs.
03Reviewing complex UI components that use CSS variables or filters for performance violations.