pproenca avatar

Framer Motion

This is a comprehensive performance optimization guide for Framer Motion with 42 rules across 9 categories, from bundle size reduction to animation property selection. It prioritizes the highest impact optimizations first: bundle splitting with LazyMotion and preventing re-renders with useMotionValue and useTransform. You'd reach for this when adding animations to a React app, optimizing layout transitions, or building scroll-linked effects. The categorization by priority (critical, high, medium) is genuinely useful because it tells you what actually matters versus what's nice to have. Each rule links to detailed examples, so it's built for reference during code reviews or refactoring sessions, not just reading once and forgetting.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
6
skills.sh installs
1.2K
GitHub stars
222
last updated
Aug 21, 2026

Install

$ npx -y skills add pproenca/dot-skills --skill framer-motion --agent claude-code

Installs into .claude/skills of the current project.

Files

Community Framer Motion Best Practices

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.

When to Apply

Reference these guidelines when:

  • Adding animations to React components with Framer Motion
  • Optimizing bundle size for animation-heavy applications
  • Preventing unnecessary re-renders during animations
  • Implementing layout transitions or shared element animations
  • Building scroll-linked or gesture-based interactions

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Bundle OptimizationCRITICALbundle-
2Re-render PreventionCRITICALrerender-
3Animation PropertiesHIGHanim-
4Layout AnimationsHIGHlayout-
5Scroll AnimationsMEDIUM-HIGHscroll-
6Gesture OptimizationMEDIUMgesture-
7Spring & PhysicsMEDIUMspring-
8SVG & Path AnimationsLOW-MEDIUMsvg-
9Exit AnimationsLOWexit-

Quick Reference

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend Development, Documentation, Code Review & Quality, Debugging, Design & UI/UX
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1hairyf avatarmotionhairyf/skillsMotion animation library for JavaScript, React and Vue. Use when creating animations, gestures, layout transitions, scroll-linked effects, or working with motio1.2Kskills.sh installs
2capawesome-team avatarionic-app-upgradescapawesome-team/skillsGuides the agent through upgrading an Ionic Framework app to a newer major version. Supports upgrades from Ionic 4 through 8, including multi-version jumps. Cov1.2Kskills.sh installs
3next-safe-action avatarsafe-action-testingnext-safe-action/skillsUse when writing tests for next-safe-action actions or hooks -- Vitest patterns for testing server actions directly, middleware behavior, hooks with React Testi1.2Kskills.sh installs
4jezweb avatardesign-systemjezweb/claude-skillsExtract a complete design system from an existing website or screenshot into a DESIGN.md file. Analyses colours, typography, component styles, spacing, and atmo1.1Kskills.sh installs
5ailabs-393 avatardocker-containerizationailabs-393/ai-labs-claude-skillsThis skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various 1.1Kskills.sh installs
6inference-sh avatarsocial-media-carouselinference-sh/skillsMulti-slide carousel design for Instagram, LinkedIn, and Twitter/X with layout rules and hooks. Covers slide structure, text hierarchy, swipe psychology, and pl1.1Kskills.sh installs