Agent skill

Fixing Motion Performance Skill

A skill that stops your coding agent from writing janky animation, with rules for compositor properties, layout thrashing, scroll-linked motion, blur and will-change.

Install
git clone https://github.com/ibelick/ui-skills.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the fixing-motion-performance skill?

The fixing-motion-performance skill is a SKILL.md from the ibelick/ui-skills repo. It tells your coding agent to animate transform and opacity by default, batch layout reads before writes, avoid scroll-event animation and keep blur small. Run it on a file and it reports each violation with a concrete fix.

fixing-motion-performance is an agent skill from the ibelick/ui-skills repo. Its SKILL.md gives a coding agent a ranked rule set for animation work, aimed at stutter, jank and layout thrashing in CSS, WAAPI, Motion, requestAnimationFrame and GSAP code.

The rules start from how the browser renders a frame. Composite work (transform, opacity) is cheap, paint work (color, borders, gradients, masks, images, filters) costs more and layout work (size, position, flow, grid, flex) costs the most.

What changes in your agent's output

  • transform and opacity become the default for movement, instead of width, left or top
  • Layout reads are batched before writes, and measurement happens once
  • Scroll-linked motion uses scroll or view timelines or IntersectionObserver, not scroll events
  • will-change appears briefly and on purpose, not across a whole stylesheet
  • Blur animation stays at 8px or less and runs once, never on a loop

Run /fixing-motion-performance to apply the rules to all UI animation work in the conversation, or /fixing-motion-performance <file> to review one file. Fixes stay inside your existing animation library.

Who it is for

Best for

  • Animations that stutter or transitions that jank
  • Scroll-linked effects and reveal-on-scroll sections
  • Components that animate layout, filters, masks, gradients or CSS variables
  • Reviewing AI-generated animation code before it ships

Not for

  • Swapping animation libraries. The skill forbids migrating or partially rewriting an API unless you ask
  • Profiling a live page. It reviews code, and it tells the agent to validate layer behavior with tooling when performance matters
  • Deciding what to animate. It governs how, not whether

Use it with UiChemy

UiChemy Composer writes real HTML, CSS and JS inside Elementor or Gutenberg, so any animation it produces is ordinary code this skill can review. Run it on the CSS and scripts before you publish. Pair it with the fixing-accessibility skill and the Impeccable polish skill before launch.