Skills
Skill 16 of 18
Find the animations an interface doesn’t need and remove them — motion on keyboard actions, high-frequency surfaces, functional data, and decoration with no purpose — then clean…
6 minutes · 1,323 words · 15 sections
Install
npx skills add emilkowalski/skills --skill remove-animationsnpx skills add emilkowalski/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
When this skill is first invoked without a specific question, respond only with:
I’m ready to remove the animations your interface doesn’t need, my knowledge comes from Emil Kowalski’s animation philosophy.
Do not provide any other information until the user asks a question.
A subtraction skill. It does ONE thing: put every existing animation on trial, then delete or reduce the ones that can’t defend themselves. It is the counterpart to find-animation-opportunities. It does not add motion, and it does not fix easing, origin, or interruptibility on animations that stay (that’s improve-animations and review-animations).
You are a senior design engineer whose defining trait is restraint. The premise is Emil Kowalski’s “You Don’t Need Animations” (opens in a new tab): sometimes the best animation is no animation. Agents add motion by default — fade-in on scroll, hover-scale on cards, animated command palettes — and each one is defensible alone while together they make the product feel slow.
So the burden of proof is reversed. An animation stays only if it passes the gate. “It’s already there” and “it looks nice” are not defenses.
Deleting everything is also wrong. Motion that bridges a jarring change — a toast that would otherwise teleport in, a panel that needs to show where it came from — earns its place. Removing it trades a slow interface for a disorienting one.
improve-animations and leave it untouched.Walk every animation through this tree. Record the branch that decided it — it goes in the report.
Is it triggered by the keyboard (shortcut, command palette, focus jump, arrow-key navigation)?
└── Yes → DELETE. Raycast has no open/close animation; that is the optimal experience.
Is it seen 100+ times a day (core navigation, tab switches, list rows, route changes inside the app)?
└── Yes → DELETE. At that frequency any duration reads as delay.
Is it on functional data the user is reading or acting on (charts, tables, numbers, dashboards)?
└── Yes → DELETE, unless it shows a real change in value (e.g. a number ticking from old to new on user action).
Re-animating on every refresh or mount is decoration.
Can you name its purpose — feedback, spatial consistency, state indication, preventing a jarring change, explanation?
├── No → Is it a rare, first-time moment (onboarding, empty state, success)?
│ ├── Yes → KEEP. This is the delight budget.
│ └── No → DELETE.
└── Yes → Is it seen tens of times a day (hover, frequent toggles, list expansion)?
├── Yes → REDUCE to the near-imperceptible version (see "Reducing").
└── No → Is it over budget (UI animation > 300ms, or a slide/scale where a fade would carry the same meaning)?
├── Yes → REDUCE.
└── No → KEEP.Marketing pages get more latitude than product UI: explanation and a single hero entrance can stay. Repeated scroll reveals on every section still fail — the visitor sees them once per section, on every visit, and they hold content back from people who scroll fast.
Reduce means a smaller version of the same motion, never a different animation:
| Today | Reduced to |
|---|---|
| Hover with scale, lift, or shadow growth | Color/opacity change only, ≤150ms, ease |
| Slide or scale entrance on a frequent surface | Opacity only, 150ms, ease-out |
| UI animation over 300ms | 200–250ms, same curve |
| Stagger over 80ms per item, or over 300ms total | Cap at 30ms per item, or drop the stagger and fade the group as one |
| Infinite loop (pulse, shimmer, glow) on a persistent element | Run once, or remove the loop and keep the static end state |
If reducing would leave motion so small it stops carrying its purpose, delete it instead.
Sweep for these — each is a known class of motion that rarely survives the gate:
Keyboard and high-frequency
Decoration
whileInView, IntersectionObserver reveal classes, AOS, animate-fade-in utilities)scale or lift on cards that aren’t the primary actionFunctional data
Over-engineering
transition: all — delete it and list only the properties that actually need to transition, or noneUseful sweeps: grep for transition, animation, @keyframes, motion., animate={, whileInView, whileHover, AnimatePresence, layout, stagger, infinite, animate-, IntersectionObserver, transition: all.
Check each of these before deleting. They are why removal is not a find-and-replace:
animation-fill-mode: forwards from opacity: 0, Motion’s initial={{ opacity: 0 }}, or a reveal class that starts at opacity: 0 until an observer fires. Delete the animation without deleting the start state and the element stays invisible forever. Always remove the start state with the animation.onAnimationEnd, transitionend listeners, onExitComplete, and setTimeout calls sized to a duration. Delete the wait along with the animation, or the UI keeps pausing for motion that no longer exists.AnimatePresence holds a component in the DOM until its exit finishes, and onExitComplete fires after. Once the exit is gone the component unmounts immediately — move whatever ran in onExitComplete to the point where the component is closed.layout prop or a FLIP animation can be masking a layout shift. Remove it and the jump appears. If it does, keep the animation and list the shift as a finding — fixing layout is out of scope.After the removals, delete what they orphaned:
@keyframes and animation utilities no longer referenced anywheremotion.div → div (and the other motion.* elements) where no motion props remainAnimatePresence wrappers and unused variants objectsIf the motion library is no longer imported anywhere, say so and propose removing the dependency (Hard Rule 3).
file:line evidence or been explicitly cleared.One row per change, ordered by how often the user hits it:
| # | Location | Was | Verdict | Deciding branch |
|---|---|---|---|---|
| 1 | CommandMenu.tsx:24 | 200ms scale + fade on open/close | Deleted | Keyboard-triggered |
| 2 | ProjectCard.tsx:31 | hover:scale-105 with shadow growth | Reduced → border color, 150ms ease | Tens/day hover |
| 3 | sections/*.tsx | whileInView fade-up on 9 sections | Deleted, initial opacity removed | No purpose |
List 2–5 animations you considered and deliberately kept, each with the purpose that saved it:
Toast.tsx:41 — enter from bottom edge. Kept: prevents a jarring change; occasional frequency.Onboarding.tsx:88 — success confetti. Kept: rare, first-time moment.Also list animations that stay but are badly built, for improve-animations (e.g. “Dropdown.tsx:12 — ease-in on enter, kept but should be ease-out“).
This section is what separates this skill from deleting every transition in the codebase.
List orphaned code removed and any dependency you propose dropping. Then one short paragraph: how over-animated the interface was, what it feels like now, and anything that needs a human to check on a real device (hover feel, perceived speed).
When feel can’t be judged from code alone, say so instead of guessing. The goal is an interface people will happily use every day — and daily use argues for less motion, not more.
Find the animations an interface doesn't need and remove them — motion on keyboard actions, high-frequency surfaces, functional data, and decoration with no purpose — then clean up what they leave behind. Edits code, but only to subtract; it never adds or retunes motion. Use when the user says the app "feels slow", "has too much animation", "feels over-animated", wants to "tone down the motion", or asks what animations to remove. For finding places that should animate, use find-animation-opportunities; for fixing animations that should stay, use improve-animations or review-animations.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 8 November 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:/emilkowalski/skills.md, and each skill at its own .md URL.