Optimizes UI animations and transitions by enforcing high-performance rendering patterns and eliminating layout thrashing.
The Fixing Motion Performance skill provides expert-level guidance for debugging and optimizing web animations across CSS, WAAPI, Motion, and GSAP. It helps developers adhere to the high-performance rendering pipeline by prioritizing compositor-only changes, preventing layout thrashing, and ensuring efficient DOM measurement. Whether you are refactoring janky transitions or implementing complex scroll-linked motion, this skill provides actionable, code-level fixes to ensure smooth 60fps interactions without requiring you to switch your existing animation libraries.
主な機能
01Enforcement of compositor-heavy patterns over paint and layout triggers
02Automated code review for animation performance violations
03Prevention of layout thrashing via batched DOM reads and writes
04Surgical guidance for hardware acceleration and layer promotion
05Optimization strategies for scroll-linked motion and View Timelines
060 GitHub stars
ユースケース
01Refactoring janky scroll-linked animations or reveal-on-scroll effects
02Auditing UI components for inefficient CSS properties like blur or layout-triggering variables
03Implementing performant layout transitions using FLIP-style techniques