[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JYY872K62E1K97ATNDAAA3":3,"skill-same:01M6JYY872K62E1K97ATNDAAA3":116},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6JYY872K62E1K97ATNDAAA3","motion-framer",null,"AnastasiyaW\u002Fcodex-claude-code-config","AnastasiyaW","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F92753226?v=4","01M6JYPD9X5RRF8G7AH91NYD3R","Anastasiia Butova","01M6JYPDFBGM5EV8G8BABQ3GDY",214,"MIT","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002FSKILL.md",[],[19,20,21],"motion","motion framer","framer","2026-11-10 10:12:30",false,"---\nname: motion-framer\ndescription: Use when implementing Motion or Framer Motion in React\u002FJavaScript: interactive UI components, micro-interactions, gestures, layout or page transitions, and scroll-based animation. Do not use for static styling, backend\u002FAPI work, or animation in another runtime unless Motion\u002FFramer Motion is an explicit dependency.\n---\n\n# Motion & Framer Motion\n\n## Overview\n\nMotion (formerly Framer Motion) is a production-ready animation library for React and JavaScript that enables declarative, performant animations with minimal code. It provides `motion` components that wrap HTML elements with animation superpowers, supports gesture recognition (hover, tap, drag, focus), and includes advanced features like layout animations, exit animations, and spring physics.\n\n**When to use this skill:**\n- Building interactive UI components (buttons, cards, menus)\n- Creating micro-interactions and hover effects\n- Implementing page transitions and route animations\n- Adding scroll-based animations and parallax effects\n- Animating layout changes (resizing, reordering, shared element transitions)\n- Drag-and-drop interfaces\n- Complex animation sequences and state-based animations\n- Replacing CSS transitions with more powerful, controllable animations\n\n**Technology:**\n- **Motion** (v11+) - The modern, smaller library from Framer Motion creators\n- **Framer Motion** - The full-featured predecessor (still widely used)\n- React 18+ compatible, also supports Vue\n- Supports TypeScript\n- Works with Next.js, Vite, Remix, and all modern React frameworks\n\n## Core Concepts\n\n### 1. Motion Components\n\nConvert any HTML\u002FSVG element into an animatable component by prefixing with `motion.`:\n\n```jsx\nimport { motion } from \"framer-motion\"\n\n\u002F\u002F Regular HTML becomes motion component\n\u003Cmotion.div \u002F>\n\u003Cmotion.button \u002F>\n\u003Cmotion.svg \u002F>\n\u003Cmotion.path \u002F>\n```\n\nEvery motion component accepts animation props like `animate`, `initial`, `transition`, and gesture props like `whileHover`, `whileTap`, etc.\n\n### 2. Animate Prop\n\nThe `animate` prop defines the target animation state. When values change, Motion automatically animates to them:\n\n```jsx\n\u002F\u002F Simple animation - x position changes\n\u003Cmotion.div animate={{ x: 100 }} \u002F>\n\n\u002F\u002F Multiple properties\n\u003Cmotion.div animate={{ x: 100, opacity: 1, scale: 1.2 }} \u002F>\n\n\u002F\u002F Animates when state changes\nconst [isOpen, setIsOpen] = useState(false)\n\u003Cmotion.div animate={{ width: isOpen ? 300 : 100 }} \u002F>\n```\n\n### 3. Initial State\n\nSet the initial state before animation using the `initial` prop:\n\n```jsx\n\u003Cmotion.div\n  initial={{ opacity: 0, y: 50 }}\n  animate={{ opacity: 1, y: 0 }}\n\u002F>\n```\n\nSet `initial={false}` to disable initial animations on mount.\n\n### 4. Transitions\n\nControl how animations move between states using the `transition` prop:\n\n```jsx\n\u002F\u002F Duration-based\n\u003Cmotion.div\n  animate={{ x: 100 }}\n  transition={{ duration: 0.5, ease: \"easeInOut\" }}\n\u002F>\n\n\u002F\u002F Spring physics\n\u003Cmotion.div\n  animate={{ scale: 1.2 }}\n  transition={{ type: \"spring\", stiffness: 300, damping: 20 }}\n\u002F>\n\n\u002F\u002F Different transitions for different properties\n\u003Cmotion.div\n  animate={{ x: 100, opacity: 1 }}\n  transition={{\n    x: { type: \"spring\", stiffness: 300 },\n    opacity: { duration: 0.2 }\n  }}\n\u002F>\n```\n\n**Transition types:**\n- `\"tween\"` (default) - Duration-based with easing\n- `\"spring\"` - Physics-based spring animation\n- `\"inertia\"` - Decelerating animation (used in drag)\n\n### 5. Variants\n\nOrganize animation states using named variants for cleaner code and propagation to children:\n\n```jsx\nconst variants = {\n  hidden: { opacity: 0, y: 20 },\n  visible: { opacity: 1, y: 0 },\n  exit: { opacity: 0, scale: 0.9 }\n}\n\n\u003Cmotion.div\n  variants={variants}\n  initial=\"hidden\"\n  animate=\"visible\"\n  exit=\"exit\"\n\u002F>\n```\n\n**Variant propagation** - Children automatically inherit parent variant states:\n\n```jsx\nconst containerVariants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.1  \u002F\u002F Stagger child animations\n    }\n  }\n}\n\nconst itemVariants = {\n  hidden: { x: -20, opacity: 0 },\n  visible: { x: 0, opacity: 1 }\n}\n\n\u003Cmotion.ul variants={containerVariants} initial=\"hidden\" animate=\"visible\">\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n\u003C\u002Fmotion.ul>\n```\n\n## Common Patterns\n\n### 1. Hover Animations\n\nAnimate on hover using `whileHover` prop:\n\n```jsx\n\u002F\u002F Simple hover effect\n\u003Cmotion.button\n  whileHover={{ scale: 1.1 }}\n  transition={{ duration: 0.2 }}\n>\n  Hover me\n\u003C\u002Fmotion.button>\n\n\u002F\u002F Multiple properties\n\u003Cmotion.div\n  whileHover={{\n    scale: 1.05,\n    backgroundColor: \"#f0f0f0\",\n    boxShadow: \"0px 10px 30px rgba(0, 0, 0, 0.2)\"\n  }}\n>\n  Hover card\n\u003C\u002Fmotion.div>\n\n\u002F\u002F With custom transition\n\u003Cmotion.button\n  whileHover={{\n    scale: 1.2,\n    transition: { duration: 0.1 }  \u002F\u002F Transition for gesture start\n  }}\n  transition={{ duration: 0.5 }}  \u002F\u002F Transition for gesture end\n>\n  Button\n\u003C\u002Fmotion.button>\n```\n\n**Hover with nested elements:**\n\n```jsx\n\u003Cmotion.div whileHover=\"hover\" variants={cardVariants}>\n  \u003Cmotion.h3 variants={titleVariants}>Title\u003C\u002Fmotion.h3>\n  \u003Cmotion.img variants={imageVariants} \u002F>\n\u003C\u002Fmotion.div>\n```\n\n### 2. Tap\u002FPress Animations\n\nAnimate on tap\u002Fpress using `whileTap` prop:\n\n```jsx\n\u002F\u002F Scale down on tap\n\u003Cmotion.button\n  whileTap={{ scale: 0.9 }}\n>\n  Click me\n\u003C\u002Fmotion.button>\n\n\u002F\u002F Combined hover + tap\n\u003Cmotion.button\n  whileHover={{ scale: 1.1 }}\n  whileTap={{ scale: 0.95, rotate: 3 }}\n>\n  Interactive button\n\u003C\u002Fmotion.button>\n\n\u002F\u002F With variants\nconst buttonVariants = {\n  rest: { scale: 1 },\n  hover: { scale: 1.1 },\n  pressed: { scale: 0.95 }\n}\n\n\u003Cmotion.button\n  variants={buttonVariants}\n  initial=\"rest\"\n  whileHover=\"hover\"\n  whileTap=\"pressed\"\n>\n  Button\n\u003C\u002Fmotion.button>\n```\n\n### 3. Drag Interactions\n\nMake elements draggable with the `drag` prop:\n\n```jsx\n\u002F\u002F Basic dragging (both axes)\n\u003Cmotion.div drag \u002F>\n\n\u002F\u002F Constrain to axis\n\u003Cmotion.div drag=\"x\" \u002F>  \u002F\u002F Only horizontal\n\u003Cmotion.div drag=\"y\" \u002F>  \u002F\u002F Only vertical\n\n\u002F\u002F Drag constraints\n\u003Cmotion.div\n  drag\n  dragConstraints={{ left: -100, right: 100, top: -100, bottom: 100 }}\n\u002F>\n\n\u002F\u002F Drag with parent constraints\n\u003Cmotion.div ref={constraintsRef}>\n  \u003Cmotion.div drag dragConstraints={constraintsRef} \u002F>\n\u003C\u002Fmotion.div>\n\n\u002F\u002F Visual feedback while dragging\n\u003Cmotion.div\n  drag\n  whileDrag={{\n    scale: 1.1,\n    boxShadow: \"0px 10px 20px rgba(0,0,0,0.2)\",\n    cursor: \"grabbing\"\n  }}\n  dragElastic={0.1}  \u002F\u002F Elasticity when dragging outside constraints\n  dragTransition={{ bounceStiffness: 600, bounceDamping: 20 }}\n\u002F>\n```\n\n**Drag events:**\n\n```jsx\n\u003Cmotion.div\n  drag\n  onDragStart={(event, info) => console.log(info.point)}\n  onDrag={(event, info) => console.log(info.offset)}\n  onDragEnd={(event, info) => console.log(info.velocity)}\n\u002F>\n```\n\n### 4. Exit Animations (AnimatePresence)\n\nAnimate components when they're removed from the DOM using `AnimatePresence`:\n\n```jsx\nimport { AnimatePresence } from \"framer-motion\"\n\n\u002F\u002F Basic exit animation\n\u003CAnimatePresence>\n  {isVisible && (\n    \u003Cmotion.div\n      key=\"modal\"\n      initial={{ opacity: 0 }}\n      animate={{ opacity: 1 }}\n      exit={{ opacity: 0 }}\n    \u002F>\n  )}\n\u003C\u002FAnimatePresence>\n```\n\n**Key requirements:**\n- Component must be direct child of `\u003CAnimatePresence>`\n- Must have a unique `key` prop\n- Use `exit` prop to define exit animation\n\n**List items with exit animations:**\n\n```jsx\n\u003CAnimatePresence>\n  {items.map(item => (\n    \u003Cmotion.li\n      key={item.id}\n      initial={{ opacity: 0, x: -50 }}\n      animate={{ opacity: 1, x: 0 }}\n      exit={{ opacity: 0, x: 50 }}\n      layout  \u002F\u002F Smooth layout shifts\n    >\n      {item.name}\n    \u003C\u002Fmotion.li>\n  ))}\n\u003C\u002FAnimatePresence>\n```\n\n**Staggered exit animations:**\n\n```jsx\nconst containerVariants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      when: \"beforeChildren\",\n      staggerChildren: 0.1\n    }\n  },\n  exit: {\n    opacity: 0,\n    transition: {\n      when: \"afterChildren\",\n      staggerChildren: 0.05,\n      staggerDirection: -1  \u002F\u002F Reverse order\n    }\n  }\n}\n\n\u003CAnimatePresence>\n  {show && (\n    \u003Cmotion.div variants={containerVariants} initial=\"hidden\" animate=\"visible\" exit=\"exit\">\n      \u003Cmotion.div variants={itemVariants} \u002F>\n      \u003Cmotion.div variants={itemVariants} \u002F>\n      \u003Cmotion.div variants={itemVariants} \u002F>\n    \u003C\u002Fmotion.div>\n  )}\n\u003C\u002FAnimatePresence>\n```\n\n### 5. Layout Animations\n\nAutomatically animate layout changes (position, size) with the `layout` prop:\n\n```jsx\n\u002F\u002F Animate all layout changes\n\u003Cmotion.div layout \u002F>\n\n\u002F\u002F Animate only position changes\n\u003Cmotion.div layout=\"position\" \u002F>\n\n\u002F\u002F Animate only size changes\n\u003Cmotion.div layout=\"size\" \u002F>\n```\n\n**Grid layout animation:**\n\n```jsx\nconst [columns, setColumns] = useState(3)\n\n\u003Cmotion.div className=\"grid\">\n  {items.map(item => (\n    \u003Cmotion.div\n      key={item.id}\n      layout\n      transition={{ layout: { duration: 0.3, ease: \"easeInOut\" } }}\n    \u002F>\n  ))}\n\u003C\u002Fmotion.div>\n```\n\n**Shared layout animations (layoutId):**\n\nConnect two different elements for smooth transitions using `layoutId`:\n\n```jsx\n\u002F\u002F Tab indicator example\n\u003Cnav>\n  {tabs.map(tab => (\n    \u003Cbutton key={tab.id} onClick={() => setActive(tab.id)}>\n      {tab.label}\n      {activeTab === tab.id && (\n        \u003Cmotion.div\n          layoutId=\"underline\"\n          style={{ position: 'absolute', bottom: 0, left: 0, right: 0, height: 2 }}\n        \u002F>\n      )}\n    \u003C\u002Fbutton>\n  ))}\n\u003C\u002Fnav>\n\n\u002F\u002F Modal opening from thumbnail\n\u003Cmotion.img\n  src={thumbnail}\n  layoutId=\"product-image\"\n  onClick={() => setExpanded(true)}\n\u002F>\n\n\u003CAnimatePresence>\n  {expanded && (\n    \u003Cmotion.div layoutId=\"product-image\">\n      \u003Cimg src={fullsize} \u002F>\n    \u003C\u002Fmotion.div>\n  )}\n\u003C\u002FAnimatePresence>\n```\n\n### 6. Scroll-Based Animations\n\nAnimate elements when they enter the viewport using `whileInView`:\n\n```jsx\n\u003Cmotion.div\n  initial={{ opacity: 0, y: 50 }}\n  whileInView={{ opacity: 1, y: 0 }}\n  viewport={{ once: true, amount: 0.8 }}  \u002F\u002F once: trigger once, amount: 80% visible\n  transition={{ duration: 0.5 }}\n>\n  Animates when scrolled into view\n\u003C\u002Fmotion.div>\n```\n\n**Viewport options:**\n- `once: true` - Animation triggers only once\n- `amount: 0.5` - Percentage of element visible (0-1) or \"some\" | \"all\"\n- `margin: \"-100px\"` - Offset viewport boundaries\n\n**Staggered scroll animations:**\n\n```jsx\n\u003Cmotion.ul\n  initial=\"hidden\"\n  whileInView=\"visible\"\n  viewport={{ once: true, amount: 0.3 }}\n  variants={{\n    visible: {\n      opacity: 1,\n      transition: { staggerChildren: 0.1 }\n    },\n    hidden: { opacity: 0 }\n  }}\n>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n\u003C\u002Fmotion.ul>\n```\n\n### 7. Spring Animations\n\nUse spring physics for natural, bouncy animations:\n\n```jsx\n\u002F\u002F Basic spring\n\u003Cmotion.div\n  animate={{ scale: 1.2 }}\n  transition={{ type: \"spring\" }}\n\u002F>\n\n\u002F\u002F Customize spring physics\n\u003Cmotion.div\n  animate={{ x: 100 }}\n  transition={{\n    type: \"spring\",\n    stiffness: 300,  \u002F\u002F Higher = faster, snappier (default: 100)\n    damping: 20,     \u002F\u002F Higher = less bouncy (default: 10)\n    mass: 1,         \u002F\u002F Higher = more inertia (default: 1)\n  }}\n\u002F>\n\n\u002F\u002F Visual duration (easier spring control)\n\u003Cmotion.div\n  animate={{ rotate: 90 }}\n  transition={{\n    type: \"spring\",\n    visualDuration: 0.5,  \u002F\u002F Perceived duration\n    bounce: 0.25          \u002F\u002F Bounciness (0-1, default: 0.25)\n  }}\n\u002F>\n```\n\n**Spring presets:**\n- **Gentle**: `stiffness: 100, damping: 20`\n- **Wobbly**: `stiffness: 200, damping: 10`\n- **Stiff**: `stiffness: 400, damping: 30`\n- **Slow**: `stiffness: 50, damping: 20`\n\n## Gesture Recognition\n\nMotion provides declarative gesture handlers:\n\n### Gesture Props\n\n```jsx\n\u003Cmotion.div\n  whileHover={{ scale: 1.1 }}        \u002F\u002F Pointer hovers over element\n  whileTap={{ scale: 0.9 }}          \u002F\u002F Primary pointer presses element\n  whileFocus={{ outline: \"2px\" }}    \u002F\u002F Element gains focus\n  whileDrag={{ scale: 1.1 }}         \u002F\u002F Element is being dragged\n  whileInView={{ opacity: 1 }}       \u002F\u002F Element is in viewport\n\u002F>\n```\n\n### Gesture Events\n\n```jsx\n\u003Cmotion.div\n  onHoverStart={(event, info) => {}}\n  onHoverEnd={(event, info) => {}}\n  onTap={(event, info) => {}}\n  onTapStart={(event, info) => {}}\n  onTapCancel={(event, info) => {}}\n  onDragStart={(event, info) => {}}\n  onDrag={(event, info) => {}}\n  onDragEnd={(event, info) => {}}\n  onViewportEnter={(entry) => {}}\n  onViewportLeave={(entry) => {}}\n\u002F>\n```\n\n**Event info objects contain:**\n- `point: { x, y }` - Page coordinates\n- `offset: { x, y }` - Offset from drag start\n- `velocity: { x, y }` - Drag velocity\n\n## Hooks\n\n### useAnimate\n\nManually control animations with the `useAnimate` hook:\n\n```jsx\nimport { useAnimate } from \"framer-motion\"\n\nfunction Component() {\n  const [scope, animate] = useAnimate()\n\n  useEffect(() => {\n    \u002F\u002F Animate multiple elements\n    animate([\n      [scope.current, { opacity: 1 }],\n      [\"li\", { x: 0, opacity: 1 }, { delay: stagger(0.1) }],\n      [\".button\", { scale: 1.2 }]\n    ])\n  }, [])\n\n  return (\n    \u003Cdiv ref={scope}>\n      \u003Cul>\n        \u003Cli>Item 1\u003C\u002Fli>\n        \u003Cli>Item 2\u003C\u002Fli>\n      \u003C\u002Ful>\n      \u003Cbutton className=\"button\">Click\u003C\u002Fbutton>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n**Animation controls:**\n\n```jsx\nconst controls = animate(element, { x: 100 })\ncontrols.play()\ncontrols.pause()\ncontrols.stop()\ncontrols.speed = 0.5\ncontrols.time = 0  \u002F\u002F Seek to start\n```\n\n### useSpring\n\nCreate spring-animated motion values:\n\n```jsx\nimport { useSpring } from \"framer-motion\"\n\nfunction Component() {\n  const x = useSpring(0, { stiffness: 300, damping: 20 })\n\n  return (\n    \u003Cmotion.div style={{ x }}>\n      \u003Cbutton onClick={() => x.set(100)}>Move\u003C\u002Fbutton>\n    \u003C\u002Fmotion.div>\n  )\n}\n```\n\n### useInView\n\nDetect when an element is in viewport:\n\n```jsx\nimport { useInView } from \"framer-motion\"\n\nfunction Component() {\n  const ref = useRef(null)\n  const isInView = useInView(ref, { once: true, amount: 0.5 })\n\n  return (\n    \u003Cdiv ref={ref}>\n      {isInView ? \"In view!\" : \"Not in view\"}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Integration Patterns\n\n### With GSAP\n\nCombine Motion for React state-based animations and GSAP for complex timelines:\n\n```jsx\nimport { motion } from \"framer-motion\"\nimport gsap from \"gsap\"\n\nfunction Component() {\n  const boxRef = useRef()\n\n  const handleClick = () => {\n    \u002F\u002F Use GSAP for complex timeline\n    const tl = gsap.timeline()\n    tl.to(boxRef.current, { rotation: 360, duration: 1 })\n      .to(boxRef.current, { scale: 1.5, duration: 0.5 })\n  }\n\n  return (\n    \u002F\u002F Use Motion for hover\u002Ftap\u002Flayout animations\n    \u003Cmotion.div\n      ref={boxRef}\n      whileHover={{ scale: 1.1 }}\n      onClick={handleClick}\n    \u002F>\n  )\n}\n```\n\n### With React Three Fiber\n\nAnimate 3D objects using Motion values:\n\n```jsx\nimport { motion } from \"framer-motion\"\nimport { useFrame } from \"@react-three\u002Ffiber\"\n\nfunction Box() {\n  const x = useMotionValue(0)\n\n  useFrame(() => {\n    \u002F\u002F Sync Motion value with Three.js position\n    meshRef.current.position.x = x.get()\n  })\n\n  return (\n    \u003C>\n      \u003Cmesh ref={meshRef}>\n        \u003CboxGeometry \u002F>\n        \u003CmeshStandardMaterial \u002F>\n      \u003C\u002Fmesh>\n      \u003Cmotion.div\n        style={{ x }}\n        drag=\"x\"\n        dragConstraints={{ left: -5, right: 5 }}\n      \u002F>\n    \u003C\u002F>\n  )\n}\n```\n\n### With Form Libraries\n\nAnimate form validation states:\n\n```jsx\nimport { motion, AnimatePresence } from \"framer-motion\"\n\nfunction FormField({ error }) {\n  return (\n    \u003Cdiv>\n      \u003Cmotion.input\n        animate={{\n          borderColor: error ? \"#ff0000\" : \"#cccccc\",\n          x: error ? [0, -10, 10, -10, 10, 0] : 0  \u002F\u002F Shake animation\n        }}\n        transition={{ duration: 0.4 }}\n      \u002F>\n      \u003CAnimatePresence>\n        {error && (\n          \u003Cmotion.p\n            initial={{ opacity: 0, y: -10 }}\n            animate={{ opacity: 1, y: 0 }}\n            exit={{ opacity: 0, y: -10 }}\n            style={{ color: \"#ff0000\" }}\n          >\n            {error}\n          \u003C\u002Fmotion.p>\n        )}\n      \u003C\u002FAnimatePresence>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Performance Optimization\n\n### 1. Use Transform Properties\n\nTransform properties (x, y, scale, rotate) are hardware-accelerated:\n\n```jsx\n\u002F\u002F ✅ Good - Hardware accelerated\n\u003Cmotion.div animate={{ x: 100, scale: 1.2 }} \u002F>\n\n\u002F\u002F ❌ Avoid - Triggers layout\u002Fpaint\n\u003Cmotion.div animate={{ left: 100, width: 200 }} \u002F>\n```\n\n### 2. Individual Transform Properties\n\nMotion supports individual transform properties for cleaner code:\n\n```jsx\n\u002F\u002F Individual properties (Motion feature)\n\u003Cmotion.div style={{ x: 100, rotate: 45, scale: 1.2 }} \u002F>\n\n\u002F\u002F Traditional (also supported)\n\u003Cmotion.div style={{ transform: \"translateX(100px) rotate(45deg) scale(1.2)\" }} \u002F>\n```\n\n### 3. Reduce Motion for Accessibility\n\nRespect user preferences for reduced motion:\n\n```jsx\nimport { useReducedMotion } from \"framer-motion\"\n\nfunction Component() {\n  const shouldReduceMotion = useReducedMotion()\n\n  return (\n    \u003Cmotion.div\n      animate={{ x: 100 }}\n      transition={shouldReduceMotion ? { duration: 0 } : { duration: 0.5 }}\n    \u002F>\n  )\n}\n```\n\n### 4. Layout Animations Performance\n\nLayout animations can be expensive. Optimize with:\n\n```jsx\n\u002F\u002F Specify what to animate\n\u003Cmotion.div layout=\"position\" \u002F>  \u002F\u002F Only position, not size\n\n\u002F\u002F Optimize transition\n\u003Cmotion.div\n  layout\n  transition={{\n    layout: { duration: 0.3, ease: \"easeOut\" }\n  }}\n\u002F>\n```\n\n### 5. Use layoutId Sparingly\n\n`layoutId` creates shared layout animations but tracks elements globally. Use only when needed.\n\n## Common Pitfalls\n\n### 1. Forgetting AnimatePresence for Exit Animations\n\n**Problem:** Exit animations don't work\n\n```jsx\n\u002F\u002F ❌ Wrong - No AnimatePresence\n{show && \u003Cmotion.div exit={{ opacity: 0 }} \u002F>}\n```\n\n```jsx\n\u002F\u002F ✅ Correct - Wrapped in AnimatePresence\n\u003CAnimatePresence>\n  {show && \u003Cmotion.div exit={{ opacity: 0 }} \u002F>}\n\u003C\u002FAnimatePresence>\n```\n\n### 2. Missing key Prop in Lists\n\n**Problem:** AnimatePresence can't track elements\n\n```jsx\n\u002F\u002F ❌ Wrong - No key\n\u003CAnimatePresence>\n  {items.map(item => \u003Cmotion.div exit={{ opacity: 0 }} \u002F>)}\n\u003C\u002FAnimatePresence>\n```\n\n```jsx\n\u002F\u002F ✅ Correct - Unique keys\n\u003CAnimatePresence>\n  {items.map(item => (\n    \u003Cmotion.div key={item.id} exit={{ opacity: 0 }} \u002F>\n  ))}\n\u003C\u002FAnimatePresence>\n```\n\n### 3. Animating Non-Transform Properties\n\n**Problem:** Janky animations, poor performance\n\n```jsx\n\u002F\u002F ❌ Avoid - Not hardware accelerated\n\u003Cmotion.div animate={{ top: 100, left: 50, width: 200 }} \u002F>\n```\n\n```jsx\n\u002F\u002F ✅ Better - Use transforms\n\u003Cmotion.div animate={{ x: 50, y: 100, scaleX: 2 }} \u002F>\n```\n\n### 4. Overusing Layout Animations\n\n**Problem:** Performance issues with many layout-animated elements\n\n```jsx\n\u002F\u002F ❌ Too many layout animations\n{items.map(item => \u003Cmotion.div layout>{item}\u003C\u002Fmotion.div>)}\n```\n\n```jsx\n\u002F\u002F ✅ Use layout only where needed, optimize others\n{items.map(item => (\n  \u003Cmotion.div\n    key={item.id}\n    animate={{ opacity: 1 }}  \u002F\u002F Cheaper animation\n    exit={{ opacity: 0 }}\n  \u002F>\n))}\n```\n\n### 5. Not Using Variants for Complex Animations\n\n**Problem:** Duplicated animation code, no child orchestration\n\n```jsx\n\u002F\u002F ❌ Repetitive\n\u003Cmotion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} \u002F>\n\u003Cmotion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} \u002F>\n```\n\n```jsx\n\u002F\u002F ✅ Use variants\nconst variants = {\n  hidden: { opacity: 0 },\n  visible: { opacity: 1 }\n}\n\n\u003Cmotion.div variants={variants} initial=\"hidden\" animate=\"visible\" \u002F>\n\u003Cmotion.div variants={variants} initial=\"hidden\" animate=\"visible\" \u002F>\n```\n\n### 6. Incorrect Transition Timing\n\n**Problem:** Transitions don't apply to specific gestures\n\n```jsx\n\u002F\u002F ❌ Wrong - General transition won't apply to whileHover\n\u003Cmotion.div\n  whileHover={{ scale: 1.2 }}\n  transition={{ duration: 1 }}  \u002F\u002F This applies to animate prop, not whileHover\n\u002F>\n```\n\n```jsx\n\u002F\u002F ✅ Correct - Transition in whileHover or separate gesture transition\n\u003Cmotion.div\n  whileHover={{\n    scale: 1.2,\n    transition: { duration: 0.2 }  \u002F\u002F Applies to hover start\n  }}\n  transition={{ duration: 0.5 }}  \u002F\u002F Applies to hover end\n\u002F>\n```\n\n## Resources\n\n### Official Documentation\n- [Motion Docs](https:\u002F\u002Fmotion.dev\u002F) - Official Motion documentation\n- [Framer Motion Docs](https:\u002F\u002Fwww.framer.com\u002Fmotion\u002F) - Framer Motion (legacy)\n- [Motion GitHub](https:\u002F\u002Fgithub.com\u002Fframer\u002Fmotion) - Source code & examples\n\n### Bundled Resources\n\nThis skill includes:\n\n**references\u002F**\n- `api_reference.md` - Complete Motion API reference\n- `variants_patterns.md` - Variant patterns and orchestration\n- `gesture_guide.md` - Comprehensive gesture handling guide\n\n**scripts\u002F**\n- `animation_generator.py` - Generate Motion component boilerplate\n- `variant_builder.py` - Interactive variant configuration tool\n\n**assets\u002F**\n- `starter_motion\u002F` - Complete Motion + Vite starter template\n- `examples\u002F` - Real-world Motion component patterns\n\n### Community Resources\n- [Motion Dev Discord](https:\u002F\u002Fdiscord.gg\u002Fmotion) - Official community\n- [Framer Motion Examples](https:\u002F\u002Fwww.framer.com\u002Fmotion\u002Fexamples\u002F) - Interactive examples\n- [Motion Recipes](https:\u002F\u002Fmotion.dev\u002Fdocs\u002Frecipes) - Common patterns\n- [CodeSandbox Templates](https:\u002F\u002Fcodesandbox.io\u002Fs\u002Fframer-motion-examples) - Live demos\n","# Motion & Framer Motion\n\n## Overview\n\nMotion (formerly Framer Motion) is a production-ready animation library for React and JavaScript that enables declarative, performant animations with minimal code. It provides `motion` components that wrap HTML elements with animation superpowers, supports gesture recognition (hover, tap, drag, focus), and includes advanced features like layout animations, exit animations, and spring physics.\n\n**When to use this skill:**\n- Building interactive UI components (buttons, cards, menus)\n- Creating micro-interactions and hover effects\n- Implementing page transitions and route animations\n- Adding scroll-based animations and parallax effects\n- Animating layout changes (resizing, reordering, shared element transitions)\n- Drag-and-drop interfaces\n- Complex animation sequences and state-based animations\n- Replacing CSS transitions with more powerful, controllable animations\n\n**Technology:**\n- **Motion** (v11+) - The modern, smaller library from Framer Motion creators\n- **Framer Motion** - The full-featured predecessor (still widely used)\n- React 18+ compatible, also supports Vue\n- Supports TypeScript\n- Works with Next.js, Vite, Remix, and all modern React frameworks\n\n## Core Concepts\n\n### 1. Motion Components\n\nConvert any HTML\u002FSVG element into an animatable component by prefixing with `motion.`:\n\n```jsx\nimport { motion } from \"framer-motion\"\n\n\u002F\u002F Regular HTML becomes motion component\n\u003Cmotion.div \u002F>\n\u003Cmotion.button \u002F>\n\u003Cmotion.svg \u002F>\n\u003Cmotion.path \u002F>\n```\n\nEvery motion component accepts animation props like `animate`, `initial`, `transition`, and gesture props like `whileHover`, `whileTap`, etc.\n\n### 2. Animate Prop\n\nThe `animate` prop defines the target animation state. When values change, Motion automatically animates to them:\n\n```jsx\n\u002F\u002F Simple animation - x position changes\n\u003Cmotion.div animate={{ x: 100 }} \u002F>\n\n\u002F\u002F Multiple properties\n\u003Cmotion.div animate={{ x: 100, opacity: 1, scale: 1.2 }} \u002F>\n\n\u002F\u002F Animates when state changes\nconst [isOpen, setIsOpen] = useState(false)\n\u003Cmotion.div animate={{ width: isOpen ? 300 : 100 }} \u002F>\n```\n\n### 3. Initial State\n\nSet the initial state before animation using the `initial` prop:\n\n```jsx\n\u003Cmotion.div\n  initial={{ opacity: 0, y: 50 }}\n  animate={{ opacity: 1, y: 0 }}\n\u002F>\n```\n\nSet `initial={false}` to disable initial animations on mount.\n\n### 4. Transitions\n\nControl how animations move between states using the `transition` prop:\n\n```jsx\n\u002F\u002F Duration-based\n\u003Cmotion.div\n  animate={{ x: 100 }}\n  transition={{ duration: 0.5, ease: \"easeInOut\" }}\n\u002F>\n\n\u002F\u002F Spring physics\n\u003Cmotion.div\n  animate={{ scale: 1.2 }}\n  transition={{ type: \"spring\", stiffness: 300, damping: 20 }}\n\u002F>\n\n\u002F\u002F Different transitions for different properties\n\u003Cmotion.div\n  animate={{ x: 100, opacity: 1 }}\n  transition={{\n    x: { type: \"spring\", stiffness: 300 },\n    opacity: { duration: 0.2 }\n  }}\n\u002F>\n```\n\n**Transition types:**\n- `\"tween\"` (default) - Duration-based with easing\n- `\"spring\"` - Physics-based spring animation\n- `\"inertia\"` - Decelerating animation (used in drag)\n\n### 5. Variants\n\nOrganize animation states using named variants for cleaner code and propagation to children:\n\n```jsx\nconst variants = {\n  hidden: { opacity: 0, y: 20 },\n  visible: { opacity: 1, y: 0 },\n  exit: { opacity: 0, scale: 0.9 }\n}\n\n\u003Cmotion.div\n  variants={variants}\n  initial=\"hidden\"\n  animate=\"visible\"\n  exit=\"exit\"\n\u002F>\n```\n\n**Variant propagation** - Children automatically inherit parent variant states:\n\n```jsx\nconst containerVariants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.1  \u002F\u002F Stagger child animations\n    }\n  }\n}\n\nconst itemVariants = {\n  hidden: { x: -20, opacity: 0 },\n  visible: { x: 0, opacity: 1 }\n}\n\n\u003Cmotion.ul variants={containerVariants} initial=\"hidden\" animate=\"visible\">\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n\u003C\u002Fmotion.ul>\n```\n\n## Common Patterns\n\n### 1. Hover Animations\n\nAnimate on hover using `whileHover` prop:\n\n```jsx\n\u002F\u002F Simple hover effect\n\u003Cmotion.button\n  whileHover={{ scale: 1.1 }}\n  transition={{ duration: 0.2 }}\n>\n  Hover me\n\u003C\u002Fmotion.button>\n\n\u002F\u002F Multiple properties\n\u003Cmotion.div\n  whileHover={{\n    scale: 1.05,\n    backgroundColor: \"#f0f0f0\",\n    boxShadow: \"0px 10px 30px rgba(0, 0, 0, 0.2)\"\n  }}\n>\n  Hover card\n\u003C\u002Fmotion.div>\n\n\u002F\u002F With custom transition\n\u003Cmotion.button\n  whileHover={{\n    scale: 1.2,\n    transition: { duration: 0.1 }  \u002F\u002F Transition for gesture start\n  }}\n  transition={{ duration: 0.5 }}  \u002F\u002F Transition for gesture end\n>\n  Button\n\u003C\u002Fmotion.button>\n```\n\n**Hover with nested elements:**\n\n```jsx\n\u003Cmotion.div whileHover=\"hover\" variants={cardVariants}>\n  \u003Cmotion.h3 variants={titleVariants}>Title\u003C\u002Fmotion.h3>\n  \u003Cmotion.img variants={imageVariants} \u002F>\n\u003C\u002Fmotion.div>\n```\n\n### 2. Tap\u002FPress Animations\n\nAnimate on tap\u002Fpress using `whileTap` prop:\n\n```jsx\n\u002F\u002F Scale down on tap\n\u003Cmotion.button\n  whileTap={{ scale: 0.9 }}\n>\n  Click me\n\u003C\u002Fmotion.button>\n\n\u002F\u002F Combined hover + tap\n\u003Cmotion.button\n  whileHover={{ scale: 1.1 }}\n  whileTap={{ scale: 0.95, rotate: 3 }}\n>\n  Interactive button\n\u003C\u002Fmotion.button>\n\n\u002F\u002F With variants\nconst buttonVariants = {\n  rest: { scale: 1 },\n  hover: { scale: 1.1 },\n  pressed: { scale: 0.95 }\n}\n\n\u003Cmotion.button\n  variants={buttonVariants}\n  initial=\"rest\"\n  whileHover=\"hover\"\n  whileTap=\"pressed\"\n>\n  Button\n\u003C\u002Fmotion.button>\n```\n\n### 3. Drag Interactions\n\nMake elements draggable with the `drag` prop:\n\n```jsx\n\u002F\u002F Basic dragging (both axes)\n\u003Cmotion.div drag \u002F>\n\n\u002F\u002F Constrain to axis\n\u003Cmotion.div drag=\"x\" \u002F>  \u002F\u002F Only horizontal\n\u003Cmotion.div drag=\"y\" \u002F>  \u002F\u002F Only vertical\n\n\u002F\u002F Drag constraints\n\u003Cmotion.div\n  drag\n  dragConstraints={{ left: -100, right: 100, top: -100, bottom: 100 }}\n\u002F>\n\n\u002F\u002F Drag with parent constraints\n\u003Cmotion.div ref={constraintsRef}>\n  \u003Cmotion.div drag dragConstraints={constraintsRef} \u002F>\n\u003C\u002Fmotion.div>\n\n\u002F\u002F Visual feedback while dragging\n\u003Cmotion.div\n  drag\n  whileDrag={{\n    scale: 1.1,\n    boxShadow: \"0px 10px 20px rgba(0,0,0,0.2)\",\n    cursor: \"grabbing\"\n  }}\n  dragElastic={0.1}  \u002F\u002F Elasticity when dragging outside constraints\n  dragTransition={{ bounceStiffness: 600, bounceDamping: 20 }}\n\u002F>\n```\n\n**Drag events:**\n\n```jsx\n\u003Cmotion.div\n  drag\n  onDragStart={(event, info) => console.log(info.point)}\n  onDrag={(event, info) => console.log(info.offset)}\n  onDragEnd={(event, info) => console.log(info.velocity)}\n\u002F>\n```\n\n### 4. Exit Animations (AnimatePresence)\n\nAnimate components when they're removed from the DOM using `AnimatePresence`:\n\n```jsx\nimport { AnimatePresence } from \"framer-motion\"\n\n\u002F\u002F Basic exit animation\n\u003CAnimatePresence>\n  {isVisible && (\n    \u003Cmotion.div\n      key=\"modal\"\n      initial={{ opacity: 0 }}\n      animate={{ opacity: 1 }}\n      exit={{ opacity: 0 }}\n    \u002F>\n  )}\n\u003C\u002FAnimatePresence>\n```\n\n**Key requirements:**\n- Component must be direct child of `\u003CAnimatePresence>`\n- Must have a unique `key` prop\n- Use `exit` prop to define exit animation\n\n**List items with exit animations:**\n\n```jsx\n\u003CAnimatePresence>\n  {items.map(item => (\n    \u003Cmotion.li\n      key={item.id}\n      initial={{ opacity: 0, x: -50 }}\n      animate={{ opacity: 1, x: 0 }}\n      exit={{ opacity: 0, x: 50 }}\n      layout  \u002F\u002F Smooth layout shifts\n    >\n      {item.name}\n    \u003C\u002Fmotion.li>\n  ))}\n\u003C\u002FAnimatePresence>\n```\n\n**Staggered exit animations:**\n\n```jsx\nconst containerVariants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      when: \"beforeChildren\",\n      staggerChildren: 0.1\n    }\n  },\n  exit: {\n    opacity: 0,\n    transition: {\n      when: \"afterChildren\",\n      staggerChildren: 0.05,\n      staggerDirection: -1  \u002F\u002F Reverse order\n    }\n  }\n}\n\n\u003CAnimatePresence>\n  {show && (\n    \u003Cmotion.div variants={containerVariants} initial=\"hidden\" animate=\"visible\" exit=\"exit\">\n      \u003Cmotion.div variants={itemVariants} \u002F>\n      \u003Cmotion.div variants={itemVariants} \u002F>\n      \u003Cmotion.div variants={itemVariants} \u002F>\n    \u003C\u002Fmotion.div>\n  )}\n\u003C\u002FAnimatePresence>\n```\n\n### 5. Layout Animations\n\nAutomatically animate layout changes (position, size) with the `layout` prop:\n\n```jsx\n\u002F\u002F Animate all layout changes\n\u003Cmotion.div layout \u002F>\n\n\u002F\u002F Animate only position changes\n\u003Cmotion.div layout=\"position\" \u002F>\n\n\u002F\u002F Animate only size changes\n\u003Cmotion.div layout=\"size\" \u002F>\n```\n\n**Grid layout animation:**\n\n```jsx\nconst [columns, setColumns] = useState(3)\n\n\u003Cmotion.div className=\"grid\">\n  {items.map(item => (\n    \u003Cmotion.div\n      key={item.id}\n      layout\n      transition={{ layout: { duration: 0.3, ease: \"easeInOut\" } }}\n    \u002F>\n  ))}\n\u003C\u002Fmotion.div>\n```\n\n**Shared layout animations (layoutId):**\n\nConnect two different elements for smooth transitions using `layoutId`:\n\n```jsx\n\u002F\u002F Tab indicator example\n\u003Cnav>\n  {tabs.map(tab => (\n    \u003Cbutton key={tab.id} onClick={() => setActive(tab.id)}>\n      {tab.label}\n      {activeTab === tab.id && (\n        \u003Cmotion.div\n          layoutId=\"underline\"\n          style={{ position: 'absolute', bottom: 0, left: 0, right: 0, height: 2 }}\n        \u002F>\n      )}\n    \u003C\u002Fbutton>\n  ))}\n\u003C\u002Fnav>\n\n\u002F\u002F Modal opening from thumbnail\n\u003Cmotion.img\n  src={thumbnail}\n  layoutId=\"product-image\"\n  onClick={() => setExpanded(true)}\n\u002F>\n\n\u003CAnimatePresence>\n  {expanded && (\n    \u003Cmotion.div layoutId=\"product-image\">\n      \u003Cimg src={fullsize} \u002F>\n    \u003C\u002Fmotion.div>\n  )}\n\u003C\u002FAnimatePresence>\n```\n\n### 6. Scroll-Based Animations\n\nAnimate elements when they enter the viewport using `whileInView`:\n\n```jsx\n\u003Cmotion.div\n  initial={{ opacity: 0, y: 50 }}\n  whileInView={{ opacity: 1, y: 0 }}\n  viewport={{ once: true, amount: 0.8 }}  \u002F\u002F once: trigger once, amount: 80% visible\n  transition={{ duration: 0.5 }}\n>\n  Animates when scrolled into view\n\u003C\u002Fmotion.div>\n```\n\n**Viewport options:**\n- `once: true` - Animation triggers only once\n- `amount: 0.5` - Percentage of element visible (0-1) or \"some\" | \"all\"\n- `margin: \"-100px\"` - Offset viewport boundaries\n\n**Staggered scroll animations:**\n\n```jsx\n\u003Cmotion.ul\n  initial=\"hidden\"\n  whileInView=\"visible\"\n  viewport={{ once: true, amount: 0.3 }}\n  variants={{\n    visible: {\n      opacity: 1,\n      transition: { staggerChildren: 0.1 }\n    },\n    hidden: { opacity: 0 }\n  }}\n>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n  \u003Cmotion.li variants={itemVariants} \u002F>\n\u003C\u002Fmotion.ul>\n```\n\n### 7. Spring Animations\n\nUse spring physics for natural, bouncy animations:\n\n```jsx\n\u002F\u002F Basic spring\n\u003Cmotion.div\n  animate={{ scale: 1.2 }}\n  transition={{ type: \"spring\" }}\n\u002F>\n\n\u002F\u002F Customize spring physics\n\u003Cmotion.div\n  animate={{ x: 100 }}\n  transition={{\n    type: \"spring\",\n    stiffness: 300,  \u002F\u002F Higher = faster, snappier (default: 100)\n    damping: 20,     \u002F\u002F Higher = less bouncy (default: 10)\n    mass: 1,         \u002F\u002F Higher = more inertia (default: 1)\n  }}\n\u002F>\n\n\u002F\u002F Visual duration (easier spring control)\n\u003Cmotion.div\n  animate={{ rotate: 90 }}\n  transition={{\n    type: \"spring\",\n    visualDuration: 0.5,  \u002F\u002F Perceived duration\n    bounce: 0.25          \u002F\u002F Bounciness (0-1, default: 0.25)\n  }}\n\u002F>\n```\n\n**Spring presets:**\n- **Gentle**: `stiffness: 100, damping: 20`\n- **Wobbly**: `stiffness: 200, damping: 10`\n- **Stiff**: `stiffness: 400, damping: 30`\n- **Slow**: `stiffness: 50, damping: 20`\n\n## Gesture Recognition\n\nMotion provides declarative gesture handlers:\n\n### Gesture Props\n\n```jsx\n\u003Cmotion.div\n  whileHover={{ scale: 1.1 }}        \u002F\u002F Pointer hovers over element\n  whileTap={{ scale: 0.9 }}          \u002F\u002F Primary pointer presses element\n  whileFocus={{ outline: \"2px\" }}    \u002F\u002F Element gains focus\n  whileDrag={{ scale: 1.1 }}         \u002F\u002F Element is being dragged\n  whileInView={{ opacity: 1 }}       \u002F\u002F Element is in viewport\n\u002F>\n```\n\n### Gesture Events\n\n```jsx\n\u003Cmotion.div\n  onHoverStart={(event, info) => {}}\n  onHoverEnd={(event, info) => {}}\n  onTap={(event, info) => {}}\n  onTapStart={(event, info) => {}}\n  onTapCancel={(event, info) => {}}\n  onDragStart={(event, info) => {}}\n  onDrag={(event, info) => {}}\n  onDragEnd={(event, info) => {}}\n  onViewportEnter={(entry) => {}}\n  onViewportLeave={(entry) => {}}\n\u002F>\n```\n\n**Event info objects contain:**\n- `point: { x, y }` - Page coordinates\n- `offset: { x, y }` - Offset from drag start\n- `velocity: { x, y }` - Drag velocity\n\n## Hooks\n\n### useAnimate\n\nManually control animations with the `useAnimate` hook:\n\n```jsx\nimport { useAnimate } from \"framer-motion\"\n\nfunction Component() {\n  const [scope, animate] = useAnimate()\n\n  useEffect(() => {\n    \u002F\u002F Animate multiple elements\n    animate([\n      [scope.current, { opacity: 1 }],\n      [\"li\", { x: 0, opacity: 1 }, { delay: stagger(0.1) }],\n      [\".button\", { scale: 1.2 }]\n    ])\n  }, [])\n\n  return (\n    \u003Cdiv ref={scope}>\n      \u003Cul>\n        \u003Cli>Item 1\u003C\u002Fli>\n        \u003Cli>Item 2\u003C\u002Fli>\n      \u003C\u002Ful>\n      \u003Cbutton className=\"button\">Click\u003C\u002Fbutton>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n**Animation controls:**\n\n```jsx\nconst controls = animate(element, { x: 100 })\ncontrols.play()\ncontrols.pause()\ncontrols.stop()\ncontrols.speed = 0.5\ncontrols.time = 0  \u002F\u002F Seek to start\n```\n\n### useSpring\n\nCreate spring-animated motion values:\n\n```jsx\nimport { useSpring } from \"framer-motion\"\n\nfunction Component() {\n  const x = useSpring(0, { stiffness: 300, damping: 20 })\n\n  return (\n    \u003Cmotion.div style={{ x }}>\n      \u003Cbutton onClick={() => x.set(100)}>Move\u003C\u002Fbutton>\n    \u003C\u002Fmotion.div>\n  )\n}\n```\n\n### useInView\n\nDetect when an element is in viewport:\n\n```jsx\nimport { useInView } from \"framer-motion\"\n\nfunction Component() {\n  const ref = useRef(null)\n  const isInView = useInView(ref, { once: true, amount: 0.5 })\n\n  return (\n    \u003Cdiv ref={ref}>\n      {isInView ? \"In view!\" : \"Not in view\"}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Integration Patterns\n\n### With GSAP\n\nCombine Motion for React state-based animations and GSAP for complex timelines:\n\n```jsx\nimport { motion } from \"framer-motion\"\nimport gsap from \"gsap\"\n\nfunction Component() {\n  const boxRef = useRef()\n\n  const handleClick = () => {\n    \u002F\u002F Use GSAP for complex timeline\n    const tl = gsap.timeline()\n    tl.to(boxRef.current, { rotation: 360, duration: 1 })\n      .to(boxRef.current, { scale: 1.5, duration: 0.5 })\n  }\n\n  return (\n    \u002F\u002F Use Motion for hover\u002Ftap\u002Flayout animations\n    \u003Cmotion.div\n      ref={boxRef}\n      whileHover={{ scale: 1.1 }}\n      onClick={handleClick}\n    \u002F>\n  )\n}\n```\n\n### With React Three Fiber\n\nAnimate 3D objects using Motion values:\n\n```jsx\nimport { motion } from \"framer-motion\"\nimport { useFrame } from \"@react-three\u002Ffiber\"\n\nfunction Box() {\n  const x = useMotionValue(0)\n\n  useFrame(() => {\n    \u002F\u002F Sync Motion value with Three.js position\n    meshRef.current.position.x = x.get()\n  })\n\n  return (\n    \u003C>\n      \u003Cmesh ref={meshRef}>\n        \u003CboxGeometry \u002F>\n        \u003CmeshStandardMaterial \u002F>\n      \u003C\u002Fmesh>\n      \u003Cmotion.div\n        style={{ x }}\n        drag=\"x\"\n        dragConstraints={{ left: -5, right: 5 }}\n      \u002F>\n    \u003C\u002F>\n  )\n}\n```\n\n### With Form Libraries\n\nAnimate form validation states:\n\n```jsx\nimport { motion, AnimatePresence } from \"framer-motion\"\n\nfunction FormField({ error }) {\n  return (\n    \u003Cdiv>\n      \u003Cmotion.input\n        animate={{\n          borderColor: error ? \"#ff0000\" : \"#cccccc\",\n          x: error ? [0, -10, 10, -10, 10, 0] : 0  \u002F\u002F Shake animation\n        }}\n        transition={{ duration: 0.4 }}\n      \u002F>\n      \u003CAnimatePresence>\n        {error && (\n          \u003Cmotion.p\n            initial={{ opacity: 0, y: -10 }}\n            animate={{ opacity: 1, y: 0 }}\n            exit={{ opacity: 0, y: -10 }}\n            style={{ color: \"#ff0000\" }}\n          >\n            {error}\n          \u003C\u002Fmotion.p>\n        )}\n      \u003C\u002FAnimatePresence>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Performance Optimization\n\n### 1. Use Transform Properties\n\nTransform properties (x, y, scale, rotate) are hardware-accelerated:\n\n```jsx\n\u002F\u002F ✅ Good - Hardware accelerated\n\u003Cmotion.div animate={{ x: 100, scale: 1.2 }} \u002F>\n\n\u002F\u002F ❌ Avoid - Triggers layout\u002Fpaint\n\u003Cmotion.div animate={{ left: 100, width: 200 }} \u002F>\n```\n\n### 2. Individual Transform Properties\n\nMotion supports individual transform properties for cleaner code:\n\n```jsx\n\u002F\u002F Individual properties (Motion feature)\n\u003Cmotion.div style={{ x: 100, rotate: 45, scale: 1.2 }} \u002F>\n\n\u002F\u002F Traditional (also supported)\n\u003Cmotion.div style={{ transform: \"translateX(100px) rotate(45deg) scale(1.2)\" }} \u002F>\n```\n\n### 3. Reduce Motion for Accessibility\n\nRespect user preferences for reduced motion:\n\n```jsx\nimport { useReducedMotion } from \"framer-motion\"\n\nfunction Component() {\n  const shouldReduceMotion = useReducedMotion()\n\n  return (\n    \u003Cmotion.div\n      animate={{ x: 100 }}\n      transition={shouldReduceMotion ? { duration: 0 } : { duration: 0.5 }}\n    \u002F>\n  )\n}\n```\n\n### 4. Layout Animations Performance\n\nLayout animations can be expensive. Optimize with:\n\n```jsx\n\u002F\u002F Specify what to animate\n\u003Cmotion.div layout=\"position\" \u002F>  \u002F\u002F Only position, not size\n\n\u002F\u002F Optimize transition\n\u003Cmotion.div\n  layout\n  transition={{\n    layout: { duration: 0.3, ease: \"easeOut\" }\n  }}\n\u002F>\n```\n\n### 5. Use layoutId Sparingly\n\n`layoutId` creates shared layout animations but tracks elements globally. Use only when needed.\n\n## Common Pitfalls\n\n### 1. Forgetting AnimatePresence for Exit Animations\n\n**Problem:** Exit animations don't work\n\n```jsx\n\u002F\u002F ❌ Wrong - No AnimatePresence\n{show && \u003Cmotion.div exit={{ opacity: 0 }} \u002F>}\n```\n\n```jsx\n\u002F\u002F ✅ Correct - Wrapped in AnimatePresence\n\u003CAnimatePresence>\n  {show && \u003Cmotion.div exit={{ opacity: 0 }} \u002F>}\n\u003C\u002FAnimatePresence>\n```\n\n### 2. Missing key Prop in Lists\n\n**Problem:** AnimatePresence can't track elements\n\n```jsx\n\u002F\u002F ❌ Wrong - No key\n\u003CAnimatePresence>\n  {items.map(item => \u003Cmotion.div exit={{ opacity: 0 }} \u002F>)}\n\u003C\u002FAnimatePresence>\n```\n\n```jsx\n\u002F\u002F ✅ Correct - Unique keys\n\u003CAnimatePresence>\n  {items.map(item => (\n    \u003Cmotion.div key={item.id} exit={{ opacity: 0 }} \u002F>\n  ))}\n\u003C\u002FAnimatePresence>\n```\n\n### 3. Animating Non-Transform Properties\n\n**Problem:** Janky animations, poor performance\n\n```jsx\n\u002F\u002F ❌ Avoid - Not hardware accelerated\n\u003Cmotion.div animate={{ top: 100, left: 50, width: 200 }} \u002F>\n```\n\n```jsx\n\u002F\u002F ✅ Better - Use transforms\n\u003Cmotion.div animate={{ x: 50, y: 100, scaleX: 2 }} \u002F>\n```\n\n### 4. Overusing Layout Animations\n\n**Problem:** Performance issues with many layout-animated elements\n\n```jsx\n\u002F\u002F ❌ Too many layout animations\n{items.map(item => \u003Cmotion.div layout>{item}\u003C\u002Fmotion.div>)}\n```\n\n```jsx\n\u002F\u002F ✅ Use layout only where needed, optimize others\n{items.map(item => (\n  \u003Cmotion.div\n    key={item.id}\n    animate={{ opacity: 1 }}  \u002F\u002F Cheaper animation\n    exit={{ opacity: 0 }}\n  \u002F>\n))}\n```\n\n### 5. Not Using Variants for Complex Animations\n\n**Problem:** Duplicated animation code, no child orchestration\n\n```jsx\n\u002F\u002F ❌ Repetitive\n\u003Cmotion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} \u002F>\n\u003Cmotion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} \u002F>\n```\n\n```jsx\n\u002F\u002F ✅ Use variants\nconst variants = {\n  hidden: { opacity: 0 },\n  visible: { opacity: 1 }\n}\n\n\u003Cmotion.div variants={variants} initial=\"hidden\" animate=\"visible\" \u002F>\n\u003Cmotion.div variants={variants} initial=\"hidden\" animate=\"visible\" \u002F>\n```\n\n### 6. Incorrect Transition Timing\n\n**Problem:** Transitions don't apply to specific gestures\n\n```jsx\n\u002F\u002F ❌ Wrong - General transition won't apply to whileHover\n\u003Cmotion.div\n  whileHover={{ scale: 1.2 }}\n  transition={{ duration: 1 }}  \u002F\u002F This applies to animate prop, not whileHover\n\u002F>\n```\n\n```jsx\n\u002F\u002F ✅ Correct - Transition in whileHover or separate gesture transition\n\u003Cmotion.div\n  whileHover={{\n    scale: 1.2,\n    transition: { duration: 0.2 }  \u002F\u002F Applies to hover start\n  }}\n  transition={{ duration: 0.5 }}  \u002F\u002F Applies to hover end\n\u002F>\n```\n\n## Resources\n\n### Official Documentation\n- [Motion Docs](https:\u002F\u002Fmotion.dev\u002F) - Official Motion documentation\n- [Framer Motion Docs](https:\u002F\u002Fwww.framer.com\u002Fmotion\u002F) - Framer Motion (legacy)\n- [Motion GitHub](https:\u002F\u002Fgithub.com\u002Fframer\u002Fmotion) - Source code & examples\n\n### Bundled Resources\n\nThis skill includes:\n\n**references\u002F**\n- `api_reference.md` - Complete Motion API reference\n- `variants_patterns.md` - Variant patterns and orchestration\n- `gesture_guide.md` - Comprehensive gesture handling guide\n\n**scripts\u002F**\n- `animation_generator.py` - Generate Motion component boilerplate\n- `variant_builder.py` - Interactive variant configuration tool\n\n**assets\u002F**\n- `starter_motion\u002F` - Complete Motion + Vite starter template\n- `examples\u002F` - Real-world Motion component patterns\n\n### Community Resources\n- [Motion Dev Discord](https:\u002F\u002Fdiscord.gg\u002Fmotion) - Official community\n- [Framer Motion Examples](https:\u002F\u002Fwww.framer.com\u002Fmotion\u002Fexamples\u002F) - Interactive examples\n- [Motion Recipes](https:\u002F\u002Fmotion.dev\u002Fdocs\u002Frecipes) - Common patterns\n- [CodeSandbox Templates](https:\u002F\u002Fcodesandbox.io\u002Fs\u002Fframer-motion-examples) - Live demos\n",{},"main","ac20f93f36e574610dbc51743bb21e7765142e95","skills\u002Ffrontend\u002Fmotion-framer",32,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config","https:\u002F\u002Fgithub.com\u002FAnastasiyaW","https:\u002F\u002Fhappyin.work","ComfyUI specialist · turnkey image-processing pipelines · diffusion models, computer vision · Belgrade","2026-11-14 01:35:49",{"source":7,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add AnastasiyaW\u002Fcodex-claude-code-config --skill motion-framer",{"tool":42,"command":43},"bunx","bunx skills add AnastasiyaW\u002Fcodex-claude-code-config --skill motion-framer",{"tool":45,"command":46},"pnpm","pnpm dlx skills add AnastasiyaW\u002Fcodex-claude-code-config --skill motion-framer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002FSKILL.md",true,[50,56,60,64,68,72,76,80,84,88,92,98,102,108,112],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"assets\u002Fexamples\u002FREADME.md","ASSET","资产文件",73986,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fexamples\u002FREADME.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"assets\u002Fstarter_motion\u002Findex.html",958,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Findex.html",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"assets\u002Fstarter_motion\u002Fpackage.json",452,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fpackage.json",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"assets\u002Fstarter_motion\u002FREADME.md",6762,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002FREADME.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"assets\u002Fstarter_motion\u002Fsrc\u002FApp.css",1747,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fsrc\u002FApp.css",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"assets\u002Fstarter_motion\u002Fsrc\u002FApp.jsx",3513,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fsrc\u002FApp.jsx",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002Fstarter_motion\u002Fsrc\u002Fcomponents\u002FDraggableBox.jsx",1439,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fsrc\u002Fcomponents\u002FDraggableBox.jsx",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"assets\u002Fstarter_motion\u002Fsrc\u002Fcomponents\u002FHoverCard.jsx",803,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fsrc\u002Fcomponents\u002FHoverCard.jsx",{"path":85,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":86,"sourceHtmlUrl":87},"assets\u002Fstarter_motion\u002Fsrc\u002Fcomponents\u002FStaggerList.jsx",1582,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fsrc\u002Fcomponents\u002FStaggerList.jsx",{"path":89,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":90,"sourceHtmlUrl":91},"assets\u002Fstarter_motion\u002Fsrc\u002Fmain.jsx",208,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fsrc\u002Fmain.jsx",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"assets\u002Fstarter_motion\u002Fvite.config.js","SCRIPT","脚本",210,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fassets\u002Fstarter_motion\u002Fvite.config.js",{"path":99,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":15},"LICENSE","许可证",1078,{"path":103,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fapi_reference.md","REFERENCE","参考文档",20478,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Freferences\u002Fapi_reference.md",{"path":109,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fanimation_generator.py",15573,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fscripts\u002Fanimation_generator.py",{"path":113,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fvariant_builder.py",13942,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Fmotion-framer\u002Fscripts\u002Fvariant_builder.py",[117,125,140,167,195,204],{"skillNo":118,"name":119,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":22},"01M6JZ2SNGKFN8NK3HZBMVGQP1","owner-voice","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fowner-voice\u002FSKILL.md",[],[123,124],"owner voice","voice",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":22},"01M6JZ2N0C2WFCAK6T8N3RMBVS","humanize-russian","Редактировать русский текст для ясности и естественного звучания, сохраняя факты,\nтермины, источники и жанр. Использовать когда: убрать канцелярит, сделать текст\nживее, отредактировать русский черновик или статью перед публикацией.\nНе определяет авторство и не обещает обход детекторов. Для английского —\nhumanize-english; для структуры и доказательств — article-structure-review.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fhumanize-russian\u002FSKILL.md",[],[132,133,134,135,136,137,138,139],"russian","humanize","humanize russian","english","review","structure","article","2026",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":22},"01M6JZ2GN264R6GKBQ5QVZE0ZS","humanize-english","Edit English drafts for clear, natural language while preserving facts, uncertainty,\ntechnical meaning, citations and genre. Use when: humanize this text, remove AI-style\nfiller, improve English prose, or edit an English article before publication.\nNot an authorship detector or a promise to bypass one. For Russian use\nhumanize-russian; for thesis\u002Fevidence and structure use article-structure-review.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fhumanize-english\u002FSKILL.md",[],[133,135,147,148,132,149,150,151,152,137,153,154,155,136,156,139,157,158,159,160,161,162,163,164,138,165,166],"humanize english","technical","evidence","use","remove","edit","text","improve","Citations","Publication","when","for","facts","natural language","drafts","meaning","uncertainty","style","thesis","promise",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":22},"01M6JZ2BM31D5Y609DQJJJM6MM","caveman","Ultra-compressed reply mode. Cuts output tokens ~65-75% by answering in terse \"caveman\" style while keeping full technical accuracy, and shapes what survives: action first, state restated every turn, concrete time estimates, visible wins. Intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says \"caveman\", \"talk like caveman\", \"use caveman\", \"less tokens\", \"be brief\", or Russian \"пещерный режим\", \"говори как пещерный\", \"кратко\", \"меньше токенов\", \"экономь токены\" — or invokes \u002Fcaveman. Preserves the user's language (Russian in → Russian caveman out). Off only: \"stop caveman\" \u002F \"normal mode\" \u002F \"обычный режим\". Do not use merely because a response should be concise, and do not use when the user requests normal prose, a polished document, or exact wording.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fcaveman\u002FSKILL.md",[],[169,164,157,174,175,176,177,178,179,180,181,182,183,184,185,186,187,132,188,189,190,191,150,148,192,193,194],"normal","terse","accuracy","ultra","mode","document","requests","concise","output","intensity","tokens","full","time","do","action","default","stop","only","first","brief","state",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":22},"01M6JZ25Y5GJXFKXNR6TRQX237","article-structure-review","Проверить структуру технической статьи после черновика: задача читателя, жанр,\nопора значимых утверждений на доказательства и честные ограничения.\nUse after the first draft, before publication. Исправлять структуру, когда это\nвходит в запрос; не создавать обязательный конвейер из других навыков.\nДля локальной языковой редактуры — humanize-english или humanize-russian.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Farticle-structure-review\u002FSKILL.md",[],[202,138,137,136,203,133,132,150,192,135,156,139],"article structure review","draft",{"skillNo":205,"name":206,"nameZh":6,"description":207,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":22},"01M6JZ1XN7WQQCWCHHMTTD8K28","video-post-production","Video post-production rules: audio mastering, color, captions, platform export. Use when: 'add music', 'add voiceover', 'export for tiktok', 'add captions', 'color grade', 'audio levels', 'master audio', 'export settings', 'platform requirements'. Covers FFmpeg patterns, audio chain, subtitle standards, and platform-specific export configs. Do NOT use to generate or animate the video frames\u002Fscenes in code (use remotion-production-guide), to write the script (use video-narrative-arc), or to evaluate script quality (use script-evaluator); this is the finishing stage applied to an already-rendered video.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-production\u002Fvideo-post-production\u002FSKILL.md",[],[211,212,213,214,215,157,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230],"video post production","post","Production","Video","patterns","post-production","narrative","add","chain","tiktok","voiceover","master","export","write","music","Captions","Audio","Remotion","code","generate"]