animation-performance
Skill4 starsChanged 11 days agoMITView on GitHub
Diagnose measured web animation jank, dropped frames, busy-thread motion, per-frame React work, CSS variable invalidation, or GPU layer cost.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- sanmidable/skillstheir own version, first seen Nov 8, 2026
- 1-Pankaj/AutonomousMarketingtheir own version, first seen Nov 8, 2026
- Spikerko/spicy-lyricstheir own version, first seen Nov 1, 2026
- webdevarif/claude-skillstheir own version, first seen Nov 1, 2026
- cill-i-am/skillstheir own version, first seen Nov 1, 2026
- LuanRoger/next-dxtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use write-swift, animate-expo and 3 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.
sanmidableSkillwrite-swift
Also in 9 projects that use this
sanmidableSkillanimate-expo
Also in 7 projects that use this
cal1888Skillpick-ui-library
Pick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.
Also in 11 projects that use this
wxyhgkSkillfind-animation-opportunities
Search a codebase or UI for places that don't animate but should, and reject everything that shouldn't. Read-only; it proposes motion with exact values, it does not implement it. Use when the user asks "what could be animated here?" or wants to "make this feel more alive". For fixing existing animations, use improve-animations or review-animations instead.
Also in 15 projects that use this
arkanSkillreview-animations
Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.
Also in 15 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- emilkowalski/skill★ 55ksame name
- emilkowalski/skills★ 55ksame name
- ArcReel/ArcReel★ 6.3ksame name
- Spikerko/spicy-lyrics★ 700same name
- HamedMP/matrix-os★ 86same name
- anis-dr/skills★ 3same name
- joaoajmatos/ze★ 2same name
- sanmidable/skills★ 2same name
- 1-Pankaj/AutonomousMarketing★ 1same name
- Big-LAORE/Biblioth-que-de-skills★ 1same name
9 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 repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- agent-watchdogSkill
- aipSkill
- animateSkill
- animation-vocabularySkill
- ask-benSkill
- ask-sonnerSkill
- bazelSkill
- bend-lawsSkill
- blast-radiusSkill
- brain-dumpSkill
- break-uiSkill
- ci-fixesSkill
- codebase-designSkill
- codex-compatSkill
- codexSkill
- commit-push-prSkill
- connect-querySkill
- create-verification-skillSkill
- demoSkill
- development-lifecycleSkill
- diagnosing-bugsSkill
- docsSkill
- dogfoodSkill
- domain-modelingSkill
- e2e-testingSkill
- effect-tsSkill
- effect-v3-to-v4Skill
- efficient-frontierSkill
- eli5Skill
- excalidraw-diagramSkill
- extend-harnessSkill
- frontend-invariantsSkill
- frontend-starter-kitSkill
- full-sendSkill
- gesturesSkill
- golang-reviewSkill
- golangSkill
- goSkill
- grillingSkill
- handoffSkill
- hook-auditSkill
- implement-specSkill
- improve-animationsSkill
- improve-codebase-architectureSkill
- improveSkill
- launchdarklySkill
- lie-detectorSkill
- maintain-verification-skillSkill
- make-pr-easy-to-reviewSkill
- mobile-nativeSkill
- plan-arbiterSkill
- plow-aheadSkill
- postgresqlSkill
- primeSkill
- productSkill
- protobufSkill
- prototypeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
3
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 21
Test one cause with the smallest equivalent change:
- Distinctive: line 37
No device access means that hardware-specific result remains unverified, not fabricated.
- Distinctive: line 54
When route loading, bundle cost, or backend work dominates rather than frames, load ux-performance per the dependency-loading contract.
“Common” is measured: kept by at least 6 in 10 of the 19 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
Find the frame bottleneck before changing motion. Adapted from Emil Kowalski; provenance. Audit means report; an explicit fix request continues through verification and the project's delivery gates.
For optimization/fixes, read the shared experiment loop before edits; it owns original/accepted baselines, keep/revert decisions and unresolved leads.
Loop
- Capture the failing interaction: route, data size, animation driver/properties,
browser/device, refresh rate, and overlapping navigation/loading. Save a baseline
Performance trace under
.context/; static code suspicion is not measured jank. - Locate the late-frame work: JavaScript/React, style invalidation, layout, paint, composition, or excessive layer memory. Frame time is about 16.7 ms at 60 Hz and 8.3 ms at 120 Hz; a smooth desktop run does not prove phone performance.
Test one cause with the smallest equivalent change:
Evidence Candidate Layout each frame Transform decoration instead; retain required flow geometry Expensive shadow/blur paint Smaller painted area or simpler effect; compare visual semantics Busy JS during motion Eligible CSS/WAAPI path; confirm actual compositor execution React render every frame Motion values or bounded ref updates; retain semantic React state Cost grows with descendants Localize inherited CSS-variable writes to the moving element Individual Motion transforms miss acceleration Check version/path: Motion 14.2+ can combine HTML shorthands; try full transformon older versionsLayer setup causes observed hitch Scoped, temporary will-change; remove if gain is unproven- Replay identical base/candidate conditions and compare late frames, layout/paint, and memory. Recheck rapid reversal, cancellation, reduced motion, focus, and visual equivalence. Reject displaced cost and changes smaller than run-to-run variance.
- Report cause,
file:line, trace path, before/after measurements, and device limits. No device access means that hardware-specific result remains unverified, not fabricated.
Constraints
- Name transition properties instead of
all; default totransform/opacity. - Hardware acceleration is progressive enhancement. CSS, WAAPI, and Motion are not blanket guarantees; verify current Motion guidance and the installed library path. CPU throttling does not emulate GPU or phone memory.
- Motion 14.2+ can combine HTML
x/y/scale/rotateinto an eligible WAAPI transform; preserve those shorthands when appropriate. Layout/layoutId,onUpdate,transformTemplate, inertia and frame-driven values still need main-thread work. - A scale is not a universal height/padding substitute; it scales text and leaves flow unchanged. Preserve correctness before choosing a cheaper rendering path.
- Profile blur/filter/clip-path on supported browsers; a fixed pixel cutoff proves nothing.
- Cancel frame loops, observers, and animations on unmount; release temporary layer hints. React Compiler owns memoization; avoid adding memo wrappers as a substitute for diagnosis.
When route loading, bundle cost, or backend work dominates rather than frames, load ux-performance per the dependency-loading contract.
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.

