fixing-motion-performance

Apply motion-performance guidelines to prevent jank in web UI animations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Slow or janky UI animations degrade user experience and complicate development.

Core Features & Use Cases

  • Provides a prioritized rule set to reduce layout thrash and promote transform/opacity-based animations.
  • Guides debugging of scroll-linked motion and paint-heavy transitions.
  • Use Case: Optimize a dashboard animation that scrolls a data table.

Quick Start

Apply these motion-performance rules to the active UI animation work in your project.

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 animations and layout thrashing in CSS?

Fix janky UI animations by applying a prioritized rule set that promotes transform and opacity-based animations, inherently reducing layout thrash and excessive paints.

What causes scroll-linked motion jank and how do I optimize it?

Scroll-linked motion jank is caused by synchronous layout calculations; optimize it by adhering to proximity guidelines and using will-change to hint the browser for compositor-only updates.

Do these animation performance guidelines work with GSAP and WAAPI?

Yes, these motion-performance guidelines apply directly to web UI development tasks involving CSS, WAAPI, and GSAP across components and pages to ensure smooth transitions.

When should I use will-change to improve frontend animation performance?

Use will-change when preparing an element for imminent animation, applying explicit constraints to avoid excessive paints and layout thrashing while prioritizing transform and opacity properties.

What is the best way to optimize a scrolling data table dashboard animation?

The best way to optimize a scrolling dashboard animation is to follow a structured set of motion-performance rules that prevent jank by minimizing paint-heavy transitions and layout recalculations.