Install any skill in seconds. Free to start, no credit card required.
Get Started Free →thedaviddias/animation-performance
Use when reviewing stylesheets, component styles, and responsive behavior related to Use transform and opacity for animations. Check the rendered layout across breakpoints and interaction states before proposing a fix.
Passed 21 of 22 test cases with the skill, and 21 of 22 without it.
1 fixed20 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
A test case the skill fixed. Same model, same prompt, with and without the skill.
When a notification arrives, a UI badge appears by animating 'padding' from 0px to 8px. How should this entry transition be optimized?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends scale transform or opacity for the pop-in visual effect | Passed | Passed |
| Explains that padding triggers layout and paint calculations | Missed | Passed |
The instructions your model reads when the skill loads.
Animating layout properties (width, height, top, margin) triggers the full browser rendering pipeline on every frame — style recalculation, layout, paint, and composite. This runs on the main thread and competes with JavaScript. Animating transform and opacity skips layout and paint entirely and runs on a dedicated GPU thread, achieving smooth 60fps even when the main thread is busy.
Find CSS animations or transitions in this file that animate layout-triggering properties like top, left, width, height, or margin. Flag them for optimization.
Convert layout-triggering animations to use transform equivalents: position changes to translate(), size changes to scale().
Explain the browser rendering pipeline, why transform and opacity are performant for animation, and how the GPU compositor works.
Review stylesheets, component styles, and responsive states related to Use transform and opacity for animations. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/css/animation-performance
test cases passed, vs 21 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.