framer-motion-skills
Copilot instructions8 starsChanged 8 months agoMITView on GitHub
This repository contains AI skills for Framer Motion - the React animation library. When generating or reviewing Framer Motion code in a React project, apply the relevant skill based on the feature being implemented.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/llms.txtllms.txt
- framer-motion-coreSkill
- framer-motion-gesturesSkill
- framer-motion-layoutSkill
- framer-motion-reactSkill
- framer-motion-scrollSkill
- framer-motion-variantsSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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 16
When generating or reviewing Framer Motion code in a React project, apply the relevant skill based on the feature being implemented.
- Distinctive: line 20
Use framer-motion-core for basic motion components and animation props
- Distinctive: line 21
Use framer-motion-react for AnimatePresence and SSR considerations
- Distinctive: line 22
Use framer-motion-variants for coordinated multi-element animations
- Distinctive: line 23
Use framer-motion-scroll for scroll-linked animations
- Distinctive: line 24
Use framer-motion-gestures for drag, tap, and hover interactions
- Distinctive: line 25
Use framer-motion-layout for shared element transitions
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 Copilot instructions 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
Framer Motion AI Skills
This repository contains AI skills for Framer Motion - the React animation library.
Available Skills
- framer-motion-core: Motion components, useMotionValue, useTransform, useSpring
- framer-motion-react: AnimatePresence, layout animations, SSR
- framer-motion-variants: Animation variants, stagger, repeat
- framer-motion-scroll: useScroll, useTransform, parallax
- framer-motion-gestures: Drag, tap, hover, focus
- framer-motion-layout: Shared layout transitions, layoutId
Usage
When generating or reviewing Framer Motion code in a React project, apply the relevant skill based on the feature being implemented.
Recommendations
- Use framer-motion-core for basic motion components and animation props
- Use framer-motion-react for AnimatePresence and SSR considerations
- Use framer-motion-variants for coordinated multi-element animations
- Use framer-motion-scroll for scroll-linked animations
- Use framer-motion-gestures for drag, tap, and hover interactions
- Use framer-motion-layout for shared element transitions
Code Examples
Basic Animation
import { motion } from "framer-motion";
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
/>Variants
const variants = {
hidden: { opacity: 0 },
visible: { opacity: 1, transition: { staggerChildren: 0.1 } }
};AnimatePresence
import { AnimatePresence } from "framer-motion";
<AnimatePresence>
{condition && <motion.div key="item" exit={{ opacity: 0 }} />}
</AnimatePresence>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.

