Agent skill

Design Motion Principles Skill: Build and Audit UI Motion

The design-motion-principles skill has an AI coding agent either build animated components or audit existing motion, weighting three designer lenses by project type instead of applying one rulebook.

Install
git clone https://github.com/kylezantos/design-motion-principles.git
View on GitHub

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

What is the design-motion-principles skill?

The design-motion-principles skill is a motion and interaction design skill from kylezantos with two modes. Create builds components with purposeful motion, and Audit reviews existing animation and reports findings. Both weight three lenses, Emil Kowalski, Jakub Krehel and Jhey Tompkins, by project context, and both require reduced-motion handling.

Three questions drive this skill. Emil asks whether something should animate at all, Jakub asks whether it is subtle enough for production, and Jhey asks what it could become. The skill picks which voice leads for your project.

It is built from the published work of Emil Kowalski, Jakub Krehel and Jhey Tompkins. The three-lens framing is the skill's own synthesis, and the designers have not authored or endorsed it.

Two modes: create and audit

  • Create mode runs a light discovery, then writes components in React, Framer Motion, CSS or HTML using recipes from a motion cookbook.
  • Audit mode scans your project, looks for UI that should animate but does not, and checks code against an anti-slop checklist.
  • The agent picks the mode from your wording: build, add animation or implement means Create, while audit, review or feedback means Audit.
  • Ambiguous requests get a question about which mode you want.

What changes in your agent's output

  • Animation frequency is checked first. Rare interactions can be expressive, daily ones subtle, and keyboard-initiated actions are never animated.
  • Durations depend on context: under 300ms for productivity UI, 200 to 500ms for production polish, and whatever serves the effect for playful work.
  • Every animation handles prefers-reduced-motion, in both modes.
  • Audit results arrive as a branded HTML report with looping demos beside Critical and Important findings, or as terminal markdown with a flag.

Who the design-motion-principles skill is for

Best for

  • Adding enter and exit motion to modals and toasts in React, Framer Motion, CSS or HTML.
  • Reviewing a codebase for generic motion habits such as hover-scale on everything and stagger spam.
  • Teams whose product type changes the right answer, such as a SaaS dashboard versus a kids app.

Not for

  • Game engines, Lottie, Rive or video. The frequency rule carries over, but the designer techniques may not.
  • A single fixed house style. The skill deliberately weights lenses that disagree.
  • Dedicated performance fixes for dropped frames. Use fixing-motion-performance for that.

Use it with UiChemy

The skill writes and reviews motion code. When the page you animate lives in WordPress, UiChemy Composer can edit the result as real HTML, CSS and JS inside Elementor or Gutenberg. Click Get Started on uichemy.com. See also improve-animations.