Token导航 LogoToken导航

Agent Skill · 待分类

material-design-3-motion(材料设计 3 运动)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

material-design-3-motion 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 7,014。

总安装 396周安装 16GitHub Stars 2下载 124核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:material-design-3-motion(材料设计 3 运动)
来源仓库:https://github.com/shelbeely/shelbeely-agent-skills
仓库路径:skills/material-design-3-motion
安装命令:
npx skills add https://github.com/shelbeely/shelbeely-agent-skills --skill material-design-3-motion
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/shelbeely/shelbeely-agent-skills --skill material-design-3-motion

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

material-design-3-motion 用于辅助界面设计、视觉规范、排版、配色和布局优化,适合生成 UI 方案或改进组件层级。适用于需要结合品牌与设计系统的视觉设计任务。通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。使用时需结合现有品牌与用户任务,不应只堆装饰元素。

涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出与对齐。

来源仓库内路径:skills/material-design-3-motion

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/shelbeely/shelbeely-agent-skills --skill mater…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

material-design-3-motion 怎么安装?

在终端执行 npx skills add https://github.com/shelbeely/shelbeely-agent-skills --skill material-design…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

material-design-3-motion 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

material-design-3-motion 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

material-design-3-motion 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

material-design-3-motion 用的人多吗?

公开数据是累计安装 396 次,近一周安装 16 次,下载 124 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

material-design-3-motion 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
material-design-3-motion

材料设计 3 运动 · 本页

3962操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Material Design 3 Motion and Animation

Overview

This skill guides the implementation of Material Design 3 (M3) Expressive motion principles to create springy, natural-feeling animations that enhance usability and delight users.

Keywords: Material Design 3, M3, motion, animation, transitions, micro-interactions, easing, duration, spring physics, expressive motion, haptics, physics-based animation

Core Principles

Expressive Motion Philosophy

M3 Expressive motion is designed to feel alive, natural, and responsive:

  1. Physics-Based Springs: Use spring-based animations governed by stiffness, damping, and velocity — replacing traditional cubic-bezier easing for more natural, lively motion
  2. Purposeful Motion: Every animation should serve a purpose—guiding attention, providing feedback, or showing relationships
  3. Responsive Feel: Motion responds to user input with appropriate speed and timing
  4. Spatial Coherence: Elements move in ways that respect spatial relationships and physics
  5. Haptic Integration: Pair spring animations with platform-native haptic feedback for tactile reinforcement

Motion Modes

Expressive Motion (Default for M3 Expressive):

  • Overshoots, bounces, and adds energy
  • Ideal for touch interactions and hero moments
  • Creates a playful, emotionally resonant feel
  • Uses higher spring energy and pronounced bounce

Standard Motion (Utilitarian flows):

  • Restrained, minimal bounce
  • Better for productivity-focused or system-critical flows
  • Natural feel without excess playfulness

Legacy Motion (Compatibility):

  • Traditional easing for backwards compatibility
  • Use only when spring physics cannot be applied

Spring Physics Parameters

M3 Expressive motion uses three key physics parameters instead of traditional time/easing curves:

  1. Stiffness: Controls how "hard" the spring is — higher stiffness means the animation finishes more quickly
  2. Damping: Determines how quickly the bounce fades out — a damping value of 1 eliminates bounce completely
  3. Initial Velocity: Sets the initial speed, influencing overall timing and feel
SchemeStiffnessDampingBounce Effect
ExpressiveHighMediumPronounced overshoot
StandardMediumHighMinimal/none

Animation Types

1. Transitions

Enter Transitions (Elements appearing):

  • Fade + Scale: Elements fade in while scaling from 80% to 100%
  • Fade + Slide: Elements slide in from edge while fading
  • Container Transform: Morphing one container into another

Exit Transitions (Elements disappearing):

  • Fade + Scale: Elements scale down to 80% while fading out
  • Fade + Slide: Elements slide away while fading
  • Keep exits faster than enters (maintain forward momentum)

Shared Element Transitions (Between screens/states):

  • Morph containers smoothly between views
  • Maintain visual continuity
  • Use container transform pattern

2. Micro-interactions

Hover States:

  • Subtle elevation change (add shadow)
  • Color shift using state layer
  • Scale slightly (1.02x-1.05x)
  • Duration: 100-200ms

Focus States:

  • Outline or ring animation
  • Scale or elevation change
  • Duration: 200-300ms

Press/Touch States:

  • Ripple effect from touch point
  • Scale down slightly (0.98x)
  • State layer with opacity
  • Duration: 100-150ms

Loading States:

  • Shimmer or skeleton screens
  • Circular progress indicators
  • Linear progress bars
  • Continuous, smooth motion

3. Complex Animations

Stagger Animations:

  • Animate list items with incremental delay
  • Delay between items: 30-50ms
  • Creates cascade effect

Choreographed Animations:

  • Multiple elements moving in coordination
  • Use animation-delay for orchestration
  • Maintain spatial relationships

Morphing Shapes:

  • Smooth path interpolation between shapes
  • Variable corner radius transitions
  • Use for state changes and transformations

Duration Guidelines

Standard Durations

Extra Small (50-100ms):

  • Icon state changes
  • Tooltip appearances
  • Simple opacity changes

Small (100-200ms):

  • Button hover states
  • Simple scale animations
  • Color transitions

Medium (200-300ms):

  • Modal dialogs
  • Navigation transitions
  • Card expansions

Large (300-500ms):

  • Page transitions
  • Complex transformations
  • Sheet presentations

Extra Large (500ms+):

  • Major state changes
  • Full screen transitions
  • Use sparingly

Context-Based Adjustments

  • Mobile: Slightly faster (0.8x-0.9x of base duration)
  • Desktop: Standard durations
  • Reduced Motion: Reduce to 10-20% of standard duration or disable
  • Large Elements: Increase duration proportionally

Spring Physics Implementation

Expressive Spring (Default for M3 Expressive)

/* CSS with expressive spring-like bezier approximation */
transition-timing-function: cubic-bezier(0.05, 0.7, 0.1, 1.0);

/* Enhanced linear() for expressive spring with overshoot */
transition-timing-function: linear(
  0, 0.004, 0.016 2.5%, 0.063 5%, 0.141, 0.25,
  0.391 11.3%, 0.563, 0.765, 1.000 20%, 1.066 23.8%,
  1.109 27.5%, 1.130 31.3%, 1.138 35%, 1.136 38.8%,
  1.121 46.3%, 1.093 53.8%, 1.057 61.3%, 1.025 68.8%,
  1.005 77.5%, 0.997 87.5%, 1
);

Standard Spring

/* CSS with standard spring-like bezier approximation */
transition-timing-function: cubic-bezier(0.2, 0.0, 0, 1.0);

/* CSS linear() for better standard spring approximation */
transition-timing-function: linear(
  0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%,
  0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%,
  1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%,
  1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%,
  0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1
);

JavaScript (Web Animations API)

// Expressive spring animation
element.animate(
  [
    { transform: 'scale(0)', opacity: 0 },
    { transform: 'scale(1)', opacity: 1 }
  ],
  {
    duration: 300,
    easing: 'cubic-bezier(0.05, 0.7, 0.1, 1.0)',
    fill: 'forwards'
  }
);

// Standard spring animation
element.animate(
  [
    { transform: 'translateY(20px)', opacity: 0 },
    { transform: 'translateY(0)', opacity: 1 }
  ],
  {
    duration: 250,
    easing: 'cubic-bezier(0.2, 0.0, 0, 1.0)',
    fill: 'forwards'
  }
);

Choosing Expressive vs Standard Motion

ScenarioMotion ModeWhy
Button press feedbackExpressiveUser-triggered, benefits from bounce
Page transitionStandardFunctional, should not distract
Loading completionExpressiveCelebratory moment of delight
Form validationStandardUtilitarian feedback
FAB expansionExpressiveKey interaction with visual emphasis
List scrollStandardContinuous motion, should be smooth
Shape morphingExpressiveVisual storytelling moment
Tooltip appearanceStandardInformational, should not distract

Haptics Integration

M3 Expressive recommends pairing spring-driven animations with platform-native haptic feedback:

Principles

  1. Coordinate with Motion: Haptic effects should fire at the key moment of the animation (e.g., at the point of overshoot or completion)
  2. Match Intensity: Gentle haptics for subtle interactions, stronger for significant state changes
  3. Platform-Native: Use the platform's haptic engine for the most natural feel
  4. Respect Preferences: Honor user haptic settings and provide accessibility options

Web Implementation

// Pair haptic feedback with expressive motion
function expressivePress(element) {
  // Trigger haptic feedback
  if (navigator.vibrate) {
    navigator.vibrate(10); // Short, subtle haptic
  }

  // Trigger spring animation
  element.animate([
    { transform: 'scale(1)' },
    { transform: 'scale(0.95)' },
    { transform: 'scale(1.02)' },
    { transform: 'scale(1)' }
  ], {
    duration: 300,
    easing: 'cubic-bezier(0.05, 0.7, 0.1, 1.0)'
  });
}

Implementation Patterns

Container Transform

Smoothly morph from one container to another:

// Using View Transitions API (modern browsers)
document.startViewTransition(() => {
  // Update DOM
  container.classList.toggle('expanded');
});

// CSS
::view-transition-old(container),
::view-transition-new(container) {
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.2, 0.0, 0, 1.0);
}

Shared Axis Transition

Elements exit and enter along a shared axis:

/* X-axis shared transition */
.exit-left {
  animation: exit-left 300ms cubic-bezier(0.2, 0.0, 0, 1.0);
}

.enter-right {
  animation: enter-right 300ms cubic-bezier(0.2, 0.0, 0, 1.0);
}

@keyframes exit-left {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100px); opacity: 0; }
}

@keyframes enter-right {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

Elevation Change

Animate elevation with shadow and transform:

.elevated-card {
  transition:
    box-shadow 200ms cubic-bezier(0.2, 0.0, 0, 1.0),
    transform 200ms cubic-bezier(0.2, 0.0, 0, 1.0);
}

.elevated-card:hover {
  box-shadow:
    0px 4px 8px rgba(0, 0, 0, 0.12),
    0px 8px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

Ripple Effect

Material ripple for touch feedback:

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.ripple:active::after {
  width: 300%;
  height: 300%;
}

Best Practices

Do's

  1. ✅ Use spring physics for natural motion
  2. ✅ Match animation duration to element size (larger = longer)
  3. ✅ Provide immediate feedback for user interactions
  4. ✅ Use motion to show relationships between elements
  5. ✅ Test animations on lower-end devices
  6. ✅ Respect prefers-reduced-motion setting
  7. ✅ Use stagger animations to make large datasets feel lighter
  8. ✅ Keep motion purposeful and functional

Don'ts

  1. ❌ Don't use linear easing (feels mechanical)
  2. ❌ Don't animate too many properties simultaneously
  3. ❌ Don't make animations too slow (feels sluggish)
  4. ❌ Don't ignore accessibility preferences
  5. ❌ Don't use motion purely for decoration
  6. ❌ Don't animate layout properties excessively (causes reflow)
  7. ❌ Don't use different easing curves randomly

Accessibility

Reduced Motion

Always respect user preferences:

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

Focus Indicators

Ensure animated focus states are still visible:

  • Maintain adequate contrast
  • Don't rely solely on motion for focus indication
  • Use both color and shape changes

Performance

  • Prefer transform and opacity (GPU accelerated)
  • Avoid animating width, height, top, left (causes layout reflow)
  • Use will-change sparingly for complex animations
  • Test on mobile devices and low-end hardware

Motion Tokens

Define motion tokens for consistency. M3 Expressive introduces tokenized spring-based motion:

:root {
  /* Durations */
  --md-sys-motion-duration-short1: 50ms;
  --md-sys-motion-duration-short2: 100ms;
  --md-sys-motion-duration-short3: 150ms;
  --md-sys-motion-duration-short4: 200ms;
  --md-sys-motion-duration-medium1: 250ms;
  --md-sys-motion-duration-medium2: 300ms;
  --md-sys-motion-duration-medium3: 350ms;
  --md-sys-motion-duration-medium4: 400ms;
  --md-sys-motion-duration-long1: 450ms;
  --md-sys-motion-duration-long2: 500ms;
  --md-sys-motion-duration-long3: 550ms;
  --md-sys-motion-duration-long4: 600ms;

  /* Easing — Standard (utilitarian) */
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0.0, 0, 1.0);
  --md-sys-motion-easing-standard-decelerate: cubic-bezier(0.0, 0.0, 0, 1.0);
  --md-sys-motion-easing-standard-accelerate: cubic-bezier(0.3, 0.0, 1.0, 1.0);

  /* Easing — Expressive (default for M3 Expressive) */
  --md-sys-motion-easing-expressive: cubic-bezier(0.05, 0.7, 0.1, 1.0);
  --md-sys-motion-easing-expressive-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1.0);
  --md-sys-motion-easing-expressive-accelerate: cubic-bezier(0.3, 0.0, 0.8, 0.15);

  /* Easing — Emphasized (legacy naming, same as expressive) */
  --md-sys-motion-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1.0);
  --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1.0);
  --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0.0, 0.8, 0.15);

  /* Legacy easing */
  --md-sys-motion-easing-legacy: cubic-bezier(0.4, 0.0, 0.2, 1.0);

  /* Expressive tokenized motion (new in M3 Expressive) */
  --md-sys-motion-expressive-fast-spatial: cubic-bezier(0.05, 0.7, 0.1, 1.0);
  --md-sys-motion-expressive-fast-effects: cubic-bezier(0.2, 0.0, 0, 1.0);
  --md-sys-motion-expressive-slow-spatial: cubic-bezier(0.05, 0.7, 0.1, 1.0);
  --md-sys-motion-expressive-slow-effects: cubic-bezier(0.2, 0.0, 0, 1.0);
}

Checklist for Motion Implementation

When implementing M3 motion, ensure:

  • Spring-based physics easing is used (not linear or ease-in-out)
  • Expressive vs standard motion modes are chosen appropriately per context
  • Durations match element size and complexity
  • Reduced motion preferences are respected
  • Only transform and opacity are animated (when possible)
  • Hover, focus, and press states have appropriate feedback
  • Page transitions feel smooth and coherent
  • Motion serves a functional purpose
  • Stagger animations are used for lists
  • All animations are tested on mobile devices
  • Motion tokens are defined and used consistently (including expressive tokens)
  • Container transforms are used for view transitions
  • Ripple effects are implemented for touch targets
  • Haptic feedback is coordinated with spring animations where appropriate
  • Shape morphing animations use expressive easing

Resources

平台分布

Codex

37.66%
按下载量换算47

Claude

28.66%
按下载量换算36

Cursor

19.44%
按下载量换算24

Gemini CLI

9.72%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills