performance

**Only animate properties that the browser can handle on the GPU compositor thread:**

Content Preview
# Performance Reference

## The Golden Rule

**Only animate properties that the browser can handle on the GPU compositor thread:**

```
✅ SAFE (GPU composited):    transform, opacity, filter, clip-path, will-change
❌ AVOID (triggers layout):  width, height, top, left, right, bottom, margin, padding,
                              font-size, border-width, background-size (avoid)
```

Animating layout properties causes the browser to recalculate the entire page layout on every frame — this is calle
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/performance.md \
  https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/engineering-team/epic-design/references/performance.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/alirezarezvani/claude-skills

Then reference at engineering-team/epic-design/references/performance.md

Related Skills