agentleFS
jangles-bytejangles-byte/atelier/skills/motion/SKILL.md

motion

Skill2 starsChanged 4 months agoMITView on GitHub

Build animation that feels alive — and watch it before shipping. Production recipes for interface motion (modals, drawers, toasts, tabs, lists, drag, tickers), view transitions (route changes, shared elements, scroll reveals), and procedural motion (particles, screen shake, hit-stop, springs, ambient fields), plus easing and spring mathematics usable in any language and a diagnostic for motion that "feels dead", "floaty", "janky", or "cheap". Use this skill for ANY animation work: adding or tuning a transition, hover or press state, loading state, page transition, chart animation, game juice, or generative motion. Trigger on "animate", "animation", "transition", "make it feel", "add some life", "microinteraction", "juice", "springy", "smooth", or any easing, duration, or timing decision.

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use defaults, viewports and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • sanmidableSkill

    defaults

    Also in 4 projects that use this

  • sanmidableSkill

    viewports

    Also in 4 projects that use this

  • miovragSkill

    keyboard

    Load this skill for every project containing interactive UI elements — buttons, links, modals, dropdowns, sliders, tabs, carousels, or any custom widget. Under no circumstances create an interactive component that cannot be fully operated by keyboard alone. Absolutely always ensure visible focus indicators, logical tab order, and no keyboard traps. Apply these rules to every interactive element without exception.

    Also in 4 projects that use this

  • baizhine999Skill

    alignment

    拉通对齐会模式。AI 扮演你的 Leader,模拟跨团队对齐会前的准备辅导和会中压力:push 你厘清诉求、预判各方立场、准备让步底线、处理拉锯博弈。触发词:/alignment, 拉通, 对齐会, 跨团队, 要开会了, 他们不配合, 有分歧, 需要协调。AI 是裁判和施压者,你是被考验的那个人。

    Also in 3 projects that use this

  • JasonPaffSkill

    tanstack-table

    Build headless data tables with TanStack Table v8. Server-side pagination, filtering, sorting, and virtualization for Cloudflare Workers + D1. Prevents 12 documented errors.

    Also in 3 projects that use this

  • corygabrielsenSkill

    gather

    Push context-gathering into the background. Read what comes back; pull on anything worth a closer look.

    Also in 3 projects that use this

  • +4 more from sanmidable

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No linear easing on anything an eye follows.

    line 56
  2. Distinctive:

    Every entrance has an exit, and every animation survives being interrupted mid-flight.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Motion

Motion is communication. Every animation answers one of three questions — what just happened? (feedback), where did it go? (orientation), or is this alive? (character). Animation that answers none of them is decoration on a delay; delete it rather than tune it.

The rule that makes this skill different from reading about animation: you cannot judge motion from source code, and you cannot judge it from a still. Run it, capture it, watch it. There is a script here that does exactly that.

Workflow

  1. Name the question. Feedback, orientation, or character — and what the motion temperament is (snappy or viscous, calm or nervous). One line is enough. If the project has a design philosophy from design-direction, take the temperament from there.
  2. Start from a recipe, not from scratch. Find the pattern in the recipe files below; they carry tuned values, per-stack code, reduced-motion variants, and the failure mode for each. Adapt the values to your temperament rather than inventing timings.
  3. Implement with curves and springs from references/easing-and-springs.md.
  4. Watch it. Capture the running animation and look at the result:
    ./scripts/capture-motion.py index.html --out motion.gif \
        --trigger "document.querySelector('#open').click()" --duration 1200
    It records real composited frames over the DevTools protocol, so it works for CSS, Web Animations, GSAP/Framer, canvas, and WebGL alike. For native or engine work, use the platform's own capture (simulator recording, engine profiler playback).
  5. Diagnose if it underwhelms — work references/dead-motion-diagnostic.md in order before touching values, then re-capture. The first render of a fix is a hypothesis.
  6. Check the frame cost with the performance-craft skill, and confirm the reduced-motion path is complete and calm — not merely disabled.

Which reference to load

SituationLoad
Modal, drawer, dropdown, toast, accordion, tabs, list reorder, drag, ticker, hover/pressreferences/recipes-interface.md
Route/page transitions, shared elements, scroll reveals, parallax, skeletons, progressreferences/recipes-transitions.md
Particles, screen shake, hit-stop, springs in a game loop, ambient/generative fieldsreferences/recipes-procedural.md
Choosing a curve, spring tuning, staggers, interruptionreferences/easing-and-springs.md
The 12 principles, duration standards, game feel, accessibility floorreferences/principles.md
It exists but feels dead / floaty / cheap / jankyreferences/dead-motion-diagnostic.md

Non-negotiables

  • Nothing moves without a reason. Name the question it answers or cut it.
  • Durations from the weight scale: micro 100–150ms, small 150–250, medium 250–400, large 400–600. Exits ~20% faster than entrances. Nothing over 700ms without a reason.
  • No linear easing on anything an eye follows. Enter fast-and-decelerate, exit accelerate-and-gone. Linear is honest only for machine progress (determinate bars).
  • Animate compositor-friendly properties (transform, opacity, and platform equivalents). Layout properties — top, height, width, margin — get FLIPped, not animated.
  • Every entrance has an exit, and every animation survives being interrupted mid-flight.
  • Delta-time everywhere; never assume 60fps. ProMotion and 144Hz displays are common.
  • prefers-reduced-motion (and platform equivalents) is part of done, not a follow-up: keep opacity and colour feedback, drop travel, scale, parallax, shake, and ambient.
  • Scarcity is what makes the good animation land. One excellent motion beats six mediocre ones, and a still page with one great transition beats a page that breathes everywhere.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.