fixing-motion-performance

Identify and fix UI animation performance issues across CSS and WAAPI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps identify and fix UI animation performance issues by applying a predefined set of constraints and best practices to ensure smoother, jank-free animations.

Core Features & Use Cases

  • Enforce transform and opacity-based motion by default to avoid expensive layout changes.
  • Provide a deterministic review workflow that analyzes animation code, surfaces violations, and suggests concrete, code-level fixes.
  • Use during activities like adding or changing UI animations, refactoring janky interactions, or implementing scroll-linked motion to improve perceived performance.

Quick Start

Apply these constraints to the current UI animation work in this conversation by running /fixing-motion-performance.

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 improve web performance?

Fix janky UI animations by enforcing transform and opacity-based motion instead of expensive layout changes. A deterministic review workflow analyzes your animation code, surfaces performance violations, and suggests concrete fixes to ensure smoother, jank-free interactions.

Why does my scroll-linked motion cause layout thrashing?

Scroll-linked motion causes layout thrashing when animating properties other than transform and opacity. Enforcing transform and opacity-based motion by default avoids expensive layout changes, ensuring smooth scroll-linked motion across CSS, WAAPI, and related tooling.

What is the best way to review UI animation code for performance issues?

The best way to review UI animation code is using a deterministic workflow that applies predefined best practices. This process analyzes your CSS and WAAPI animations, identifies violations of transform and opacity constraints, and provides concrete, code-level fixes.

Does this animation review process work with WAAPI and CSS?

Yes, the animation review process works with CSS, WAAPI, and related tooling. It applies a predefined set of constraints to your current UI animation work, ensuring transform and opacity-based motion is enforced across these web animation technologies.

When should I avoid animating properties other than transform and opacity?

Avoid animating properties other than transform and opacity whenever you are adding or changing UI animations or refactoring janky interactions. Animating other properties triggers expensive layout changes and repaints, degrading web performance and causing visible jank.