本文へスキップ
Kitbay
スキル

animate

MIT2026年11月9日 更新55,996GitHubスター

A skill from Emil Kowalski's collection for adding motion to web interfaces, based on his approach to animation.

スキルの内容

A skill from Emil Kowalski's collection for adding motion to web interfaces, based on his approach to animation. Before writing code the agent works through a set order of questions: whether the action should animate at all given how often people trigger it, what the motion is for, the cheapest tool that fits (CSS transitions or animations, the Web Animations API or the Motion library), which properties to animate (preferably only transform and opacity), easing and duration (under 300 ms for most interface motion), how the animation can be interrupted, and how things exit. It also covers reduced motion and hover-only devices, and keeps component recipes in a separate file.

できること

  • Decide whether an interaction should animate
  • Choose between CSS, the Web Animations API and Motion
  • Set easing, duration and spring values
  • Handle interruption, exits and reduced motion