Skip to content
Back to skills

Ztx14 Curated Css Motion Performance

ASecurity

Review CSS and DOM animation costs to avoid layout thrash, paint-heavy effects, and excessive GPU layers.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
designreactnodegitapiperformance

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill ztx14-curated-css-motion-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ztx14 Curated Css Motion Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ztx14 Curated Css Motion Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-ztx14-curated-css-motion-performance/badge)](https://www.skillsdirectory.com/skills/realjustawall-ztx14-curated-css-motion-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ztx14-curated-css-motion-performance
description: Review CSS and DOM animation costs to avoid layout thrash, paint-heavy effects, and excessive GPU layers.
---

# Keep UI animation on compositor-friendly properties

> Curated implementation skill. Inspect the installed project and actual component source before changing behavior. Do not assume latest APIs are installed. Preserve unrelated files and existing component ownership.

## Optimization order
1. Profile first with DevTools; distinguish dropped frames from React rerenders, geometry cost, long tasks, and network/layout shifts.
2. Prefer `transform` and `opacity` for simple movement/fades. Inspect costly blur, filters, box shadows, SVG path changes and animated layout dimensions individually.
3. Batch geometry reads before style writes. Avoid read-write-read cycles inside every pointer event.
4. Do not blanket-apply `will-change`; use it only for measured cases and remove it when the interaction ends.
5. Clamp amplitude and particle/SVG node counts on small screens or slower devices.
6. Honor reduced motion and reduce idle rendering before degrading visual quality.

## Evidence
Record browser/device, tested scenario, frame rate or trace observation, and before/after behavior. Do not promise 60 FPS unless it was measured on a stated device and scenario.

## Primary references
- [web-animation-performance](https://web.dev/articles/animations-guide)
- [r3f-perf](https://github.com/pmndrs/react-three-fiber/blob/master/docs/advanced/scaling-performance.mdx)
- [reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/%40media/prefers-reduced-motion)

## Completion evidence
- State what was inspected, what changed, and which checks actually ran. Never report unrun tests or unverified browser behavior as passing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.