Communitygithub.com

NeverSight/learn-skills.dev

构建 Awwwards 级别的 Web 体验,使用弹簧物理、GLSL 着色器、R3F、后处理、粒子系统、Framer Motion 和交互式 3D。适用于创意编码、WebGL、电影级 UI 或获奖级动效设计。

learn-skills.dev 是什么?

该技能旨在帮助开发者和 AI 代理利用最前沿的 Web 技术与创意编码模式,打造具有获奖品质(如 Awwwards 站点)的交互式、电影级 Web 体验。它整合了 React Three Fiber (R3F)、Three.js、GLSL 着色器、Framer Motion 和 GSAP 等核心工具,并强调使用弹簧物理(Spring Physics)模拟自然动效,而非传统的时间曲线缓动。技能内容涵盖了从基本的着色器原理、噪声函数(Perlin、Simplex 等)、玻璃材质层叠设计,到高级的粒子系统(含 FBO 优化)、后处理管线创意(如像素化、CMYK 半色调)、折射与色散等光效模拟。其核心思想是将界面视为具有物理深度的三维环境,通过精细的动画和视觉效果,弥合普通 Web 项目与行业顶尖获奖作品之间的差距。该技能适用于任何支持 Node.js、React 和 WebGL 的开发环境或 AI 编码代理(如 Claude Code、Cursor 等),并提供可直接用于构建的代码片段和数学原理。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/adamperlis/awwwards-motion/awwwards-motion

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Awwwards 级别动效与创意 Web 开发

你是精通 GLSL 着色器、React Three Fiber (R3F)、Three.js、WebGL 后处理、粒子系统、Framer Motion 动画和交互式 3D Web 体验的创意 Web 开发专家。你从基本原理出发构建事物,对数学有深刻理解,并且始终追求交互性强、视觉效果出众的成果。

该技能灵感源自 Awwwards "当日最佳站点" 获奖作品背后的工艺——那些在动效、交互和视觉保真度上树立了 Web 标杆的站点。它结合了一个基于物理的动效系统和一个全面的创意编码工具包,将界面视为一个物理的 3D 环境,而非扁平矩形。目标是缩短获奖工作室所能交付的成果与大多数团队认为可能做到的事情之间的差距。

该技能建立在对 Maxime Heckel 的博客 (blog.maximeheckel.com)、Codrops (tympanus.net/codrops) 以及驱动 Awwwards、FWA 和 CSS Design Awards 获奖者的更广泛创意 Web 生态系统的深入研究之上。

核心技术栈

  • 3D 与着色器:React Three Fiber、Three.js、GLSL(顶点 + 片段着色器)、WebGL 渲染目标 / FBO、@react-three/drei、@react-three/postprocessing、Lamina(可组合着色器层)、WebGPU/TSL(新兴技术)
  • 动画:Framer Motion(布局动画、AnimatePresence、共享布局动画、Reorder)、GSAP + ScrollTrigger、弹簧物理
  • 前端:React/Next.js、TypeScript、CSS 变量、MDX、设计系统
  • 创意编码模式:噪声函数(Perlin、Simplex、Curl、FBM)、有符号距离函数、光线步进、体积渲染、粒子系统(缓冲几何体 + FBO)、后处理管线

1. 基于物理的动效

所有动效都将使用弹簧物理。切勿使用基于持续时间的缓动(ease-in-out、cubic-bezier)。弹簧之所以生动,是因为它们能响应速度、张力和摩擦力。

弹簧常量

刚度 (Stiffness): 300
阻尼 (Damping): 30
质量 (Mass): 1

行为

  • 元素会轻微过冲目标(1.05倍缩放),然后回落至 1.0倍
  • 根据移动距离,过渡时长在 400ms 到 700ms 之间
  • 动感应如丝般顺滑且自然停止,而非机械生硬

实现方式

Framer Motion (React):

<motion.div
  animate={{ scale: 1 }}
  transition={{
    type: "spring",
    stiffness: 300,
    damping: 30,
    mass: 1
  }}
/>

GSAP:

gsap.to(element, {
  scale: 1,
  duration: 0.6,
  ease: "elastic.out(1, 0.5)"
});

CSS (仅作回退方案):

transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

2. 玻璃表面

每个凸起的表面都使用多层玻璃堆叠。这不是简单的 backdrop-filter: blur() —— 而是一种合成材质。

层级堆叠 (从下到上)

  1. 背景模糊:多层高斯模糊 (20px–40px)
  2. 表面填充:半透明白色 — rgba(255, 255, 255, 0.05)
  3. 内边框:1px 实线,带有线性渐变,模拟光线击打顶部边缘的效果
  4. 环境阴影:高扩散度、大范围、极低不透明度 — 模拟环境光遮蔽,而非投影

CSS 实现

.glass-surface {
  backdrop-filter: blur(28px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.02) 100%
  ) 1;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

规则

  • 仅在深色背景上使用。玻璃材质在浅色背景上效果很差。
  • 绝不要在玻璃表面上使用纯色背景。
  • 玻璃应让人感觉具有物理深度和重量。
  • 模糊值:标准玻璃 28px,聚光灯/模态框覆盖层 40px。

3. React Three Fiber 中的 GLSL 着色器基础

心法模型

一个网格 = 几何体 + 材质。着色器用自定义 GPU 程序替换材质。两个函数在 GPU 上运行:

  • 顶点着色器:定位每个顶点。每个顶点执行一次。输出 gl_Position。
  • 片段着色器:为每个像素着色。每个像素执行一次。输出 gl_FragColor。

基础 R3F 着色器设置

import { Canvas } from '@react-three/fiber';
import { useRef, useMemo } from 'react';

const fragmentShader = `
  uniform float u_time;
  varying vec2 vUv;

  void main() {
    vec3 color = mix(vec3(1.0, 0.0, 0.5), vec3(1.0, 1.0, 0.0), vUv.x);
    gl_FragColor = vec4(color, 1.0);
  }
`;

const vertexShader = `
  varying vec2 vUv;

  void main() {
    vUv = uv;
    vec4 modelPosition = modelMatrix * vec4(position, 1.0);
    vec4 viewPosition = viewMatrix * modelPosition;
    gl_Position = projectionMatrix * viewPosition;
  }
`;

const MyMesh = () => {
  const mesh = useRef();
  const uniforms = useMemo(() => ({
    u_time: { value: 0.0 },
  }), []);

  return (
    <mesh ref={mesh}>
      <planeGeometry args={[2, 2, 32, 32]} />
      <shaderMaterial
        fragmentShader={fragmentShader}
        vertexShader={vertexShader}
        uniforms={uniforms}
      />
    </mesh>
  );
};

关键概念

Uniforms — 连接 JS 数据与着色器。只读,每个顶点/像素的值相同。使用 useFrame 在每一帧更新:

useFrame(({ clock }) => {
  mesh.current.material.uniforms.u_time.value = clock.elapsedTime;
});

始终使用 useMemo 缓存 uniforms 对象,以防止重渲染错误。

Varyings — 将数据从顶点着色器传递到片段着色器。在两者中声明,在顶点着色器中赋值,在片段着色器中读取:

// 顶点着色器
varying vec2 vUv;
void main() {
  vUv = uv;
  // ...
}

// 片段着色器
varying vec2 vUv;
void main() {
  gl_FragColor = vec4(vUv.x, vUv.y, 0.0, 1.0);
}

Attributes — 每个顶点的数据(位置、uv、自定义)。仅可在顶点着色器中访问。使用 varyings 将其传递到片段着色器。

4. 噪声函数

几乎所有有机外观的着色器都使用噪声。将它们视为工具。

  • Perlin 噪声:平滑、有机的随机性。非常适合地形、斑点形变。
  • Simplex 噪声:与 Perlin 类似,但速度更快且伪影更少。非常适合渐变、动态纹理。
  • Curl 噪声:从 Perlin/Simplex 导出,产生无发散场。非常适合类流体粒子运动。
  • 分形布朗运动 (FBM):不同频率/振幅的噪声层叠。可创造云状、山峦般的细节。

使用 glsl-noise 包,或直接将函数复制到你的着色器字符串中。

“斑点”模式

// 带有 Perlin 噪声位移的顶点着色器
uniform float u_time;
uniform float u_intensity;

void main() {
  float displacement = pnoise(position * 1.5 + u_time * 0.5, vec3(10.0));
  vec3 newPosition = position + normal * displacement * u_intensity;
  // ... 对 newPosition 进行标准的 MVP 变换
}

5. 片段着色器效果

这些效果将 UI 从“网站”提升到“电影级体验”。请谨慎使用,并且应作用于环境级别,而非单个组件。

色差

一种后处理过程,在视口边缘偏移 R/B 通道。

偏移量:0.002
应用范围:仅视口边缘,非中心
目的:模拟物理相机镜头

网格渐变背景

使用 3-4 个基于噪声、缓慢漂移的色块创建的动画背景。

颜色:
  - #00F0FF (青色)
  - #7000FF (紫色)
  - #000000 (深木炭色)

运动:缓慢、有机的漂移 (想想熔岩灯,不是屏保)

胶片颗粒

单色噪声覆盖层,用于消除数字条带并增加纹理质感。

不透明度:2% (0.02)
类型:单色
动画:细微的逐帧变化

6. 粒子系统

使用 BufferGeometry 的基础粒子

const count = 5000;
const positions = useMemo(() => {
  const pos = new Float32Array(count * 3);
  for (let i = 0; i < count; i++) {
    pos.set([
      (Math.random() - 0.5) * 4,
      (Math.random() - 0.5) * 4,
      (Math.random() - 0.5) * 4,
    ], i * 3);
  }
  return pos;
}, []);

return (
  <points>
    <bufferGeometry>
      <bufferAttribute
        attach="attributes-position"
        count={count}
        array={positions}
        itemSize={3}
      />
    </bufferGeometry>
    <shaderMaterial
      vertexShader={vertexShader}
      fragmentShader={fragmentShader}
      uniforms={uniforms}
      blending={THREE.AdditiveBlending}
      depthWrite={false}
    />
  </points>
);

让粒子发光

// 片段着色器
void main() {
  float strength = distance(gl_PointCoord, vec2(0.5));
  strength = 1.0 - strength;
  strength = pow(strength, 3.0);

  vec3 color = mix(vec3(0.0), vec3(0.34, 0.53, 0.96), strength);
  gl_FragColor = vec4(color, strength);
}

用于巨量粒子计数的帧缓冲对象 (FBO)

FBO 允许你将位置计算通过模拟过程卸载到 GPU,从而实现 100k+ 粒子:

  1. 将粒子位置存储在一个 DataTexture 中(每个粒子一个 vec4 = RGBA)。
  2. 创建一个 SimulationMaterial,在其片段着色器中读取并变换位置。
  3. 将该材质渲染到一个离屏 WebGLRenderTarget(使用 drei 的 useFBO)。
  4. 将生成的纹理作为 uniform 传递给渲染过程(render pass),用于定位粒子。
// 模拟材质类
class SimulationMaterial extends THREE.ShaderMaterial {
  constructor(size) {
    const positionsTexture = new THREE.DataTexture(
      generatePositions(size, size),
      size, size,
      THREE.RGBAFormat, THREE.FloatType
    );
    positionsTexture.needsUpdate = true;
    super({
      uniforms: {
        positions: { value: positionsTexture },
        uTime: { value: 0 }
      },
      vertexShader: simVertexShader,
      fragmentShader: simFragmentShader,
    });
  }
}

// 在 useFrame 中:将模拟材质渲染到 FBO,然后将 FBO 的纹理传递给粒子
useFrame(({ gl, clock }) => {
  gl.setRenderTarget(renderTarget);
  gl.clear();
  gl.render(simScene, simCamera);
  gl.setRenderTarget(null);
  points.current.material.uniforms.uPositions.value = renderTarget.texture;
  simMaterialRef.current.uniforms.uTime.value = clock.elapsedTime;
});

7. 渲染目标

WebGLRenderTarget 将场景渲染到一个离屏缓冲区,将其像素内容作为纹理提供。

核心模式

const renderTarget = useFBO();

useFrame(({ gl, scene, camera }) => {
  gl.setRenderTarget(renderTarget);
  gl.render(scene, camera);
  mesh.current.material.map = renderTarget.texture;
  gl.setRenderTarget(null);
});

使用场景

透明/玻璃材质 — 隐藏网格,将场景渲染到 FBO,使用屏幕坐标将 FBO 纹理映射到网格上:

vec2 uv = gl_FragCoord.xy / winResolution.xy;
vec4 color = texture2D(uTexture, uv);

传送门 (场景中的场景) — 使用 R3F 的 createPortal 渲染一个离屏场景,将其捕捉到 FBO,然后映射到一个平面上。通过复制主摄像机的 matrixWorldInverse 添加视差效果。

视错觉 — 在 useFrame 的多个渲染过程之间交换材质/几何体,通过一个透镜网格显示替代版本。

场景切换 — 将两个场景渲染到两个 FBO,使用 Perlin 噪声 + 进度 uniform 进行混合:

float noise = clamp(cnoise(vUv * 2.5) + uProgress * 2.0, 0.0, 1.0);
vec4 color = mix(colorA, colorB, noise);

后处理管线 — 在一个全屏三角形上,使用自定义着色器材质链式连接渲染目标,作为 EffectComposer 的替代方案。

8. 折射、色散与光效

折射

使用 GLSL 内置的 refract() 函数,配合 eyeVector、worldNormal 和 IOR 比率:

vec3 refractVec = refract(eyeVector, worldNormal, 1.0 / 1.31);
vec4 color = texture2D(uTexture, uv + refractVec.xy);

色散

为每个颜色通道应用不同的 IOR 值,分离 R、G、B:

float R = texture2D(uTexture, uv + refractVecR.xy).r;
float G = texture2D(uTexture, uv + refractVecG.xy).g;
float B = texture2D(uTexture, uv + refractVecB.xy).b;

通过采样循环使效果平滑(对每个通道迭代 N 次,并逐步滑动)。使用傅里叶插值将色彩空间从 RGB 扩展到 RYGCBV,以获得更多控制。

高光 + 漫反射 (Blinn-Phong)

vec3 lightVector = normalize(-uLight);
vec3 halfVector = normalize(eyeVector + lightVector);
float kDiffuse = max(0.0, dot(normal, lightVector));
float kSpecular = pow(dot(normal, halfVector) * dot(normal, halfVector), shininess);
return kSpecular + kDiffuse * diffuseness;

菲涅尔效应

float fresnel = pow(1.0 - abs(dot(eyeVector, worldNormal)), uFresnelPower);

背面渲染技巧

首先渲染网格的背面(THREE.BackSide),捕捉到 FBO,然后渲染正面。背面的高光会被正面折射/色散,从而创建令人信服的内部色散效果。

9. 作为创意媒介的后处理

像素化基础

vec2 normalizedPixelSize = pixelSize / resolution;
vec2 uvPixel = normalizedPixelSize * floor(uv / normalizedPixelSize);
vec4 color = texture2D(inputBuffer, uvPixel);

访问单元格局部坐标

vec2 cellUV = fract(uv / normalizedPixelSize); // 每个单元格内 0->1

这是在每个像素格内雕刻图案的关键。

后处理着色器的两大支柱

  1. 重新映射/扭曲 UV 坐标(像素化、交错、偏移)
  2. 单独塑造每个单元格(基于亮度的图案、SDF、阈值矩阵)

图案技巧

收据/条形图案 — 使用亮度控制每个单元格内 cellUV 的 lineWidth。

半色调 — 通过距离场绘制圆形,根据亮度变化半径:

float luma = dot(vec3(0.2126, 0.7152, 0.0722), color.rgb);
float radius = uRadius * (0.1 + luma);
float circle = smoothstep(radius - 0.01, radius + 0.01, dist);

CMYK 半色调 — 四个旋转网格(C:15度, M:75度, Y:0度, K:45度),将 RGB 转换为 CMYK,进行减色混合:

vec3 outColor = vec3(1.0);
outColor.r *= (1.0 - CYAN_STRENGTH * dotC);
outColor.g *= (1.0 - MAGENTA_STRENGTH * dotM);
outColor.b *= (1.0 - YELLOW_STRENGTH * dotY);
outColor *= ...

[为了翻译而截断]

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.

相关技能