Communitygithub.com

NeverSight/learn-skills.dev-動畫設計

在網頁應用程式中實作動畫、轉場、微互動或動態設計時使用此技能。觸發條件包括 CSS 動畫、Framer Motion、GSAP、關鍵影格、轉場、彈簧動畫、捲動驅動動畫、頁面轉場、載入狀態,以及任何需要動作或動畫實作的任務。

learn-skills.dev-動畫設計 是什麼?

這項技能提供了一個專注且具觀點性的知識庫,用於在網頁應用程式中實作動畫與動態效果。它涵蓋 CSS 轉場與關鍵影格、Framer Motion、GSAP、捲動驅動動畫以及微互動,並為每種模式提供具體的程式碼範例。技能的核心原則強調動畫應有其目的性,必須尊重使用者的 `prefers-reduced-motion` 設定,並優先使用 `transform` 和 `opacity` 等屬性以確保 60fps 的流暢效能。它支援 React(Framer Motion)和純 JavaScript(GSAP)專案,並提供明確的決策指南,協助開發者在 CSS 動畫、Framer Motion 和 GSAP 之間做出正確選擇。此外,技能也詳細說明了常見的反模式,例如避免動畫化 `width` 或 `height`,以及正確使用 `will-change`,確保動畫既實用又高效能。

相容平台✓Claude Code✓Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/absolutelyskilled/absolutelyskilled/motion-design

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

當此技能被啟動時,請始終以 🧢 表情符號開始你的第一個回應。

動態設計 (Motion Design)

一個專注、具觀點性的知識庫,用於在網頁應用程式中實作動畫與動態效果。涵蓋 CSS 轉場與關鍵影格、Framer Motion、GSAP、捲動驅動動畫以及微互動——並為每種模式提供具體的程式碼範例。所有建議都優先考慮 60fps 效能、可及性與有目的的動畫,而非純裝飾。

好的動畫與壞的動畫之間的區別在於克制。大多數 UI 需要的動畫更少,而非更多。當動畫存在時,它必須快速、流暢,並尊重使用者的偏好設定。


何時使用此技能

當使用者出現以下情況時啟動此技能:

  • 要求為任何 UI 元素添加動畫或轉場
  • 需要元件安裝或卸載時的進入/離開動畫
  • 想要實作頁面轉場或路由變更動畫
  • 詢問關於 Framer Motion、GSAP 或 CSS 動畫 API 的問題
  • 需要捲動驅動動畫或視差效果
  • 想要使用骨架螢幕或旋轉圖示的載入狀態
  • 詢問關於彈簧物理、緩動曲線或動畫時間設定的問題
  • 需要為複雜的多步驟序列建立 GSAP 時間軸
  • 詢問關於微互動(懸停、按壓、切換、核取方塊狀態)的問題

請勿在以下情況啟動此技能:

  • 純 CSS 佈局或樣式且無動畫(改用 ultimate-ui)
  • Canvas 或 WebGL 渲染(改用特定於圖形的資源)

關鍵原則

  1. 動畫應有目的 - 每個動畫都必須傳達某種資訊:狀態變更、空間關係、回饋或層級結構。純裝飾性的動畫只是噪音。在添加動畫之前,先問問自己「這個動畫告訴了使用者什麼?」

  2. 尊重 prefers-reduced-motion - 始終將動畫包裹在 prefers-reduced-motion 檢查中。患有前庭障礙或癲癇的使用者可能會因動畫而受到傷害。這是 WCAG 2.1 AA 級別的要求,而非建議。

  3. 僅對變形與不透明度進行動畫處理 - transform 和 opacity 是瀏覽器可以在合成執行緒上進行動畫處理而不觸發佈局或繪製的唯一屬性。對 width、height、top、left、margin 或 padding 進行動畫處理會導致卡頓。請改用 transform: scale/translate。

  4. 彈簧緩動 > 線性緩動 - 自然的運動使用基於物理的緩動,而非均勻速度。彈簧動畫感覺有生命力。linear 感覺像機器人。進入時使用 ease-out,離開時使用 ease-in,對於回應使用者輸入的互動元素則使用彈簧/彈跳效果。

  5. 60fps 或什麼都不要 - 如果一個動畫掉幀,就移除它。一個卡頓的動畫比沒有動畫更糟糕。在限制 CPU 的環境下進行測試(Chrome DevTools 中的 4 倍速降速)。如果掉到 60fps 以下,就簡化或刪除它。


核心概念

動畫屬性

  • 持續時間:微互動(按鈕懸停)為 100-150ms,UI 元素(模態框、下拉選單)為 200-300ms,佈局(頁面轉場)為 300-500ms。互動回饋絕不超過 500ms。
  • 緩動:元素進入畫面時使用 ease-out(快速開始,平穩著陸)。元素離開時使用 ease-in(慢速開始,快速結束)。元素在畫面中移動時使用 ease-in-out。互動/趣味元素使用彈簧緩動。
  • 延遲:謹慎使用。子元素交錯最多 50-75ms。總交錯序列不應超過 400ms,否則使用者會感到在等待。

CSS 與 JS 動畫的決策指南

  • 對於由 class 或偽類別(:hover、:focus、:active)觸發的簡單狀態變更,使用 CSS 轉場。零 JS 開銷。
  • 對於循環動畫(旋轉圖示、脈衝)以及與互動無關的編排序列,使用 CSS 關鍵影格。
  • 對於與元件安裝/卸載相關的進入/離開動畫、手勢驅動動畫或佈局動畫,使用 Framer Motion (React)。
  • 對於複雜的多步驟時間軸、SVG 路徑動畫、捲動觸發序列,或當你需要精確的程式控制時,使用 GSAP。

彈簧物理 一個彈簧有兩個關鍵參數:stiffness(加速有多快)和 damping(多快穩定下來)。高剛度 + 高阻尼 = 靈敏。低剛度 + 低阻尼 = 有彈性且緩慢。對於 UI:剛度 300-500,阻尼 25-35 可提供自然的感覺而不會過度彈跳。

效能 - 合成執行緒與主執行緒 瀏覽器在兩個階段進行渲染:主執行緒(佈局、繪製)和合成執行緒(transform、opacity)。即使在主執行緒忙碌時,合成執行緒上的動畫也能以 60fps 運行。始終使用 transform 和 opacity。僅對你知道將會進行動畫處理的元素添加 will-change: transform - 過度使用 will-change 會浪費 GPU 記憶體。


常見任務

CSS 轉場與關鍵影格

/* 可重複使用的緩動 Token */
:root {
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 100ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
}

/* 淡入上移 - 內容出現 */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 縮放進入 - 模態框、彈出視窗 */
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.modal {
  animation: scale-in var(--duration-normal) var(--ease-out);
}

/* 卡片懸停 - 升高效果 */
.card {
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

Framer Motion 進入/離開動畫

import { motion, AnimatePresence } from 'framer-motion';

// 可重複使用的動畫變體
const fadeUp = {
  initial: { opacity: 0, y: 12 },
  animate: { opacity: 1, y: 0 },
  exit:    { opacity: 0, y: -8 },
  transition: { duration: 0.2, ease: [0, 0, 0.2, 1] },
};

const scaleIn = {
  initial: { opacity: 0, scale: 0.95 },
  animate: { opacity: 1, scale: 1 },
  exit:    { opacity: 0, scale: 0.95 },
  transition: { duration: 0.15, ease: [0, 0, 0.2, 1] },
};

// 具有進入/離開的元件
function Notification({ show, message }: { show: boolean; message: string }) {
  return (
    <AnimatePresence>
      {show && (
        <motion.div
          key="notification"
          {...fadeUp}
          className="toast"
        >
          {message}
        </motion.div>
      )}
    </AnimatePresence>
  );
}

// 交錯列表
function AnimatedList({ items }: { items: string[] }) {
  return (
    <motion.ul
      initial="hidden"
      animate="visible"
      variants={{
        hidden: {},
        visible: { transition: { staggerChildren: 0.06 } },
      }}
    >
      {items.map((item) => (
        <motion.li
          key={item}
          variants={{
            hidden: { opacity: 0, x: -12 },
            visible: { opacity: 1, x: 0, transition: { duration: 0.2 } },
          }}
        >
          {item}
        </motion.li>
      ))}
    </motion.ul>
  );
}

使用 CSS 的捲動驅動動畫

/* 原生 CSS 捲動驅動動畫 (Chrome 115+) */
@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 25%;
}

/* 與頁面捲動綁定的進度條 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-primary-500);
  transform-origin: left;
  animation: scaleX linear;
  animation-timeline: scroll(root);
}
@keyframes scaleX {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* 用於更廣泛瀏覽器支援的 IntersectionObserver 備援方案 */
// IntersectionObserver - 適用於所有瀏覽器
const observer = new IntersectionObserver(
  (entries) => {
    entries.forEach((entry) => {
      if (entry.isIntersecting) {
        entry.target.classList.add('in-view');
        observer.unobserve(entry.target); // 只動畫一次
      }
    });
  },
  { threshold: 0.15 }
);

document.querySelectorAll('[data-reveal]').forEach((el) => observer.observe(el));
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

使用 AnimatePresence 的頁面轉場

import { AnimatePresence, motion } from 'framer-motion';
import { usePathname } from 'next/navigation';

const pageVariants = {
  initial: { opacity: 0, y: 8 },
  animate: { opacity: 1, y: 0, transition: { duration: 0.25, ease: [0, 0, 0.2, 1] } },
  exit:    { opacity: 0, y: -8, transition: { duration: 0.15, ease: [0.4, 0, 1, 1] } },
};

export function PageTransition({ children }: { children: React.ReactNode }) {
  const pathname = usePathname();

  return (
    <AnimatePresence mode="wait">
      <motion.div key={pathname} {...pageVariants}>
        {children}
      </motion.div>
    </AnimatePresence>
  );
}

使用 mode="wait" 以便離開的頁面在新頁面進入之前完全動畫化離開。mode="sync"(預設)可能導致重疊。保持頁面轉場在 250ms 以下 - 使用者正在等待查看新內容。

微互動 - 懸停、按壓、切換

import { motion } from 'framer-motion';

// 具有按壓回饋的按鈕
function Button({ children, onClick }: React.ComponentProps<'button'>) {
  return (
    <motion.button
      whileHover={{ scale: 1.02 }}
      whileTap={{ scale: 0.97 }}
      transition={{ type: 'spring', stiffness: 500, damping: 30 }}
      onClick={onClick}
    >
      {children}
    </motion.button>
  );
}

// 動畫切換開關 (CSS)
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--color-gray-300);
  border-radius: 12px;
  transition: background 150ms var(--ease-in-out);
  cursor: pointer;
}
.toggle[aria-checked="true"] {
  background: var(--color-primary-500);
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 200ms var(--ease-spring);
}
.toggle[aria-checked="true"]::after {
  transform: translateX(20px);
}

/* 使用 grid-template-rows 技巧的手風琴 */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms var(--ease-out);
}
.accordion-content[data-open="true"] {
  grid-template-rows: 1fr;
}
.accordion-content > div {
  overflow: hidden;
}

用於複雜序列的 GSAP 時間軸

import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';

gsap.registerPlugin(ScrollTrigger);

// 英雄區域進入序列
function animateHero() {
  const tl = gsap.timeline({ defaults: { ease: 'power2.out' } });

  tl.from('.hero-badge',    { opacity: 0, y: 16, duration: 0.4 })
    .from('.hero-headline', { opacity: 0, y: 20, duration: 0.5 }, '-=0.2')
    .from('.hero-subtext',  { opacity: 0, y: 16, duration: 0.4 }, '-=0.3')
    .from('.hero-cta',      { opacity: 0, scale: 0.95, duration: 0.35 }, '-=0.2');

  return tl;
}

// 捲動觸發的特色卡片
gsap.utils.toArray<HTMLElement>('.feature-card').forEach((card, i) => {
  gsap.from(card, {
    opacity: 0,
    y: 32,
    duration: 0.5,
    delay: i * 0.08,
    ease: 'power2.out',
    scrollTrigger: {
      trigger: card,
      start: 'top 85%',
      once: true,
    },
  });
});

GSAP 時間軸中的 '-=0.2' 偏移量在步驟之間建立了重疊,以形成流暢、連貫的序列。沒有它,每個步驟都會感覺彼此脫節。重疊前一步驟持續時間的 20-40%。

尊重 prefers-reduced-motion

/* CSS - 作為安全網的全面規則 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
// Framer Motion - useReducedMotion hook
import { useReducedMotion } from 'framer-motion';

function AnimatedCard({ children }: { children: React.ReactNode }) {
  const prefersReduced = useReducedMotion();

  return (
    <motion.div
      initial={prefersReduced ? false : { opacity: 0, y: 12 }}
      animate={{ opacity: 1, y: 0 }}
      transition={prefersReduced ? { duration: 0 } : { duration: 0.2 }}
    >
      {children}
    </motion.div>
  );
}
// 原生 JS - 在執行 GSAP 之前檢查偏好設定
const prefersReduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches;

if (!prefersReduced) {
  animateHero();
}

反模式 (Anti-patterns)

錯誤為什麼錯應該怎麼做
對 width、height、top 或 left 進行動畫處理每幀都會觸發佈局重新計算,導致卡頓改用 transform: scale() 或 transform: translate()
transition: all會捕獲到意外的屬性,難以預測,存在效能風險列出特定的屬性:transition: transform 200ms, opacity 200ms
互動回饋持續時間超過 500ms使用者會感覺 UI 反應遲鈍或故障保持按鈕/懸停/切換在 200ms 以下,模態框在 300ms 以下
為簡單的懸停效果使用 GSAP對於 CSS 本身就能處理的東西來說,開銷巨大狀態變更使用 CSS transition,僅時間軸使用 GSAP
交錯延遲總和超過 500ms使用者等待內容出現,而不是看到它出現將每個項目的延遲上限設為 75ms,總交錯上限為 400ms
到處使用 will-change: transform每個 will-change 都會建立一個 GPU 圖層 - 過度使用會浪費 VRAM僅添加給你確定會進行動畫處理的元素,動畫完成後移除

參考資料

如需有關特定動態主題的詳細指導,請閱讀 references/ 資料夾中的相關檔案:

…

[為翻譯而截斷]

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

相關技能