用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dotusmanali/craft-skill --skill motion命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | motion |
| description | Implement high-performance, physics-based animations that feel intentional and responsive. |
Elevate UI interactions from "bouncy" to "bespoke" by applying physics-based motion principles and performance-first CSS techniques.
This skill eliminates "cheap" animations (wrong easing, too slow, bouncy by default) and ensures every movement has a clear purpose. It prioritizes GPU-accelerated properties and interruptible interactions.
transform and opacity. Never animate layout properties like height, width, or margin.ease-out for entrances to feel immediate. Use ease-in-out for on-screen morphing. Never use ease-in for UI — it feels sluggish.150ms and 250ms. Anything over 300ms must be a deliberate marketing or storytelling choice.30ms to 60ms delays.cubic-bezier(0.23, 1, 0.32, 1).@starting-style: Use modern CSS for entry animations to keep the main thread clear.transform: scale(0.97) to :active states for haptic-like feedback.@media (prefers-reduced-motion: no-preference).scale(0): Elements appearing from nothing look artificial. Start from scale(0.95) and opacity: 0.transition: all: Explicitly name the properties to be animated to avoid accidental layout shifts.window.scroll listeners. Use IntersectionObserver or CSS scroll-driven animations.Adjust these dials (1-10) for motion feel:
.card {
transition: all 0.5s ease-in-out;
}
.card:hover {
transform: scale(1.1);
}
.card {
transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
will-change: transform;
}
.card:hover {
transform: translateY(-4px) scale(1.02);
}
.card:active {
transform: scale(0.98);
}