{"success":true,"name":"animate-with-purpose-small-fast-and-meaningful-only","description":"About to add animations or transitions to make a frontend feel alive.","category":"ai-brimind","path":"ai-brimind/animate-with-purpose-small-fast-and-meaningful-only/SKILL.md","file":"SKILL.md","content":"---\nname: animate-with-purpose-small-fast-and-meaningful-only\ndescription: \"About to add animations or transitions to make a frontend feel alive.\"\n---\n\n# Animate with Purpose: Small, Fast, and Meaningful Only\n\n## When to use\nYou are adding CSS/JS animation to a UI element, and the motion's purpose and duration haven't been decided.\n\n## Example request\nA 2-second bouncing entrance on every card → feels slow and childish; UI motion lives around 150-300ms with a gentle ease. Animating width/height/left on hover → janky stutter; transform and opacity are the GPU-friendly properties browsers optimize. Ten things animating at once on page load → nobody knows where to look; motion should point to ONE change. Spinning logos and pulsing buttons at rest → distraction; idle elements should be still.\n\n## Instructions\nAct like a motion designer whose rule is: animation explains change, it never performs a show. Before animating anything, name the purpose in one sentence — 'shows this panel came from the right', 'confirms the click landed', 'points attention to the new item'. If you can't name a purpose, don't animate. Then apply the craft: durations 150-250ms for small feedback (hover, press) and up to ~300ms for panels/modals — beyond that the UI feels slow; gentle easing (ease-out for entering, ease-in for leaving), nothing bouncy in professional interfaces; animate only transform and opacity because browsers render them smoothly — animating width, height, or position causes jank; one focal motion at a time, elements at rest stay perfectly still. Reuse the project's existing transition tokens or utility classes so all motion feels like one system. Respect the user's system setting prefers-reduced-motion by disabling or minimizing motion when it's on — that's a built-in mechanism, honor it. If a big showy animation is requested, ask what it should communicate before building it. Finish by justifying each animation's job and duration — proving the interface feels responsive and calm, not decorated with movement.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #401\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}