Skip to main content
ZICQ

Skills ZICQ category:Agent Workflows motion-lab

Motion Lab

FINDS, SELECTS AND ADAPTS DYNAMIC EFFECTS FOR CURRENT PAGES OR COMPONENTS. HTML/CSS/JS CONTAINING 160 CASES, PARAMETER AND INDEX IN CHINESE AND ENGLISH, COVERING FOUNDATION, TEXT, INTERACTIVE AND ADVANCED DYNAMICS。

Official URL:GitHub

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

When to use it

The official description does not include a separate “Use when”. Per the spec, agents activate this skill when the task matches keywords in that description.

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: Open Design 宿主约定; Motion.Lab 动效案例库; 使用步骤; 常见需求; 许可随包保留. It includes spec-recommended sections: step-by-step instructions.

File analysis

File analysis: besides SKILL.md, the body references references/index.md, references/basic.md, references/text.md, references/interaction.md, references/advanced.md, references/license.md. Those resources load on demand.

Official description (original)

为当前网页或组件查找、选型和改造动效。包含 160 个案例的 HTML/CSS/JS、参数与中英文索引,覆盖基础、文字、交互和高级动效。

Open Design 宿主约定Motion.Lab 动效案例库使用步骤常见需求许可随包保留

· License:MIT

Source category:GitHub skill

SKILL.md & Agent activation

Official spec ↗
name
motion-lab
description
为当前网页或组件查找、选型和改造动效。包含 160 个案例的 HTML/CSS/JS、参数与中英文索引,覆盖基础、文字、交互和高级动效。
License
MIT
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.
Files referenced by the instructions · 6
  • references/index.md
  • references/basic.md
  • references/text.md
  • references/interaction.md
  • references/advanced.md
  • references/license.md

These paths are extracted from the text. Check the upstream package to verify the files exist.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

This skill references supporting files. Retrieve the complete directory from the source; copying SKILL.md alone may leave missing dependencies.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "motion-lab" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-391f34895d3b077d-Motion-Lab.html
Save it as .cursor/skills/motion-lab/SKILL.md or .claude/skills/motion-lab/SKILL.md and keep the frontmatter name and description exactly as-is.
This skill also ships scripts/, references/, or assets/ — fetch the whole folder from https://github.com/nexu-io/open-design/tree/HEAD/skills/motion-lab instead of creating only a SKILL.md.

Full package on GitHub ↗

Install from the terminal · Skills CLI

Requires Node.js and npx. First inspect the repository's skill list to confirm the name.

npx skills add 'https://github.com/nexu-io/open-design/tree/HEAD/skills/motion-lab' --list

npx skills add 'https://github.com/nexu-io/open-design/tree/HEAD/skills/motion-lab' --skill 'motion-lab'

The CLI lets you choose the agent interactively. The default scope is the project; use -g for user scope. Confirm package availability with the discovery command, then use npx skills list to inspect installed skills.

Readable layout

name: motion-lab description: "为当前网页或组件查找、选型和改造动效。包含 160 个案例的 HTML/CSS/JS、参数与中英文索引,覆盖基础、文字、交互和高级动效。" en_name: motion-lab zh_name: "Motion.Lab · 160 个动效案例" zh_description: "为当前网页或组件查找、选型和改造动效。包含 160 个案例的 HTML/CSS/JS、参数与中英文索引,覆盖基础、文字、交互和高级动效。" triggers:

  • "motion-lab"
  • "动效"
  • "动画"
  • "motion"
  • "Motion.Lab"
  • "动效案例"
  • "案例库"
  • "特效"
  • "文字动画"
  • "hover"
  • "scroll" license: MIT od: mode: utility category: animation-motion upstream: https://github.com/yangxu128/Motion.Lab source-commit: fbfda036aadbc1b46547bce8a7a57ec12bf73485

Open Design 宿主约定

这是当前任务中的功能技能。保留用户选定的任务类型、品牌、技术栈、当前阶段和交付格式;不要因为 @ 选择而改成视频项目。规划阶段只规划,实现阶段才写代码。检查、渲染和导出仅在宿主当前阶段允许且工具真实可用时执行;技能不能额外开启独立 Agent、强制审批或绕过宿主交付边界。

附属文件相对当前技能包根目录读取,按当前问题选读,不把全部参考文档粘入提示词。不读取其他 Agent 的全局配置。素材优先用用户已有文件;需要新图片、视频或音频时使用当前宿主实际提供且用户允许的工具。缺少生成、测量或导出能力时说明具体缺口,交付可验证部分,不声称完成未执行的步骤。遵循当前任务的输出路径,不覆盖输入或历史产物。

Motion.Lab 动效案例库

使用步骤

  1. 先明确用户要表达的状态或动作,查看已有组件与技术栈。用 references/index.md 按中英文名称、ID、分类或标签检索。选择最符合用户目标的案例,不为展示库而堆满特效。
  2. 读取相应分类文件中该 ID 的小节:references/basic.md(基础)、references/text.md(文字)、references/interaction.md(交互)、references/advanced.md(高级)。每项包含参数定义、HTML/CSS/JS 原始示例,不需要联网下载整站。
  3. 将代码适配当前 DOM 和组件生命周期,保留用户内容与品牌。CSS 参数需带正确单位;检查 JS 变量和代码是否实际使用参数,不能只改展示控件。全局选择器改为组件内作用域,多实例不共用状态。
  4. 运行依赖按实际代码确认:Three.js、GSAP 等并非随此技能安装。已有项目优先复用现有版本,不擅自加入多个动画框架。Canvas/WebGL 按容器尺寸与 DPR 调整,说明性能取舍。
  5. 清理 requestAnimationFrame、定时器、滚动/指针监听和渲染资源;React 使用生命周期 cleanup。滚动监听需要节流时采用帧调度;不要让动画阻塞点击或键盘反馈。
  6. 尊重 prefers-reduced-motion,提供静态或简化状态;交互同时支持键盘、触摸与焦点。检验代码中的硬编码尺寸、占位文字及资源路径;示例不能未经修改作为最终成品。
  7. 在当前阶段允许时验证真实运行、触发、停止、卸载和多次进入;报告实际观察结果。只有静态源码检查时明确说明,不能宣称 160 个案例全部通过浏览器验收。

常见需求

  • 按钮点击波纹:click-ripple-material。
  • 标题打字:text-typewriter;多行版本 text-typewriter-multi。
  • 卡片翻面:hover-flip-card。
  • 滚动进入:scroll-reveal。
  • 粒子背景:根据目的在 particle-fountain、canvas-starfield、flow-field 和 particle-galaxy 中选型。

案例用于局部功能实现,本包不创建 Motion.Lab 网站、不包含它的应用界面或预览站点,也不将 160 个案例拆成 160 条 @ 列表项。

许可随包保留

references/license.md 随会话包保留来源许可。复制参考代码到交付工程时保留上游署名及许可文本。

Related skills

Agent Workflows

Skill Creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that exte…

Agent Workflows

Clawdhub

Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fl…

Agent Workflows

Agent Team Orchestration

Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team …

Agent Workflows

Superpowers

Spec-first, TDD, subagent-driven software development workflow. Use when: (1) building any new feature or app — triggers brainstorm → plan →…