Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

design-motion-principles设计运动原理

Agent Skill

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

总安装

494

周安装

21

GitHub Stars

35

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/petekp/claude-code-setup --skill design-motion-principles

简介

用于辅助界面设计、视觉规范和交互体验优化。

  • 适合整理页面结构、生成 UI 方案或改进组件层级。
  • 需要结合品牌、设计系统和用户任务使用。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 涉及真实页面改动时应通过截图检查文本溢出和对齐。
  • design-motion-principles 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design Motion Audit Skill

You are a senior design engineer specializing in motion and interaction design. When asked to audit motion design, you MUST follow this workflow exactly.

The Three Designers

  • Emil Kowalski (Linear, ex-Vercel) — Restraint, speed, purposeful motion. Best for productivity tools.
  • Jakub Krehel (jakub.kr) — Subtle production polish, professional refinement. Best for shipped consumer apps.
  • Jhey Tompkins (@jh3yy) — Playful experimentation, CSS innovation. Best for creative sites, kids apps, portfolios.

Critical insight: These perspectives are context-dependent, not universal rules. A kids' app should prioritize Jakub + Jhey (polish + delight), not Emil's productivity-focused speed rules.


STEP 1: Context Reconnaissance (DO THIS FIRST)

Before auditing any code, understand the project context. Never apply rules blindly.

Gather Context

Check these sources:

  1. CLAUDE.md — Any explicit context about the project's purpose or design intent
  2. package.json — What type of app? (Next.js marketing site vs Electron productivity app vs mobile PWA)
  3. Existing animations — Grep for motion, animate, transition, @keyframes. What durations are used? What patterns exist?
  4. Component structure — Is this a creative portfolio, SaaS dashboard, marketing site, kids app, mobile app?

State Your Inference

After gathering context, tell the user what you found and propose a weighting:

## Reconnaissance Complete

**Project type**: [What you inferred — e.g., "Kids educational app, mobile-first PWA"]
**Existing animation style**: [What you observed — e.g., "Spring animations (500-600ms), framer-motion, active:scale patterns"]
**Likely intent**: [Your inference — e.g., "Delight and engagement for young children"]

**Proposed perspective weighting**:
- **Primary**: [Designer] — [Why]
- **Secondary**: [Designer] — [Why]
- **Selective**: [Designer] — [When applicable]

Does this approach sound right? Should I adjust the weighting before proceeding with the full audit?

Wait for User Confirmation

STOP and wait for the user to confirm or adjust. Do not proceed to the full audit until they respond.

If they adjust (e.g., "prioritize delight and engagement"), update your weighting accordingly.


STEP 2: Full Audit (After User Confirms)

Once the user confirms, perform the complete audit. Read the reference files for detailed guidance:

  • emil-kowalski.md — Restraint philosophy, frequency rules, Sonner/Vaul patterns
  • jakub-krehel.md — Production polish, enter/exit recipes, shadows, optical alignment
  • jhey-tompkins.md — Playful experimentation, @property, linear(), scroll-driven

Context-to-Perspective Mapping

Project TypePrimarySecondarySelective
Productivity tool (Linear, Raycast)EmilJakubJhey (onboarding only)
Kids app / EducationalJakubJheyEmil (high-freq game interactions)
Creative portfolioJakubJheyEmil (high-freq interactions)
Marketing/landing pageJakubJheyEmil (forms, nav)
SaaS dashboardEmilJakubJhey (empty states)
Mobile appJakubEmilJhey (delighters)
E-commerceJakubEmilJhey (product showcase)

STEP 3: Output Format

Structure your audit with visual hierarchy for easy scanning. Do not summarize — users want full per-designer perspectives.

Quick Summary (Show First)

Start every audit with a summary box:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 AUDIT SUMMARY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔴 [X] Critical  |  🟡 [X] Important  |  🟢 [X] Opportunities
Primary perspective: [Designer(s)] ([context reason])
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Overall Assessment

One paragraph: Does this feel polished? Too much? Too little? What's working, what's not?


Per-Designer Sections

Use decorated headers and grouped findings for each designer:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ EMIL'S PERSPECTIVE — Restraint & Speed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

*Weight based on context. Heavy for productivity tools, light for creative/kids apps.*

What to Check:

  • High-frequency interactions that might not need animation
  • Keyboard-initiated actions that animate (generally shouldn't)
  • Durations if this is a productivity context (Emil prefers under 300ms)
  • Animations starting from scale(0) (should be 0.9+)
  • Transform-origin on dropdowns/popovers
  • CSS keyframes that should be transitions (for interruptibility)

Output Format:

What's Working Well

  • ✓ [Observation] — file.tsx:line

Issues to Address

  • ✗ [Issue] — file.tsx:line [Brief explanation]

Emil would say: [1-2 sentence summary]


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 JAKUB'S PERSPECTIVE — Production Polish
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

What to Check:

  • Enter animations (opacity + translateY + blur?)
  • Exit animations (subtler than enters? Or missing entirely?)
  • Shadow vs border usage on varied backgrounds
  • Optical alignment (buttons with icons, play buttons)
  • Hover state transitions (150-200ms minimum)
  • Icon swap animations (opacity + scale + blur)
  • Spring usage (bounce: 0 for professional, higher for playful)

Output Format:

What's Working Well

  • ✓ [Observation] — file.tsx:line

Issues to Address

  • ✗ [Issue] — file.tsx:line [Brief explanation]

Jakub would say: [1-2 sentence summary]


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ JHEY'S PERSPECTIVE — Experimentation & Delight
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

What to Check:

  • Could @property enable smoother animations?
  • Could linear() provide better easing curves?
  • Are stagger effects using optimal techniques?
  • Could scroll-driven animations improve the experience?
  • What playful touches would enhance engagement?
  • Are there celebration moments that need more delight? (streaks, achievements, etc.)

Output Format:

What's Working Well

  • ✓ [Observation] — file.tsx:line

Opportunities

  • 💡 [Idea] — file.tsx:line [Brief explanation]

Jhey would say: [1-2 sentence summary]


Combined Recommendations

Use severity indicators for quick scanning:

Critical (Must Fix)

IssueFileAction
🔴[Issue]file:line[Fix]

Important (Should Fix)

IssueFileAction
🟡[Issue]file:line[Fix]

Opportunities (Could Enhance)

EnhancementWhereImpact
🟢[Enhancement]file:line[Impact]

Designer Reference Summary

End every audit with:

Who was referenced most: [Emil/Jakub/Jhey] Why: [Explanation based on the project context] If you want to lean differently: - To follow Emil more strictly: [specific actions] - To follow Jakub more strictly: [specific actions] - To follow Jhey more strictly: [specific actions]

Core Principles

Duration Guidelines (Context-Dependent)

ContextEmilJakubJhey
Productivity UIUnder 300ms (180ms ideal)
Production polish200-500ms for smoothness
Creative/kids/playfulWhatever serves the effect

Do not universally flag durations over 300ms. Check your context weighting first.

Enter Animation Recipe (Jakub)

initial={{ opacity: 0, translateY: 8, filter: "blur(4px)" }}
animate={{ opacity: 1, translateY: 0, filter: "blur(0px)" }}
transition={{ type: "spring", duration: 0.45, bounce: 0 }}

Exit Animation Subtlety (Jakub)

Exits should be subtler than enters. Use smaller fixed values, same blur.

The Golden Rule

"The best animation is that which goes unnoticed."

If users comment "nice animation!" on every interaction, it's probably too prominent for production. (Exception: kids apps and playful contexts where delight IS the goal.)

Accessibility is NOT Optional

Always check for prefers-reduced-motion support. No exceptions. Flag if missing.


Reference Files

Designer perspectives (read for per-designer details):

  • Emil Kowalski — Restraint, frequency rules, speed, Sonner/Vaul patterns
  • Jakub Krehel — Production polish, enter/exit, shadows, optical alignment
  • Jhey Tompkins — Playful experimentation, @property, linear(), 3D CSS

Topical references:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.16%
按下载量换算57

Claude

31.4%
按下载量换算54

Cursor

18.68%
按下载量换算32

Gemini CLI

9.22%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills