AI LineAiline Skillhub
技能市场/motion-frames

motion-frames

motion-frames

A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video poster", "title card", or pairs Open Claude Design with HyperFrames for a kinetic export.

Motion Frames Skill

Produce a single full-bleed motion composition. Inline CSS animations only — the page is the loop. Treat it as a poster frame that an exporter (HyperFrames, Lottie, etc.) can capture into a video.

Workflow

  1. Read the active DESIGN.md (injected above). Motion lives or dies on typography contrast — pick the most expressive serif / display token in the DS for the headline; the body / mono token labels everything else.
  2. Compose the canvas as a 16:9 hero with these layers, back to front:
    • Stage — full-bleed <main>. Off-white or DS-canvas background, very subtle dotted grid texture (CSS background, radial-gradient dots at 22–32px intervals).
    • Concentric rings — 2–3 SVG circles radiating from a focal point. Ultra-thin strokes (0.5–1px) in DS-foreground at low opacity. These rotate at different speeds (60s, 90s, 180s).
    • Focal mark — a wireframe globe, a stylized object, or a typographic monogram drawn as inline SVG. ~28% of the canvas wide.
    • Ring labels — short words / phonetic tokens placed around one of the rings (e.g. "Hola · Bonjour · 你好 · नमस्ते"). They co-rotate with the ring, with <text> paths counter-rotated so the words stay upright.
    • Headline — bottom-left or center-bottom. Display serif, italic accent on one word. Add a subtle letterSpacing + opacity reveal animation (@keyframes type-in).
    • Frame chrome — corner stamps (top-left lab tag, top-right brand or issue number) and a thin baseline rule. Static.
  3. Animate with @keyframes only — no JS:
    • rotate-slow, rotate-med, rotate-fast for rings.
    • globe-spin for the focal mark.
    • pulse for the focal dot, ~2s, easing.
    • marquee-fade to reveal headline once on load.
  4. Write a single HTML document:
    • <!doctype html> through </html>, CSS inline.
    • All motion uses CSS — no scripts, so HyperFrames or any frame-grabber can capture it deterministically.
    • data-od-id on stage, focal, ring, headline, chrome.
  5. Self-check:
    • The composition still reads as a poster with motion paused at frame 0.
    • At least 3 layers move at different speeds (depth comes from delta velocity, not parallax tricks).
    • Accent appears once — usually the italic word in the headline.

Output contract

Emit between <artifact> tags:

<artifact identifier="motion-slug" type="text/html" title="Motion — Title">
<!doctype html>
<html>...</html>
</artifact>

One sentence before the artifact, nothing after.

安装中心

可直接安装到 9 个框架(另有 Cursor / Windsurf 需转换为 rules 格式)。悬停可查看各框架的技能目录。

方式一 · 复制提示词(推荐)

粘贴给你的 Claude Code,它会自己完成下载和安装(安装文件直接取自原始仓库)

请帮我安装技能「motion-frames」:
1. 从原始仓库下载技能文件:https://raw.githubusercontent.com/nexu-io/open-design/main/design-templates/motion-frames/SKILL.md(GitHub 上的 SKILL.md 原始文件)
2. 保存为 ~/.claude/skills/motion-frames/SKILL.md(目录不存在则创建)
3. 确认文件存在后,告诉我安装结果

方式二 · 命令行安装

npx CLI 跨平台可用(自动检测本机 Agent);PowerShell 方式无需安装任何东西

npx ailine-skills add motion-frames
New-Item -ItemType Directory -Force "$HOME\.claude\skills\motion-frames" | Out-Null; curl.exe -fsSL "https://raw.githubusercontent.com/nexu-io/open-design/main/design-templates/motion-frames/SKILL.md" -o "$HOME\.claude\skills\motion-frames\SKILL.md"

方式三 · 前往原始仓库

第三方技能不由本站分发安装文件,请从原始仓库获取(上方命令/提示词已直连原始文件)