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.
In this repository31 other files it gives its agents.
- accessibility-gateSkill
- agent-isolationSkill
- architecture-builderSkill
- board-doctorSkill
- brownfield-onboardingSkill
- business-modelSkill
- content-designSkill
- context-preflightSkill
- database-migrationSkill
- defect-huntingSkill
- dependency-policySkill
- design-systemSkill
- git-pr-strategySkill
- growth-analysisSkill
- house-conventionsSkill
- ic-workflowSkill
- intent-traceSkill
- localisationSkill
- mutation-testingSkill
- parallel-orchestratorSkill
- performance-reviewSkill
- policy-checkerSkill
- prd-builderSkill
- process-tieringSkill
- requirements-intakeSkill
- role-activationSkill
- runtime-gateSkill
- spec-criticSkill
- sprint-plannerSkill
- support-miningSkill
- team-protocolSkill
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
- Distinctive: line 13
Do not invent a duration. Use the token, and use the shortest one that reads:
≈ “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.
Files
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:
| Token | Use |
fast 150ms ease-out | state feedback — press, toggle, ripple, checkbox |
base 250ms ease-in-out | element enters or leaves within a screen |
slow 400ms | full-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
| Elapsed | The interface owes the user |
| < 100ms | nothing — it feels instant |
| 100ms–1s | immediate visual acknowledgement that the input landed |
| 1s–10s | a determinate progress indicator if progress is knowable, an indeterminate one if not |
| > 10s | the 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.
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
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.

