fixing-motion-performance

Identify and fix UI animation performance issues in CSS, WAAPI, GSAP, and scroll-linked effects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses and resolves issues that cause jankiness and poor performance in UI animations, ensuring smoother and more responsive user experiences.

Core Features & Use Cases

  • Performance Auditing: Analyzes UI animations against best practices for rendering performance.
  • Rule Enforcement: Provides specific, actionable rules categorized by priority to guide animation development.
  • Use Case: When implementing a new scroll-linked animation, use this Skill to review the implementation and ensure it doesn't cause layout thrashing or excessive repainting.

Quick Start

Review the file 'animation.css' for performance violations.

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 janky UI animation performance and stop frame drops?

To fix janky UI animation performance, you must identify and rectify issues related to rendering, layout, and JavaScript execution. Enforcing strict rules on animation patterns, measurement, paint, and layer promotion maintains high frame rates.

Why does my scroll-linked animation cause layout thrashing?

Scroll-linked animation causes layout thrashing when it forces excessive repainting or synchronous DOM measurement. You can resolve this by enforcing strict rules on animation patterns and measurement to maintain high frame rates.

Can I use this to audit CSS, WAAPI, and GSAP rendering performance?

Yes, performance auditing applies to all forms of UI animation including CSS, WAAPI, GSAP, and scroll-linked effects. It analyzes your implementation against best practices for rendering performance to ensure smoothness.

What is the best way to optimize UI animation performance for high frame rates?

The best way to optimize UI animation performance is by applying strict rules categorized by priority to guide development. Rectifying issues with layer promotion, paint, and JavaScript execution ensures a responsive user experience.

How do I review a CSS file for performance violations?

You can review a CSS file for performance violations by analyzing the UI animations against rendering best practices. This process provides specific, actionable rules to rectify issues related to layout and rendering.