motion
Skill1 starsChanged 3 months agoMITView on GitHub
Build, review, debug, migrate, or plan UI animation with Motion for React (motion/react, motion@13). Use for React/Next/Vite: motion.div, AnimatePresence, variants, gestures, drag, layout/layoutId, LazyMotion, useScroll, useAnimate, MotionValues, animateView, arc(), Reorder grids, reducedMotion, framer-motion→motion, Motion 13 isValidProp, CSS/WAAPI/View Transitions, microinteractions, page transitions, accessibility, and performance-safe animation. Do not use for Vue, vanilla-only Motion, React Native, or non-interactive film/video unless adapting it to product UI.
45 other projects use a version of this.
Adopted by
Most recently taken up by
- johnjoners/skillstheir own version, first seen Nov 29, 2026
- officialunofficial/skillstheir own version, first seen Nov 29, 2026
- marcioaltoe/skillstheir own version, first seen Nov 29, 2026
- Thoven-CORP/agent-skillstheir own version, first seen Nov 29, 2026
- alexcollins/skillstheir own version, first seen Nov 29, 2026
- theexperiencecompany/gaiatheir own version, first seen Nov 26, 2026
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.
sanmidableSkilldefaults
Also in 4 projects that use this
sanmidableSkillviewports
Also in 4 projects that use this
miovragSkillkeyboard
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
soilmassSkillcolor
Color animations including hue shifts, saturation changes, brightness transitions, and contrast adjustments. Use when implementing color morphing, theme transitions, mood effects, or attention-grabbing color pulses. Provides tokens for all color property animations.
Also in 4 projects that use this
baizhine999Skillalignment
拉通对齐会模式。AI 扮演你的 Leader,模拟跨团队对齐会前的准备辅导和会中压力:push 你厘清诉求、预判各方立场、准备让步底线、处理拉锯博弈。触发词:/alignment, 拉通, 对齐会, 跨团队, 要开会了, 他们不配合, 有分歧, 需要协调。AI 是裁判和施压者,你是被考验的那个人。
Also in 3 projects that use this
corygabrielsenSkillgather
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
Other versions45 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 45
- theexperiencecompany/gaia★ 336same name
- Mindrally/skills★ 275same name
- raphaelsalaja/skills★ 72same name
- podo/design-agent-skills★ 39same name
- JustCarlos30/skills-videos-cortos★ 35same name
- muzimu217/ui-design-agent-kit★ 23same name
- icons8/agent-skills★ 14same name
- imMamdouhaboammar/linkedin-animated-infographics★ 14same name
- lalulali/vespyr★ 11same name
- sukirman1901/frontend-expert★ 9same name
35 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill for Motion for React (motion / formerly Framer Motion) and for product motion design (purpose, tokens, a11y, performance).
- Distinctive: line 16
Before proposing or coding animation, answer:
- Very specific: line 26
If it fails, remove it or simplify.
- Very specific: line 46
Prefer transform / opacity.
- Very specific: line 48
Prefer delayChildren: stagger(...) over legacy staggerChildren for new code.
“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.
Files
Motion
Use this skill for Motion for React (motion / formerly Framer Motion) and for product motion design (purpose, tokens, a11y, performance). Prefer current motion.dev React docs over memory — pin narrative to motion@13.x (latest line 13.1.0).
Scope: React and React-based frameworks only (Next.js, Vite+React, Remix, etc.). Do not implement Motion for Vue, vanilla-only pages, or React Native.
Motion is not required for every hover. Keep general design gates; implement with Motion when the project already uses it or needs enter/exit, layout, gestures, or scroll-linked motion beyond CSS.
Core Rule (always)
Before proposing or coding animation, answer:
- What changed in the interface?
- Why did it change?
- Where did the changed thing come from, and where is it going?
- What should the user notice next?
- Can the user keep working without waiting for decoration?
- What is the reduced-motion equivalent?
- Will this animate on the compositor, or does it trigger layout or paint?
If it fails, remove it or simplify. Then choose the smallest tool: CSS → motion/react-mini / LazyMotion → full motion/react → animateView (View Transitions) only when a screenshot-style morph fits.
Workflow
- Confirm React surface:
motion/reactormotion/react-client(Next App Router). Preferbun add motion. Do not generateframer-motion,motion-v, or vanilla CDN Motion for new React UI. - Refresh versions, entry points, and doc URLs from source-map.md. Target 13.x. On 13.0+, Emotion/Styled Components need explicit
isValidPropor reversed composition — packages-react.md. - Apply product motion judgment from foundations.md (purpose, tokens, duration/easing).
- For declarative APIs (
motion.*, variants, transitions,arc(), gestures,AnimatePresence, SVG), use setup-react-core.md. - For MotionValues,
useAnimate, scroll, layout/layoutId, Reorder, and related hooks, use values-scroll-layout.md. - For View Transitions via
animateView(MIT, from"motion") vs Motion+AnimateView, use view-animations.md. - For Next/RSC, Mini, LazyMotion sizing, migration, and Motion+, use packages-react.md.
- For LazyMotion recipes,
MotionConfig, reduced motion, performance, testing, and AI traps, use production-a11y.md. - For CSS / WAAPI / FLIP / View Transitions / scroll-driven CSS (when not using Motion), use web-implementation.md.
- For UI pattern recipes, use component-recipes.md.
- For audits, handoff, and QA, use deliverables-qa.md. Also load accessibility.md and performance.md when those are the focus.
Implementation Judgment
- Canonical import:
import { motion, AnimatePresence } from "motion/react". Next App Router:import * as motion from "motion/react-client"or"use client". - Root
<MotionConfig reducedMotion="user">— library default is"never"(OS preference ignored until you opt in). - Prefer transform / opacity; use
layout/layoutIdfor size/position morphs (notanimatewidth/height). Axis-lock withlayout="x"/layout="y"/layout="position"when needed. AnimatePresenceoutside the conditional; stablekeys;mode="wait"is single-child only.- Prefer
delayChildren: stagger(...)over legacystaggerChildrenfor new code. - Curved travel:
transition={{ path: arc() }}ortransition.layout.path— not minianimate(). - Custom components:
motion.create(Component)once (never inside render); forward refs. Motion 13: do not assume Emotion prop filtering unlessMotionConfig isValidProp={isPropValid}. - High-frequency scroll/drag: MotionValues +
style, notuseStateevery frame. - Bundle:
LazyMotion+mfrommotion/react-m;domAnimationvsdomMax(layout/drag). - Mini (
motion/react-mini) cannot use independent transforms likex/y— use fulluseAnimateor CSStransform. animateViewis in coremotion(not Motion+). React componentAnimateViewis still paid. Do not assume Motion+ /motion-plusin OSS.- Reorder: omit
axisunless overriding;"xy"for grids; RTL is supported.
Verification
- Imports from
motion/react(ormotion/react-client/react-m/react-mini), notframer-motion/motion-v. - Reduced-motion path exercised (
MotionConfigand/oruseReducedMotion). - Exit animations: presence wrapping + keys; interrupt/
transitionsensible for task speed. - Layout: non-static parent for
popLayout;layoutScroll/layoutRootwhen needed. - Tests:
transition={{ duration: 0 }}orfalse; awaitframe.postRenderbefore style asserts when needed. - Bundle check if adding full
motionvs LazyMotion/mini. - CSS-in-JS after 13.0: no leaked style props on the DOM (or
isValidProp/ reverse composition).
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.

