Loading...
Loading...
Adds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.
npx skill4agent add tristanmanchester/agent-skills nextjs-framer-motion-animationsframer-motionlayoutlayoutIdmotionframer-motionMotionConfig reducedMotion="user"useReducedMotion()app/pages/motionframer-motionapp/layout.tsxapp/template.tsxpages/_app.tsxnode scripts/audit-nextjs-motion.mjs --root /path/to/repo
node scripts/inspect-motion-target.mjs path/to/target-file.tsx --root /path/to/repo
node scripts/plan-motion-change.mjs --root /path/to/repo --target path/to/target-file.tsx --task "user request"node scripts/check-motion-antipatterns.mjs --root /path/to/repomotionmotion/reactframer-motionmotion/react-clientreferences/MIGRATION.mdreferences/DECISION_TREE.mdmotion.*m.*LazyMotionstaggerAnimatePresencelayoutlayoutIdLayoutGroupwhileInViewuseScrolluseAnimatemotion.create()references/EXPERT_PLAYBOOK.mdreferences/DECISION_TREE.mdmotion/react-clientAnimatePresencetemplate.tsxreferences/APP_ROUTER.mdAnimatePresencepages/_app.tsxrouter.asPathrouter.route_app.tsxreferences/PAGES_ROUTER.mdlayoutreferences/EXPERT_PLAYBOOK.mdreferences/PERFORMANCE.mdnpm run lint
npm run buildnode scripts/check-motion-antipatterns.mjs --root /path/to/reporeferences/CHECKLIST.mdreferences/EVALUATION.mdnode scripts/run-evaluation-pack.mjstopleftmLazyMotiondomAnimationdomMaxAnimatePresence initial={false}AnimatePresence mode="wait"layoutlayoutlayout="position"viewport.rootuseInViewnext/imagemotion.create()scripts/audit-nextjs-motion.mjsscripts/inspect-motion-target.mjsscripts/plan-motion-change.mjsscripts/check-motion-antipatterns.mjsscripts/run-evaluation-pack.mjsscripts/scaffold-motion-primitives.mjsassets/framer-motionreferences/EXPERT_PLAYBOOK.mdreferences/DECISION_TREE.mdreferences/APP_ROUTER.mdtemplate.tsxreferences/PAGES_ROUTER.md_app.tsxreferences/RECIPES.mdreferences/PERFORMANCE.mdreferences/ACCESSIBILITY.mdreferences/MIGRATION.mdframer-motionmotionreferences/TROUBLESHOOTING.mdreferences/CHECKLIST.mdreferences/EVALUATION.mdlayoutlayoutIdLayoutGroupReorder.GroupReorder.Itemreferences/MIGRATION.md