fixing-motion-performance

Detect and remediate animation performance issues in CSS, WAAPI, Motion, rAF, and GSAP code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams diagnose and fix animation performance issues in UI projects, reducing jank and improving perceived smoothness.

Core Features & Use Cases

  • Performance auditing: identify expensive frames, layout thrashing, and long paint times.
  • Optimization guidance: apply best practices (transform/opacity, batched reads/writes, FLIP) to improve frame rates.
  • Use Case: when animations feel stuttery or cause dropped frames, use this Skill to analyze and provide concrete fixes.

Quick Start

Use the fixing-motion-performance skill to review an animation file or component and apply the recommended constraints.

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 jank and dropped frames?

To fix UI animation jank, this Skill analyzes your components to detect layout thrashing and long paint times, then provides code-level remediation by enforcing transform and opacity constraints to improve frame rates.

Why does my scroll-linked animation cause layout thrashing?

Scroll-linked animations cause layout thrashing when they trigger expensive recalculations. This Skill audits your animation code to identify expensive frames and applies batched reads and writes to prevent the stuttering.

How do I optimize CSS and GSAP animations for better performance?

You can optimize CSS and GSAP animations by applying best practices like FLIP techniques and batched reads/writes. This Skill automates the detection of performance bottlenecks and recommends transform/opacity based motion.

Can I use this to analyze WAAPI and requestAnimationFrame transitions?

Yes, this Skill analyzes WAAPI, requestAnimationFrame, CSS, and GSAP animations across your components and screens, satisfying measurement discipline requirements and providing actionable code-level guidance.

What is the best way to prevent long paint times in layout transitions?

The best way to prevent long paint times in layout transitions is to enforce transform and opacity based motion. This Skill audits your UI code and applies FLIP techniques to improve perceived smoothness.

Does this animation performance audit work for component-level transitions?

Yes, this Skill works across component and screen-level transitions, auditing your UI animation logic to identify expensive frames and automatically remediating performance issues with actionable guidance.