fixing-motion-performance

Audit web animation performance issues and deliver code-level fixes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps locate and fix animation performance issues that cause stutter, layout thrashing, excessive paints, or dropped frames in web user interfaces.

Core Features & Use Cases

  • Diagnostic Audit: Identify violations such as interleaved layout reads/writes, continuous layout animations, and scroll-poll-driven motion.
  • Concrete Fixes: Provide exact line/snippet citations, a one-sentence explanation of why it matters, and code-level suggestions (transform/opacity, FLIP, Scroll/ViewTimeline, will-change guidance).
  • Use Case: Review a component with janky transitions or a scroll-linked reveal and convert it to a performant transform/opacity or timeline-based implementation.

Quick Start

Use the /fixing-motion-performance command in the conversation and attach the target animation source file to receive a prioritized audit with line-level violations and concrete fixes.

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 animation jank and stuttering in my web UI?

Fix animation jank by auditing CSS and JavaScript for layout thrashing and continuous paint work. This Skill provides prioritized diagnostics, exact snippet citations, and concrete code-level fixes to eliminate dropped frames and ensure smooth UIs.

Why does my scroll-linked animation cause heavy paint work?

Scroll-linked animations cause heavy paint work when they continuously poll scroll positions or animate layout properties. This Skill identifies these exact violations and converts them to performant transform/opacity or ScrollTimeline-based implementations.

How do I stop layout thrashing in requestAnimationFrame loops?

Stop layout thrashing in requestAnimationFrame loops by separating interleaved layout reads and writes. This Skill audits your code for these violations and provides concrete fixes to batch DOM measurements and prevent forced synchronous layouts.

Does this approach work with existing JavaScript animation libraries?

Yes, this approach works with existing JavaScript animation libraries by preserving your current animation system. It applies to WAAPI, requestAnimationFrame patterns, and common libraries to deliver code-level fixes without requiring a complete rewrite.

What is the best way to optimize CSS transitions for smooth rendering?

The best way to optimize CSS transitions is animating only transform and opacity properties to avoid layout and paint work. This Skill audits your CSS and applies FLIP techniques or will-change guidance to maintain smooth rendering.