agentleFS
vmobifystudiovmobifystudio/app-dev-team/skills/interaction-motion/SKILL.md

interaction-motion

Skill4 starsChanged 4 months agoMITView on GitHub

Use when specifying or reviewing motion and interaction feel — transitions, gestures, feedback timing, loading and progress. Invoked by product-designer while composing screens and by any IC implementing an animated surface. Triggers whenever something moves, and whenever something takes long enough that the user must be told.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Do not invent a duration. Use the token, and use the shortest one that reads:

    line 13

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Interaction and motion

Motion has one job: tell the user what just happened and where they are now. Motion that decorates costs battery, costs frames, and costs the users who cannot tolerate it.

The durations

Do not invent a duration. Use the token, and use the shortest one that reads:

TokenUse
fast 150ms ease-outstate feedback — press, toggle, ripple, checkbox
base 250ms ease-in-outelement enters or leaves within a screen
slow 400msfull-screen transition, only when it carries spatial meaning

Anything longer than 400ms is not motion, it is a wait — and a wait needs progress, not an animation.

Feedback timing

ElapsedThe interface owes the user
< 100msnothing — it feels instant
100ms–1simmediate visual acknowledgement that the input landed
1s–10sa determinate progress indicator if progress is knowable, an indeterminate one if not
> 10sthe ability to leave and come back, and a way to cancel

A spinner with no cancel on a long operation is a trap; that is a reliability finding as much as a design one.

The rules

  • Motion must be interruptible. A user tapping during an animation is answered immediately, not after it finishes.
  • Position must be preserved. An element that moves animates from where it was; an element that is replaced cross-fades. Getting this backwards is what makes an interface feel arbitrary.
  • Respect reduce-motion. UIAccessibility.isReduceMotionEnabled / Settings.Global.ANIMATOR_DURATION_SCALE / prefers-reduced-motion. The reduced path replaces movement with a cross-fade or an instant change — it never removes the feedback itself, which would leave those users with no indication anything happened.
  • Nothing animates on first paint except what the user's own action caused.
  • No animation loops indefinitely except a genuine indeterminate progress indicator.

Output

One ## Motion section in docs/14-components.md: per component, what animates, which token, and what the reduced-motion path is. A component with no reduced-motion line is not specified.

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.