Comprehensive performance optimization guide for Framer Motion animations in React applications. Contains 42 rules across 9 categories, prioritized by impact to guide automated refactoring and code generation.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionframer-motionExecute the skills CLI command in your project's root directory to begin installation:
Fetches framer-motion from pproenca/dot-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate framer-motion. Access via /framer-motion in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
119
total installs
119
this week
95
GitHub stars
0
upvotes
Run in your terminal
119
installs
119
this week
95
stars
Comprehensive performance optimization guide for Framer Motion animations in React applications. Contains 42 rules across 9 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Bundle Optimization | CRITICAL | bundle- |
| 2 | Re-render Prevention | CRITICAL | rerender- |
| 3 | Animation Properties | HIGH | anim- |
| 4 | Layout Animations | HIGH | layout- |
| 5 | Scroll Animations | MEDIUM-HIGH | scroll- |
| 6 | Gesture Optimization | MEDIUM | gesture- |
| 7 | Spring & Physics | MEDIUM | spring- |
| 8 | SVG & Path Animations | LOW-MEDIUM | svg- |
| 9 | Exit Animations | LOW | exit- |
bundle-lazy-motion - Use LazyMotion and m component instead of motionbundle-dynamic-features - Dynamically import motion featuresbundle-dom-animation - Use domAnimation for basic animationsbundle-use-animate-mini - Use mini useAnimate for simple casesbundle-strict-mode - Enable strict mode to catch accidental importsrerender-motion-value - Use useMotionValue instead of useStatererender-use-transform - Derive values with useTransformrerender-stable-callbacks - Keep animation callbacks stablererender-variants-object - Define variants outside componentrerender-animate-prop - Use stable animate valuesrerender-motion-value-event - Use motion value eventsanim-transform-properties - Animate transform propertiesanim-opacity-filter - Prefer opacity and filter for visual effectsanim-hardware-acceleration - Leverage hardware accelerationanim-will-change - Use willChange prop judiciouslyanim-independent-transforms - Animate transforms independentlyanim-keyframes-array - Use keyframe arrays for sequenceslayout-dependency - Use layoutDependency to limit measurementslayout-position-size - Use layout="position" or "size" appropriatelylayout-group - Group related layout animationslayout-id-shared - Use layoutId for shared element transitionslayout-scroll - Add layoutScroll to scrollable ancestorsscroll-use-scroll - Use useScroll hook for scroll-linked animationsscroll-use-spring-smooth - Smooth scroll animations with useSpringscroll-element-tracking - Track specific elements entering viewportscroll-offset-configuration - Configure scroll offsetsscroll-container-ref - Track scroll within specific containersgesture-while-props - Use whileHover/whileTap instead of handlersgesture-variants-flow - Let gesture variants flow to childrengesture-drag-constraints - Use dragConstraints ref for boundariesgesture-drag-elastic - Configure dragElastic for natural feelgesture-tap-cancel - Use onTapCancel for interrupted gesturesspring-physics-based - Use physics-based springs for interruptibilityspring-damping-ratio - Configure damping to control oscillationspring-mass-inertia - Adjust mass for heavier/lighter feelspring-use-spring-hook - Use useSpring for reactive valuessvg-path-length - Use pathLength for line drawing animationssvg-motion-components - Use motion.path and motion.circlesvg-viewbox-animation - Animate viewBox for zoom effectssvg-morph-matching-points - Match point counts for morphingexit-animate-presence - Wrap conditional renders with AnimatePresenceexit-unique-keys - Provide unique keys for AnimatePresence childrenexit-mode-wait - Use mode="wait" for sequential transitionsRead individual reference files for detailed explanations and code examples:
| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
pproenca/dot-skills
kylezantos/design-motion-principles
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
framer-motion has been reliable in day-to-day use. Documentation quality is above average for community skills.
Keeps context tight: framer-motion is the kind of skill you can hand to a new teammate without a long onboarding doc.
I recommend framer-motion for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
framer-motion fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added framer-motion from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Keeps context tight: framer-motion is the kind of skill you can hand to a new teammate without a long onboarding doc.
Useful defaults in framer-motion — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
framer-motion has been reliable in day-to-day use. Documentation quality is above average for community skills.
I recommend framer-motion for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
I recommend framer-motion for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 72