Skill / SKILL.md

Animation Performance

wangmiaozero/pi-harness

Keep web animations inside the frame budget — animate composite-only properties, keep motion off the main thread when the page is busy, and find the cause when an animation drops frames. Covers the layout/paint/composite pipeline, cheaper property swaps, CSS vs WAAPI vs requestAnimationFrame, Framer Motion's hardware-accelerated path, React re-rendering per frame, inherited CSS variable recalculation, blur cost, and when `will-change` actually helps. Use when an animation is janky, choppy, stutters, or drops frames; when choosing which property to animate; when deciding between CSS and JS animation on performance grounds; or when reaching for `will-change` or GPU layers. For choosing easing, duration, or whether to animate at all use animate; for reviewing motion as a whole use review-animations.
1 views 361 repository starsUpdated Nov 28, 2026
Overview

Keep web animations inside the frame budget — animate composite-only properties, keep motion off the main thread when the page is busy, and find the cause when an animation drops frames. Covers the layout/paint/composite pipeline, cheaper property swaps, CSS vs WAAPI vs requestAnimationFrame, Framer Motion's hardware-accelerated path, React re-rendering per frame, inherited CSS variable recalculation, blur cost, and when `will-change` actually helps. Use when an animation is janky, choppy, stutters, or drops frames; when choosing which property to animate; when deciding between CSS and JS animation on performance grounds; or when reaching for `will-change` or GPU layers. For choosing easing, duration, or whether to animate at all use animate; for reviewing motion as a whole use review-animations.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wangmiaozero/pi-harness' skill-source

Use the complete skill-source/resources/builtin-skills/emilkowalski/skills/engineering/animation-performance directory with your client’s skill installer.

  • resources/builtin-skills/emilkowalski/skills/engineering/animation-performance

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory resources/builtin-skills/emilkowalski/skills/engineering/animation-performance

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
27cce20fcf184dfe31789f16f56a1c5fef889dc21ee0f730c5a79fc0ee670571
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills