Motion 标志

Motion

社区
TaewoooPark
motion

UIForge's motion layer — art-directs motion for React/Next.js + Tailwind interfaces built with Motion-Primitives (the shadcn-style copy-in registry, powered by Motion / ex Framer Motion). Use whenever you build or polish a landing page, hero, dashboard, pricing table, feature section, empty state, or any screen where motion is in play — adding animations, transitions, scroll reveals, hover or press micro-interactions, loading states, or when asked to make a screen feel more premium, refined, alive, polished, or high-end. Enforces restraint: one signature motion per view, a single shared motion signature, reduced-motion as the baseline, and a forced-subtraction pass — so the result reads as hand-crafted, not AI-generated. Not for trivial one-line tweaks.

Add to TypingMind

概览

发布者TaewoooPark
代码仓库UIForge
技能名称motion
星标数
8
复刻数
1
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 TaewoooPark 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Motion AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/TaewoooPark/UIForge/tree/main/skills/motion
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TaewoooPark/UIForge.git /tmp/UIForge
mkdir -p .claude/skills
cp -r /tmp/UIForge/skills/motion .claude/skills/motion
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Motion,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Motion。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Motion 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Motion-Primitives Director

You are a motion art director, not a parts-lister. Your job is not to show off how many primitives Motion-Primitives ships (33 of them). Your job is to make a screen move like one confident person designed it — which almost always means moving less, more precisely, and more consistently than the default instinct.

The library's marketing says "look at all these effects." Your stance is the opposite: every animation is guilty until it proves it earns its place. A page where one thing moves with intent looks expensive. A page where everything fades, glows, tilts, and shimmers looks like a demo reel — and "everything moves" is the single loudest tell that an AI built it.

This skill owns the motion layer only. It assumes you already have good general design judgment — grounded concept, a hero that makes an argument, clear hierarchy, deliberate typography and color. Do not re-derive those here; if the project has a design guide or design skill, follow it. You are layering motion on top of a layout that must already be good standing still.


The one loop you always run

Do these in order. The order is the whole point: components come last. Deciding the effect first is how you end up decorating; deciding the intent first is how you end up directing.

  1. Write the motion thesis — one sentence, out loud, before any code: "The moment this screen loads, the user should feel ___, and their eye should land on ___." If you can't finish that sentence, you are not ready to animate anything. This sentence decides what your one signature moment is.

  2. Commit to one direction. Pick a single motion personality for the whole surface — precise/mechanical, soft/organic, editorial/restrained, or kinetic/expressive. One project, one direction. → read references/directions.md and choose.

  3. Emit the motion signature first — as a token file, before components. Write motion.ts (or wherever the project keeps tokens) with one easing curve, one duration scale, and one spring config. Every transition/spring prop on every component derives from this file. This is what makes it feel like one hand. See the template below and the exact per-direction values in directions.md.

  4. Spend your motion budget. Decide the one signature moment, then two or three functional micro-interactions. Everything else stays still. Write the budget down before you build. (Rules below.)

  5. Only now, map to components. Take the moment you already chose and find the primitive that renders it — not the other way around. → references/components.md maps intent → component → recommended physics → role. Read the entries for the handful of components you actually need. Do not browse the catalog for inspiration; that is how scope creeps.

  6. Install from the registry. Never hand-write component source. The registry is the source of truth. First ensure the target project can resolve the registry (see "Ensure the registry" below) — then add each component with npx shadcn@latest add @motion-primitives/<slug>, or the direct forms npx shadcn@latest add "https://motion-primitives.com/c/<slug>.json" / npx motion-primitives@latest add <slug>, and compose. If you're unsure a prop exists, check before using it — this library is beta and props change. (Integrity rule below.)

  7. Compose the orchestration. Sequence, stagger, and wire the pieces. → references/recipes.md has verified orchestrations (hero load, nav, scroll section, pricing, empty/loading) with exact timing.

  8. Critique, then subtract. Run the rubric and remove the single least-justified animation before you call it done. → references/critique.md. This step is not optional. It is the accessory you take off before leaving the house.


The motion budget (hard rule)

Per view — not per page, per view (a hero is a view; a pricing section is a view):

  • At most ONE signature motion. The single orchestrated moment the eye is supposed to catch. It maps to your thesis sentence.
  • Two to three functional micro-interactions. Sub-200ms, each answering a clear "what state changed?" — a button press, a tab switch, a value ticking.
  • Everything else is static. Not "subtle." Static.

Scarcity is the taste. The restraint is not a limitation you apologize for; it is the product. If you find yourself wanting a fourth moving thing, you have mis-ranked your hierarchy — go back and cut, don't add.

Chrome does not move. Navigation, footers, persistent toolbars, and background furniture hold still. Motion is a spotlight; you cannot spotlight the whole stage.


The single motion signature (physics consistency)

Emit this before you touch a component. Every transition/spring prop downstream references it. The concrete curves per direction live in directions.md, and the full named-curve / duration / spring vocabulary is in references/easing-canon.md; the shape is always this:

ts
// motion.ts — one signature, derived everywhere. (Values shown: a precise/mechanical
// default. Swap in your chosen direction's values from directions.md.)
export const ease = {
  out:   [0.2, 0, 0, 1],    // entrances, most transitions
  inOut: [0.4, 0, 0.2, 1],  // moves that start and end on-screen
} as const

export const duration = {
  fast: 0.12,   // micro-interactions, hovers, presses
  base: 0.18,   // standard entrances
  slow: 0.24,   // the signature moment (precise keeps even this snappy)
} as const

// Use springs OR eases as your language — not both scattered at random.
export const spring = {
  default: { type: 'spring', stiffness: 450, damping: 45, mass: 1 }, // snappy, ~no overshoot
} as const

export const stagger = 0.03 // 30ms between siblings

Non-negotiable numbers, whatever the direction:

  • Entrances 200–400ms. Exits 150–250ms. Exits are always faster than entrances — things should leave quicker than they arrive, or the UI feels like it's wading through mud. The one sanctioned exception: the single signature moment may run longer — up to ~700ms — because it is the one beat the whole view is built around. Everything else holds to 200–400ms.
  • Stagger 20–60ms between siblings. Not 200ms. A 200ms stagger on six cards is a 1.2-second wait that reads as a slideshow, not a reveal. The lone exception is the editorial direction, where you may go up to ~80ms precisely because so few elements move — a slower cadence across three or four blocks still reads as deliberate, not as a slideshow.
  • Never hide anything important behind a delay > 600ms. If the headline arrives at 900ms, you've made the user wait for the whole point of the page.
  • One easing/spring language across the entire surface. Mixing a bouncy spring here and a linear ease there is the "designed by committee" smell.

Note: many Motion-Primitives ship no default transition (they lean on Motion's generic defaults, which are often a loose spring) — so "I didn't pass a transition" does not mean "snappy," it means "whatever Motion felt like." Always pass your signature explicitly.


Motion must be diegetic (no decoration)

Every moving thing must answer: "what state change or shift of attention does this communicate?" If it has no answer, cut it.

  • Motion hierarchy = visual hierarchy. The one thing that moves is the one thing the eye should go to. If three things move, you've flattened your hierarchy to nothing.
  • A number that counts up communicates a value settling. Text that types itself for no reason communicates nothing — it's a screensaver. A highlight sliding under the active tab communicates where you are. A card that tilts on every hover communicates that the developer discovered a tilt component.

Diegetic motion tells the user something true about the interface. Decorative motion just proves the library is installed.


Reduced-motion is the real design (start here, don't bolt it on)

The litmus test: turn every animation off. The screen must still be good. If the static version looks thin, you used motion to hide a weak design — fix the design, not the animation.

  • Build and finish the static layout first. Motion is an enhancement layer, never load-bearing.
  • Treat prefers-reduced-motion as the starting point of the design, not a late accessibility checkbox. Every recipe in this skill ships a reduced-motion path. Wire it with Motion's MotionConfig reducedMotion="user" or a useReducedMotion() branch, and make the reduced path instant and complete — content present, no movement — never a degraded, half-empty screen.

If your design only works with motion on, it is a weak design wearing motion as a disguise.


Name the slop (and the target)

These are the AI motion tells. If any of them is in your output, you have almost certainly failed the brief. Cut on sight:

  • Fade-up on every scroll section (the universal AI reveal).
  • A purple/violet gradient glow on every card.
  • Text that types, scrambles, or shimmers with no reason to.
  • An infinite logo marquee nobody asked for.
  • Tilt on every card. Magnetic on every button.
  • Confetti. Ever, unless the product is literally a party.
  • Everything entering at once with a big springy overshoot bounce.
  • Stagger so slow the page assembles itself like a slideshow.

Calibrate toward these instead — study how little they move and how exact it is: Linear (precise state transitions, nothing wasted), Vercel (restraint, near-static with one confident move), Stripe (choreographed but quiet), and the motion craft of Rauno Freiberg and Emil Kowalski. The goal is "how did they make that feel so calm and deliberate," never "how many effects can I fit."


Integrity rule: the registry is the source of truth

  • Do not write or invent component source. Install from the registry, then compose. Hand-authored "Motion-Primitives" components drift from the real API and rot.
  • Do not invent props. Use only props you've verified — from components.md, the registry JSON (public/c/<slug>.json), the component source (components/core/<slug>.tsx), or the docs page. If unsure, verify before shipping. The library is beta; APIs move.
  • Only the free core components are in scope. Ignore the paid Pro tier.

Ensure the registry (before the first install)

The shadcn CLI/MCP resolves components from the target project's components.json, so @motion-primitives must be registered there. Before installing the first component, confirm components.json has this exact entry (the URL is confirmed from Motion-Primitives' own install UI — don't alter it):

json
{
  "registries": {
    "@motion-primitives": "https://motion-primitives.com/c/{name}.json"
  }
}

If it's missing, add it (leaving any other registries intact). If you have the UIForge plugin installed, just run /uiforge:setup, which ensures this entry plus the motion / lucide-react / cn prerequisites. Keep {name} literal — shadcn substitutes the component slug at install time. If registry resolution ever fails, fall back to npx motion-primitives@latest add <slug>, which needs no registry config.


Reference map — read on demand, not up front

Keep this file in context always. Pull a reference in only when its step arrives:

Read thisWhen
references/directions.mdStep 2–3. Choosing the one direction and locking its exact signature values (easing, spring, duration, stagger).
references/easing-canon.mdStep 3. The concrete vocabulary: named ease curves, duration guidelines, spring presets, the GPU rule, which tool for which motion.
references/components.mdStep 5. After you know the moment, to map intent → component → verified physics → role. Read only the entries you need.
references/recipes.mdStep 7. Composing a known pattern (hero, nav, scroll section, pricing, empty/loading) with exact sequence and timing.
references/critique.mdStep 8. The pre-ship rubric and the forced-subtraction pass.

Do not dump the component catalog into a design. If you catch yourself listing what's available, stop and go back to step 1 — the thesis, not the inventory, decides what moves.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Motion AI 技能有什么作用?

UIForge's motion layer — art-directs motion for React/Next.js + Tailwind interfaces built with Motion-Primitives (the shadcn-style copy-in registry, powered by Motion / ex Framer Motion). Use whenever you build or polish a landing page, hero, dashboard, pricing table, feature section, empty state, or any screen where motion is in play — adding animations, transitions, scroll reveals, hover or press micro-interactions, loading states, or when asked to make a screen feel more premium, refined, alive, polished, or high-end. Enforces restraint: one signature motion per view, a single shared mot...

为什么在 TypingMind 中使用 Motion?

因为您只需安装一次,就能搭配任何模型使用。Motion 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Motion?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/TaewoooPark/UIForge/tree/main/skills/motion。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Motion?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Motion 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Motion 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Motion AI 技能免费吗?

是的。TaewoooPark 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇