[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BG4JVANCWJENNFMBG4ANCT":3,"skill-same:01M7BG4JVANCWJENNFMBG4ANCT":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M7BG4JVANCWJENNFMBG4ANCT","motion-foundations",null,"Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React \u002F Next.js using motion\u002Freact. Foundation layer — all other motion skills depend on this.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-Everything-claude-code\u002Fskills\u002Fmotion-foundations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: motion-foundations\ndescription: Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React \u002F Next.js using motion\u002Freact. Foundation layer — all other motion skills depend on this.\nversion: 1.0\ntags: [motion, animation, performance, accessibility]\ncategory: frontend\nauthor: jeff\n---\n\n# Motion Foundations\n\nThe base layer of the motion system. Defines every value, constraint, and\nrule that downstream skills (`motion-patterns`, `motion-advanced`) inherit.\nLoad this skill before any animation work begins.\n\n## When to Activate\n\n- Starting any animated component from scratch\n- Setting up tokens, spring presets, or easing values\n- Implementing `prefers-reduced-motion` support\n- Debugging hydration mismatches from animation initial states\n- Evaluating whether an animation should exist at all\n\n## Outputs\n\nThis skill produces:\n\n- A shared `motionTokens` object (duration, easing, distance, scale)\n- A shared `springs` preset map (5 named configs)\n- A `shouldAnimate()` gate used by all components\n- Accessibility-compliant animation defaults via `useReducedMotion`\n- SSR-safe initial states with zero hydration warnings\n\n## Principles\n\nMotion must do at least one of the following or it must be removed:\n\n- Guide attention\n- Communicate state\n- Preserve spatial continuity\n\nResponsiveness always outranks smoothness. A 60 fps animation that causes\ninput delay is worse than no animation.\n\n## Rules\n\nThese are non-negotiable. They apply to every component in the system.\n\n1. **Use `motion\u002Freact` only.** Never import from `framer-motion`. Never mix the two in the same tree.\n2. **`initial` must match server output.** If the server renders `opacity: 1`, the `initial` prop must also be `opacity: 1`. No exceptions.\n3. **Reduced motion overrides everything.** When `useReducedMotion()` returns `true` or `prefersReduced` is `true`, all transforms are disabled. Opacity-only fades at ≤ 0.2s are the only permitted fallback.\n4. **Never animate layout properties.** `width`, `height`, `top`, `left`, `margin`, `padding` are banned from `animate`. Use `transform` and `opacity` only.\n5. **All token values come from `motionTokens`.** Hardcoded durations and easings in component files are forbidden.\n6. **All spring configs come from the `springs` map.** Inline `stiffness`\u002F`damping` values are forbidden.\n7. **`\"use client\"` is required** on every file that imports from `motion\u002Freact`.\n8. **Never read `window` or `navigator` at module level.** Always guard with `typeof window !== \"undefined\"`.\n\n## Decision Guidance\n\n### Choosing a duration\n\n| Token | Use when |\n| --------- | -------------------------------------------- |\n| `instant` | Tooltip show\u002Fhide, focus ring, badge update |\n| `fast` | Button feedback, icon swap, chip toggle |\n| `normal` | Modal open, card expand, page element enter |\n| `slow` | Hero entrance, full-page transition |\n| `crawl` | Deliberate storytelling; use sparingly |\n\n### Choosing a spring\n\n| Preset | Use when |\n| --------- | ------------------------------------------ |\n| `snappy` | Default UI — buttons, chips, nav items |\n| `gentle` | Cards, modals, panels landing softly |\n| `bouncy` | Playful moments — empty states, onboarding |\n| `instant` | Tooltips, popovers, dropdowns |\n| `release` | Drag release — natural physics feel |\n\n### When to disable animation entirely\n\nDisable (make `shouldAnimate()` return `false`) when:\n\n- `prefersReduced` is `true`\n- `isLowEnd` is `true` and the animation is non-essential\n- The element is off-screen and will never enter the viewport\n- The animation is purely decorative with no UX purpose\n\n## Core Concepts\n\n### Token system\n\n```ts\n\u002F\u002F lib\u002Fmotion-tokens.ts\nexport const motionTokens = {\n  duration: {\n    instant: 0.08,\n    fast:    0.18,\n    normal:  0.35,\n    slow:    0.6,\n    crawl:   1.0,\n  },\n  easing: {\n    smooth: [0.22, 1, 0.36, 1],\n    sharp:  [0.4, 0, 0.2, 1],\n    bounce: [0.34, 1.56, 0.64, 1],\n    linear: [0, 0, 1, 1],\n  },\n  distance: {\n    xs: 4,\n    sm: 8,\n    md: 16,\n    lg: 24,\n    xl: 48,\n  },\n  scale: {\n    subtle: 0.98,\n    press:  0.95,\n    pop:    1.04,\n  },\n}\n\nexport const springs = {\n  snappy:  { type: \"spring\", stiffness: 300, damping: 30 },\n  gentle:  { type: \"spring\", stiffness: 120, damping: 14 },\n  bouncy:  { type: \"spring\", stiffness: 400, damping: 10 },\n  instant: { type: \"spring\", stiffness: 600, damping: 35 },\n  release: { type: \"spring\", stiffness: 200, damping: 20, restDelta: 0.001 },\n}\n```\n\n### Runtime flags\n\n```ts\n\u002F\u002F lib\u002Fmotion-config.ts\nexport const motionConfig = {\n  isLowEnd() {\n    return (\n      typeof navigator !== \"undefined\" &&\n      navigator.hardwareConcurrency \u003C= 4\n    )\n  },\n\n  prefersReduced() {\n    return (\n      typeof window !== \"undefined\" &&\n      window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches\n    )\n  },\n\n  shouldAnimate({ essential = false } = {}) {\n    if (this.prefersReduced()) return false\n    if (!essential && this.isLowEnd()) return false\n    return true\n  },\n\n  duration() {\n    return this.isLowEnd() || this.prefersReduced()\n      ? motionTokens.duration.instant\n      : motionTokens.duration.normal\n  },\n}\n```\n\n### Accessibility\n\n**Priority order (highest to lowest):**\n\n1. `prefers-reduced-motion: reduce` — disables all transforms, limits opacity transitions to ≤ 0.2s\n2. Low-end device detection — reduces duration, removes non-essential animations\n3. Design preference — everything else\n\nMotion must degrade gracefully. It must never disappear abruptly in a way\nthat causes layout shift or confuses orientation.\n\n```tsx\n\u002F\u002F hooks\u002Fuse-reduced-motion.tsx\n\"use client\"\nimport { useReducedMotion } from \"motion\u002Freact\"\n\nexport function useSafeMotion(fullY: number = 16) {\n  const reduce = useReducedMotion()\n  return {\n    initial: { opacity: 0, y: reduce ? 0 : fullY },\n    animate: { opacity: 1, y: 0 },\n    exit:    { opacity: 0, y: reduce ? 0 : -fullY },\n  }\n}\n```\n\n```css\n\u002F* globals.css *\u002F\n@media (prefers-reduced-motion: reduce) {\n  .motion-safe-transition  { transition: opacity 0.15s; }\n  .motion-reduce-transform { transform: none !important; }\n}\n```\n\n```html\n\u003C!-- Tailwind -->\n\u003Cdiv class=\"motion-safe:animate-fade motion-reduce:opacity-100\">\u003C\u002Fdiv>\n```\n\n### SSR \u002F hydration safety\n\n**Rule: `initial` must always match what the server renders.**\n\n```tsx\n\u002F\u002F WRONG — server renders opacity:1 but initial says 0 → hydration mismatch\n\u003Cmotion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} \u002F>\n\n\u002F\u002F CORRECT — use AnimatePresence or defer to client mount\n\"use client\"\nconst [mounted, setMounted] = useState(false)\nuseEffect(() => setMounted(true), [])\n\n\u003Cmotion.div\n  initial={{ opacity: mounted ? 0 : 1 }}\n  animate={{ opacity: 1 }}\n\u002F>\n```\n\n## Code Examples\n\n### End-to-end: tokens + springs + accessibility + SSR guard\n\n```tsx\n\u002F\u002F components\u002Ffade-in-card.tsx\n\"use client\"\n\nimport { useState, useEffect } from \"react\"\nimport { motion } from \"motion\u002Freact\"\nimport { motionTokens, springs } from \"@\u002Flib\u002Fmotion-tokens\"\nimport { useSafeMotion } from \"@\u002Fhooks\u002Fuse-reduced-motion\"\nimport { motionConfig } from \"@\u002Flib\u002Fmotion-config\"\n\ninterface FadeInCardProps {\n  children: React.ReactNode\n  delay?: number\n}\n\nexport function FadeInCard({ children, delay = 0 }: FadeInCardProps) {\n  \u002F\u002F SSR guard — initial must match server output (opacity: 1)\n  const [mounted, setMounted] = useState(false)\n  useEffect(() => setMounted(true), [])\n\n  \u002F\u002F Accessibility — disables transform when reduced motion is preferred\n  const safeMotion = useSafeMotion(motionTokens.distance.md)\n\n  \u002F\u002F Device gate — skip animation on low-end hardware\n  if (!motionConfig.shouldAnimate() || !mounted) {\n    return \u003Cdiv>{children}\u003C\u002Fdiv>\n  }\n\n  return (\n    \u003Cmotion.div\n      initial={safeMotion.initial}\n      animate={safeMotion.animate}\n      exit={safeMotion.exit}\n      transition={{\n        ...springs.gentle,\n        delay,\n      }}\n      whileHover={{ scale: motionTokens.scale.pop }}\n      whileTap={{ scale: motionTokens.scale.press }}\n    >\n      {children}\n    \u003C\u002Fmotion.div>\n  )\n}\n```\n\n## Constraints \u002F Non-Goals\n\nThis skill does **not** cover:\n\n- UI component patterns (button, modal, stagger) → see `motion-patterns`\n- Drag, gestures, SVG, text animations, custom hooks → see `motion-advanced`\n- CSS-only animations or Tailwind `animate-*` classes without `motion\u002Freact`\n- Third-party animation libraries (GSAP, anime.js, etc.)\n- Motion design decisions (when to animate, what to emphasize) — that is a design concern, not a code constraint\n\n## Anti-Patterns\n\n| Anti-pattern | Rule violated | Fix |\n| --------------------------------------- | ------- | ------------------------------- |\n| `import { motion } from \"framer-motion\"` | Rule 1 | Use `motion\u002Freact` |\n| `initial={{ opacity: 0 }}` on SSR component | Rule 2 | Add mount guard |\n| Skipping `useReducedMotion` check | Rule 3 | Use `useSafeMotion` hook |\n| `animate={{ width: \"100%\" }}` | Rule 4 | Use `scaleX` transform instead |\n| `transition={{ duration: 0.4 }}` inline | Rule 5 | Use `motionTokens.duration.normal` |\n| `{ stiffness: 300, damping: 30 }` inline | Rule 6 | Use `springs.snappy` |\n| Missing `\"use client\"` directive | Rule 7 | Add to top of file |\n| `navigator.hardwareConcurrency` at module level | Rule 8 | Wrap in `typeof navigator !== \"undefined\"` |\n\n## Related Skills\n\n- **`motion-patterns`** — consumes tokens and springs defined here to build button, modal, stagger, page transition, and scroll patterns. Does not redefine any values.\n- **`motion-advanced`** — consumes tokens and springs defined here for drag, SVG, text, and gesture patterns. Adds `useAnimate` sequences and custom hooks on top of this foundation.\n","# Motion Foundations\n\nThe base layer of the motion system. Defines every value, constraint, and\nrule that downstream skills (`motion-patterns`, `motion-advanced`) inherit.\nLoad this skill before any animation work begins.\n\n## When to Activate\n\n- Starting any animated component from scratch\n- Setting up tokens, spring presets, or easing values\n- Implementing `prefers-reduced-motion` support\n- Debugging hydration mismatches from animation initial states\n- Evaluating whether an animation should exist at all\n\n## Outputs\n\nThis skill produces:\n\n- A shared `motionTokens` object (duration, easing, distance, scale)\n- A shared `springs` preset map (5 named configs)\n- A `shouldAnimate()` gate used by all components\n- Accessibility-compliant animation defaults via `useReducedMotion`\n- SSR-safe initial states with zero hydration warnings\n\n## Principles\n\nMotion must do at least one of the following or it must be removed:\n\n- Guide attention\n- Communicate state\n- Preserve spatial continuity\n\nResponsiveness always outranks smoothness. A 60 fps animation that causes\ninput delay is worse than no animation.\n\n## Rules\n\nThese are non-negotiable. They apply to every component in the system.\n\n1. **Use `motion\u002Freact` only.** Never import from `framer-motion`. Never mix the two in the same tree.\n2. **`initial` must match server output.** If the server renders `opacity: 1`, the `initial` prop must also be `opacity: 1`. No exceptions.\n3. **Reduced motion overrides everything.** When `useReducedMotion()` returns `true` or `prefersReduced` is `true`, all transforms are disabled. Opacity-only fades at ≤ 0.2s are the only permitted fallback.\n4. **Never animate layout properties.** `width`, `height`, `top`, `left`, `margin`, `padding` are banned from `animate`. Use `transform` and `opacity` only.\n5. **All token values come from `motionTokens`.** Hardcoded durations and easings in component files are forbidden.\n6. **All spring configs come from the `springs` map.** Inline `stiffness`\u002F`damping` values are forbidden.\n7. **`\"use client\"` is required** on every file that imports from `motion\u002Freact`.\n8. **Never read `window` or `navigator` at module level.** Always guard with `typeof window !== \"undefined\"`.\n\n## Decision Guidance\n\n### Choosing a duration\n\n| Token | Use when |\n| --------- | -------------------------------------------- |\n| `instant` | Tooltip show\u002Fhide, focus ring, badge update |\n| `fast` | Button feedback, icon swap, chip toggle |\n| `normal` | Modal open, card expand, page element enter |\n| `slow` | Hero entrance, full-page transition |\n| `crawl` | Deliberate storytelling; use sparingly |\n\n### Choosing a spring\n\n| Preset | Use when |\n| --------- | ------------------------------------------ |\n| `snappy` | Default UI — buttons, chips, nav items |\n| `gentle` | Cards, modals, panels landing softly |\n| `bouncy` | Playful moments — empty states, onboarding |\n| `instant` | Tooltips, popovers, dropdowns |\n| `release` | Drag release — natural physics feel |\n\n### When to disable animation entirely\n\nDisable (make `shouldAnimate()` return `false`) when:\n\n- `prefersReduced` is `true`\n- `isLowEnd` is `true` and the animation is non-essential\n- The element is off-screen and will never enter the viewport\n- The animation is purely decorative with no UX purpose\n\n## Core Concepts\n\n### Token system\n\n```ts\n\u002F\u002F lib\u002Fmotion-tokens.ts\nexport const motionTokens = {\n  duration: {\n    instant: 0.08,\n    fast:    0.18,\n    normal:  0.35,\n    slow:    0.6,\n    crawl:   1.0,\n  },\n  easing: {\n    smooth: [0.22, 1, 0.36, 1],\n    sharp:  [0.4, 0, 0.2, 1],\n    bounce: [0.34, 1.56, 0.64, 1],\n    linear: [0, 0, 1, 1],\n  },\n  distance: {\n    xs: 4,\n    sm: 8,\n    md: 16,\n    lg: 24,\n    xl: 48,\n  },\n  scale: {\n    subtle: 0.98,\n    press:  0.95,\n    pop:    1.04,\n  },\n}\n\nexport const springs = {\n  snappy:  { type: \"spring\", stiffness: 300, damping: 30 },\n  gentle:  { type: \"spring\", stiffness: 120, damping: 14 },\n  bouncy:  { type: \"spring\", stiffness: 400, damping: 10 },\n  instant: { type: \"spring\", stiffness: 600, damping: 35 },\n  release: { type: \"spring\", stiffness: 200, damping: 20, restDelta: 0.001 },\n}\n```\n\n### Runtime flags\n\n```ts\n\u002F\u002F lib\u002Fmotion-config.ts\nexport const motionConfig = {\n  isLowEnd() {\n    return (\n      typeof navigator !== \"undefined\" &&\n      navigator.hardwareConcurrency \u003C= 4\n    )\n  },\n\n  prefersReduced() {\n    return (\n      typeof window !== \"undefined\" &&\n      window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches\n    )\n  },\n\n  shouldAnimate({ essential = false } = {}) {\n    if (this.prefersReduced()) return false\n    if (!essential && this.isLowEnd()) return false\n    return true\n  },\n\n  duration() {\n    return this.isLowEnd() || this.prefersReduced()\n      ? motionTokens.duration.instant\n      : motionTokens.duration.normal\n  },\n}\n```\n\n### Accessibility\n\n**Priority order (highest to lowest):**\n\n1. `prefers-reduced-motion: reduce` — disables all transforms, limits opacity transitions to ≤ 0.2s\n2. Low-end device detection — reduces duration, removes non-essential animations\n3. Design preference — everything else\n\nMotion must degrade gracefully. It must never disappear abruptly in a way\nthat causes layout shift or confuses orientation.\n\n```tsx\n\u002F\u002F hooks\u002Fuse-reduced-motion.tsx\n\"use client\"\nimport { useReducedMotion } from \"motion\u002Freact\"\n\nexport function useSafeMotion(fullY: number = 16) {\n  const reduce = useReducedMotion()\n  return {\n    initial: { opacity: 0, y: reduce ? 0 : fullY },\n    animate: { opacity: 1, y: 0 },\n    exit:    { opacity: 0, y: reduce ? 0 : -fullY },\n  }\n}\n```\n\n```css\n\u002F* globals.css *\u002F\n@media (prefers-reduced-motion: reduce) {\n  .motion-safe-transition  { transition: opacity 0.15s; }\n  .motion-reduce-transform { transform: none !important; }\n}\n```\n\n```html\n\u003C!-- Tailwind -->\n\u003Cdiv class=\"motion-safe:animate-fade motion-reduce:opacity-100\">\u003C\u002Fdiv>\n```\n\n### SSR \u002F hydration safety\n\n**Rule: `initial` must always match what the server renders.**\n\n```tsx\n\u002F\u002F WRONG — server renders opacity:1 but initial says 0 → hydration mismatch\n\u003Cmotion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} \u002F>\n\n\u002F\u002F CORRECT — use AnimatePresence or defer to client mount\n\"use client\"\nconst [mounted, setMounted] = useState(false)\nuseEffect(() => setMounted(true), [])\n\n\u003Cmotion.div\n  initial={{ opacity: mounted ? 0 : 1 }}\n  animate={{ opacity: 1 }}\n\u002F>\n```\n\n## Code Examples\n\n### End-to-end: tokens + springs + accessibility + SSR guard\n\n```tsx\n\u002F\u002F components\u002Ffade-in-card.tsx\n\"use client\"\n\nimport { useState, useEffect } from \"react\"\nimport { motion } from \"motion\u002Freact\"\nimport { motionTokens, springs } from \"@\u002Flib\u002Fmotion-tokens\"\nimport { useSafeMotion } from \"@\u002Fhooks\u002Fuse-reduced-motion\"\nimport { motionConfig } from \"@\u002Flib\u002Fmotion-config\"\n\ninterface FadeInCardProps {\n  children: React.ReactNode\n  delay?: number\n}\n\nexport function FadeInCard({ children, delay = 0 }: FadeInCardProps) {\n  \u002F\u002F SSR guard — initial must match server output (opacity: 1)\n  const [mounted, setMounted] = useState(false)\n  useEffect(() => setMounted(true), [])\n\n  \u002F\u002F Accessibility — disables transform when reduced motion is preferred\n  const safeMotion = useSafeMotion(motionTokens.distance.md)\n\n  \u002F\u002F Device gate — skip animation on low-end hardware\n  if (!motionConfig.shouldAnimate() || !mounted) {\n    return \u003Cdiv>{children}\u003C\u002Fdiv>\n  }\n\n  return (\n    \u003Cmotion.div\n      initial={safeMotion.initial}\n      animate={safeMotion.animate}\n      exit={safeMotion.exit}\n      transition={{\n        ...springs.gentle,\n        delay,\n      }}\n      whileHover={{ scale: motionTokens.scale.pop }}\n      whileTap={{ scale: motionTokens.scale.press }}\n    >\n      {children}\n    \u003C\u002Fmotion.div>\n  )\n}\n```\n\n## Constraints \u002F Non-Goals\n\nThis skill does **not** cover:\n\n- UI component patterns (button, modal, stagger) → see `motion-patterns`\n- Drag, gestures, SVG, text animations, custom hooks → see `motion-advanced`\n- CSS-only animations or Tailwind `animate-*` classes without `motion\u002Freact`\n- Third-party animation libraries (GSAP, anime.js, etc.)\n- Motion design decisions (when to animate, what to emphasize) — that is a design concern, not a code constraint\n\n## Anti-Patterns\n\n| Anti-pattern | Rule violated | Fix |\n| --------------------------------------- | ------- | ------------------------------- |\n| `import { motion } from \"framer-motion\"` | Rule 1 | Use `motion\u002Freact` |\n| `initial={{ opacity: 0 }}` on SSR component | Rule 2 | Add mount guard |\n| Skipping `useReducedMotion` check | Rule 3 | Use `useSafeMotion` hook |\n| `animate={{ width: \"100%\" }}` | Rule 4 | Use `scaleX` transform instead |\n| `transition={{ duration: 0.4 }}` inline | Rule 5 | Use `motionTokens.duration.normal` |\n| `{ stiffness: 300, damping: 30 }` inline | Rule 6 | Use `springs.snappy` |\n| Missing `\"use client\"` directive | Rule 7 | Add to top of file |\n| `navigator.hardwareConcurrency` at module level | Rule 8 | Wrap in `typeof navigator !== \"undefined\"` |\n\n## Related Skills\n\n- **`motion-patterns`** — consumes tokens and springs defined here to build button, modal, stagger, page transition, and scroll patterns. Does not redefine any values.\n- **`motion-advanced`** — consumes tokens and springs defined here for drag, SVG, text, and gesture patterns. Adds `useAnimate` sequences and custom hooks on top of this foundation.\n",{"name":5,"tags":24,"author":29,"version":14,"category":30,"description":7},[25,26,27,28],"motion","animation","performance","accessibility","jeff","frontend","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-AI-应用工具\u002FYYC3-AI-应用工具-Everything-claude-code\u002Fskills\u002Fmotion-foundations",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill motion-foundations",{"tool":46,"command":47},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill motion-foundations",{"tool":49,"command":50},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill motion-foundations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-Everything-claude-code\u002Fskills\u002Fmotion-foundations\u002FSKILL.md",true,[],[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]