rule @anthropic-impeccable/rule-animate-transform-opacity-only

Animate Transform Opacity Only

CSS transitions and animations MUST target only `transform` and `opacity`. Animating layout properties (width, height, padding, margin, top, left, border-width) triggers browser layout recalculation on every frame, causi…

Skill
@anthropic-impeccable
Domain
frontend-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
111/358/814
$ aoe install @anthropic-impeccable/rule-animate-transform-opacity-only

Projection

Always in _index.xml · the agent never has to ask for this.

AnimateTransformOpacityOnly [rule] v1.0.0

CSS transitions and animations MUST target only transform and opacity. Animating layout properties (width, height, padding, margin, top, left, border-width) triggers browser layout recalculation on every frame, causing forced reflows and dropped frames. For height animations (accordions, disclosures), use grid-template-rows: 0fr → 1fr instead of height: 0 → auto.

Source

aoe-engine/examples/frontend-design/primes/compiled/@anthropic-impeccable/rule-animate-transform-opacity-only/atom.yaml