Agent skill

Interaction Physics Skill: Motion Spec and Timing Rules

Interaction physics is an agent skill that audits UI motion, writes an animation spec with duration and easing tokens, then implements hover, press and transition feedback in working CSS.

Install
git clone https://github.com/sanky369/vibe-building-skills.git
View on GitHub

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

What is the interaction physics skill?

Interaction physics is a skill in the vibe-building-skills library by Sanket Dongre. It makes an AI coding agent inspect existing motion, write a project animation spec with duration and easing tokens, implement feedback in CSS or your motion library, and add reduced-motion support.

It is one of 13 frontend design skills in the vibe-building-skills repo. Its prime directive is that every animation must confirm an action, guide attention or explain a state change. Motion that does none of these gets deleted.

The skill delivers two things together: a written animation spec for the whole project, and the implemented transitions for the flows you named. The spec keeps future motion consistent after the audit is over.

What changes in your agent's output

  • Scattered hover durations such as 150, 200, 250 and 300ms collapse into three or four named tokens like fast, base and slow.
  • Entering elements ease out, exiting elements ease in, and exits run at roughly 75 percent of the enter time.
  • Only transform and opacity are animated, with shadow motion faked by crossfading a pseudo-element.
  • A prefers-reduced-motion block ships in the same change, and every hover effect gets a focus-visible twin.
  • Modals, toasts and form errors that used to pop in get a transition.

Who the interaction physics skill is for

Best for

  • Apps that feel janky, flat or inconsistent and need a single timing vocabulary.
  • Teams who want an animation audit with fixes listed per file.
  • Projects that already use a motion library, since the skill implements with what you have.
  • Reviews that must cover reduced motion and flash rate.

Not for

  • Choosing which loading indicator to show. The skill hands that to the loading-states skill and only animates the result.
  • Layout thrashing or frame budget work, which it hands to design-engineer-mindset.
  • Scroll-driven showpieces, since the hard rules forbid scroll-hijacking.

Where it fits next to other motion skills

If you want a lookup of easing and stagger rules, Animation Principles covers that ground. For a token-first view see Motion System, and for dropped frames see Animation Performance.

Use it with UiChemy

Interaction physics tunes motion in your front-end code. If you build with AI and need the result as an editable WordPress page, UiChemy AI to WordPress imports an AI build. Click Get Started on uichemy.com.