animation-performance
Skill11 starsChanged 11 days agoMITView on GitHub
Use when profiling, optimizing or debugging animation smoothness, rendering cost, layout shifts, scroll performance or animation lifecycle leaks.
37 other projects use a version of this.
Adopted by
Most recently taken up by
- justincordova/agentstheir own version, first seen Nov 29, 2026
- adrianoanthonymma16-boop/opencode-agentstheir own version, first seen Nov 29, 2026
- aykyusuf/crew-chieftheir own version, first seen Nov 29, 2026
- officialunofficial/skillstheir own version, first seen Nov 29, 2026
- alexj11324/Mikkatheir own version, first seen Nov 29, 2026
- aspectly-labs/Mikkatheir own version, first seen Nov 29, 2026
Used with
Projects with it also use interface-review, better-typography and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnasX7Skillinterface-review
Reviews your work across multiple categories like UI, typography, layout, color, writing and accessibility and gives you a detailed analysis of the findings.
Also in 4 projects that use this
AnasX7Skillbetter-typography
Focuses on type scale, spacing, sizing, variable fonts, OpenType features, wrapping, truncation and other details that make typography feel great across your product.
Also in 5 projects that use this
boraoztuncSkillstageshow
Build faux product UI that looks like a real product, as a still illustration or an animated demo with a cursor. Browser and app windows, dashboards, phones, notifications, terminals, bento grids and cursor walkthroughs, framed, masked and cropped the way a marketing page, feature card or docs hero needs them. Use whenever someone wants a fake or mocked UI, a product demo or walkthrough animation, a hero or feature-card illustration of an app, a product shot in the style of a polished marketing site, or an animated cursor doing things in an interface, even if they never say "faux UI". React and plain CSS.
Also in 3 projects that use this
allanninalSkilldifferential-review
Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and prevents security regressions.
Also in 3 projects that use this
OpenAISkillhyperframes-registry
Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.
Also in 3 projects that use this
OpenAISkillhyperframes-cli
HyperFrames CLI tool — hyperframes init, lint, inspect, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting, validating, inspecting visual layout in compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.
Also in 3 projects that use this
- +6 more from AnasX7
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- emilkowalski/skill★ 61ksame name
- emilkowalski/skills★ 57ksame name
- ArcReel/ArcReel★ 6.8ksame name
- sanity-io/sanity★ 6.4ksame name
- Spikerko/spicy-lyrics★ 764same name
- boraoztunc/skills★ 473same name
- alexj11324/Mikka★ 90same name
- aspectly-labs/Mikka★ 90same name
- HamedMP/matrix-os★ 90same name
- Makkov-design/makkov-harness★ 10same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- accessibility-automationSkill
- accessibility-reviewSkill
- accessible-componentsSkill
- accessible-motionSkill
- anti-slop-uiSkill
- api-securitySkill
- authentication-sessionsSkill
- authorization-access-controlSkill
- component-engineeringSkill
- core-web-vitalsSkill
- design-directionSkill
- design-system-architectureSkill
- document-head-seoSkill
- font-performanceSkill
- forms-and-validationSkill
- frontend-architectureSkill
- gsap-fundamentalsSkill
- icon-engineeringSkill
- image-asset-optimizationSkill
- independent-reviewSkill
- interactive-storytellingSkill
- javascript-performanceSkill
- keyboard-focusSkill
- modern-cssSkill
- motion-design-systemsSkill
- network-cachingSkill
- performance-auditingSkill
- performance-testingSkill
- premium-landing-pagesSkill
- quickstart-onboardingSkill
- rendering-performanceSkill
- responsive-engineeringSkill
- screen-reader-testingSkill
- scrolltrigger-experiencesSkill
- secrets-configurationSkill
- secure-application-designSkill
- secure-input-outputSkill
- security-reviewSkill
- security-testingSkill
- semantic-accessibilitySkill
- visual-design-reviewSkill
- visual-reference-analysisSkill
- wcag-auditingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 17 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 37 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Keep animation responsive and stable on real devices by measuring bottlenecks, limiting unnecessary work and cleaning up resources.
- Distinctive: line 17
Use browser performance tooling and frame diagnostics when available.
- Distinctive: line 20
Prefer transform and opacity for frequent visual movement when they match the desired effect.
- Distinctive: line 21
Avoid continuously animating layout properties such as width, height, top, left or margins unless the effect requires layout changes.
- Distinctive: line 22
Do not add will-change broadly or permanently.
- Distinctive: line 23
Avoid large blur, filter, shadow and backdrop-filter animations without evidence they perform acceptably on target devices.
- Distinctive: line 27
Avoid per-frame DOM reads/writes and repeated layout measurements.
- Distinctive: line 28
Do not create a new timeline or ScrollTrigger inside a high-frequency callback.
- Distinctive: line 29
Use GSAP callbacks and ticker only when the interaction needs them.
- Distinctive: line 34
Avoid retaining detached DOM nodes in long-lived closures.
- Distinctive: line 36
Prefer native scrolling and avoid scroll-jacking.
- Distinctive: line 37
Use ScrollTrigger's measured trigger model instead of custom per-frame viewport polling.
- Distinctive: line 38
Avoid excessive pinning, nested scrollers and many independent scrubbed effects.
- Distinctive: line 40
Verify touch scrolling and low-powered mobile devices.
- Distinctive: line 43
Check frame stability, main-thread activity, layout shifts and memory/resource behavior.
- Distinctive: line 44
Test reduced motion and non-animated fallbacks.
- Distinctive: line 70
Avoid promoting many elements to layers.
“Common” is measured: kept by at least 6 in 10 of the 37 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Animation Performance
Objective
Keep animation responsive and stable on real devices by measuring bottlenecks, limiting unnecessary work and cleaning up resources.
Workflow
- Reproduce and measure
- Capture the exact route, viewport, device class, browser and interaction that feels slow.
- Establish whether the problem is scripting, style recalculation, layout, paint, compositing, asset loading or excessive simultaneous animation.
- Use browser performance tooling and frame diagnostics when available.
- Record a baseline before changing code.
- Choose efficient properties
- Prefer transform and opacity for frequent visual movement when they match the desired effect.
- Avoid continuously animating layout properties such as width, height, top, left or margins unless the effect requires layout changes.
- Do not add will-change broadly or permanently; use it only after profiling demonstrates a benefit and remove it when no longer needed.
- Avoid large blur, filter, shadow and backdrop-filter animations without evidence they perform acceptably on target devices.
- Reduce work
- Animate only visible or relevant elements.
- Limit simultaneous timelines, stagger groups and continuous loops.
- Avoid per-frame DOM reads/writes and repeated layout measurements.
- Do not create a new timeline or ScrollTrigger inside a high-frequency callback.
- Use GSAP callbacks and ticker only when the interaction needs them.
- Manage lifecycle
- Revert animations and ScrollTriggers when their component or route is removed.
- Disconnect observers and remove listeners.
- Prevent duplicate initialization after route transitions, hot reload or repeated mounts.
- Avoid retaining detached DOM nodes in long-lived closures.
- Optimize scroll interactions
- Prefer native scrolling and avoid scroll-jacking.
- Use ScrollTrigger's measured trigger model instead of custom per-frame viewport polling.
- Avoid excessive pinning, nested scrollers and many independent scrubbed effects.
- Refresh measurements only after layout changes that affect trigger positions.
- Verify touch scrolling and low-powered mobile devices.
- Verify improvements
- Compare the same interaction before and after the change.
- Check frame stability, main-thread activity, layout shifts and memory/resource behavior.
- Test reduced motion and non-animated fallbacks.
- Confirm the visual result remains correct and no behavior was removed to hide a performance issue.
Common AI failure mode
Failure: An agent optimizes animation by promoting every moving element to its own layer with permanent will-change, assuming transforms are always free.
Why it matters: Excessive layer creation consumes GPU memory and increases rasterization and compositing work. On constrained devices, the attempted optimization can cause more dropped frames, memory pressure, and jank than the original animation.
Symptoms:
- Frame rate degrades as more elements animate or become promoted.
- Paint, rasterization, memory, or compositing cost rises despite fewer layout operations.
- The implementation keeps layers or continuous animation work after elements leave the viewport or unmount.
Prevention: Profile the same interaction on representative devices before changing properties. Promote only elements where traces demonstrate a benefit, scope will-change to the active interaction, and remove it afterward. Pause offscreen work where appropriate, clean up timelines and observers, and compare frame stability, memory, paint, and compositing before and after. Preserve reduced-motion and non-animated behavior.
Completion criteria
The bottleneck is measured, the change addresses its cause, lifecycle resources are released, visual and interaction behavior is preserved, and the same scenario is re-tested on representative devices.
Rendering diagnosis details
Separate scripting, style recalculation, layout, paint, compositing and asset decode costs before choosing an optimization. Transform and opacity are often good candidates for frequent animation, but large layers, filters, blending, rasterization and device memory can still make them expensive.
- Inspect paint flashing, layer composition and frame timelines where browser tooling is available.
- Avoid promoting many elements to layers; layer memory and compositing overhead can outweigh the benefit.
- Batch layout reads before writes when custom measurement is unavoidable.
- Pause or remove continuous work when the owning view is hidden, inactive or unmounted, where the interaction permits it.
- Record the same route, device class, viewport and interaction for before/after comparisons.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

