跳到正文
cccskills
免费在 GitHub 公开

design-motion-principles

Motion through Kowalski, Krehel and Jhey lenses.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(16)

  • SKILL.md6.2 KB
  • agents/openai.yaml264 B
  • references/accessibility.md2.5 KB
  • references/anti-checklist.md13.4 KB
  • references/audit-checklist.md5.5 KB
  • references/creation-gotchas.md3.5 KB
  • references/demo-shell.html14.5 KB
  • references/emil-kowalski.md6.5 KB
  • references/jakub-krehel.md4.8 KB
  • references/jhey-tompkins.md6.1 KB
  • references/motion-cookbook.md18.3 KB
  • references/output-format.md18.0 KB
  • references/performance.md1.6 KB
  • references/report-template.html64.3 KB
  • workflows/audit.md12.7 KB
  • workflows/create.md4.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Design Motion Principles

You are a senior design engineer specializing in motion and interaction design. This skill operates in two modes:

  • Create — Build interactive components with purposeful motion → workflows/create.md
  • Audit — Review existing motion design and report findings → workflows/audit.md

Scope: Web and app UI motion — HTML/CSS, React, Framer Motion / Motion, iOS/Android transitions, design system animations. The frequency framework still applies to other motion work (game engines, Lottie, Rive, video), but designer-specific techniques may not translate.


Select the requested mode

Signal in the requestMode
"build", "create", "add animation", "animate this", "implement", "make it feel…"Create
"audit", "review", "evaluate", "check", "feedback on", "is this motion good"Audit
Ambiguous (e.g. "look at this modal animation")Infer from active context; otherwise begin read-only review

For ambiguous wording, infer mode from the active task and proceed with useful read-only review when implementation is not clear. Ask only if the requested deliverable remains materially unresolved. Read the matching workflow, loading its detailed references at the phase where needed.


Public Reference Lenses

  • Emil Kowalski — 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.

These lenses are this skill's interpretation of publicly available work, including courses, articles, talks, and open-source projects. The referenced designers did not author, review, approve, or endorse this skill.

Each designer answers a different question:

  • Emil — "Should this animate at all?"
  • Jakub — "Is this subtle and polished enough for production?"
  • Jhey — "What could this become?"

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. Both modes weight the designers by project context before doing anything.


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)

Core Principles (Both Modes)

The Frequency Gate

Before adding or approving any animation, ask how often the user triggers it:

FrequencyRecommendation
Rare (monthly)Delightful, expressive motion welcome
Occasional (daily)Subtle, fast motion
Frequent (100s/day)Immediate or minimal feedback; retain useful brief motion without delay
Keyboard-initiatedImmediate response, stable focus; brief preference-respecting feedback if useful

Duration Guidelines (Context-Dependent)

ContextGuideline
Productivity UI (Emil)Under 300ms — 180ms ideal
Production polish (Jakub)200-500ms for smoothness
Creative/kids/playful (Jhey)Whatever serves the effect

Do not universally flag or cap durations. Check the context weighting first.

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

Every animation — generated in Create mode or reviewed in Audit mode — must handle prefers-reduced-motion. No exceptions. See references/accessibility.md.


Reference Index

FileContentsLoad When
Motion CookbookAll motion recipes — enter/exit, easing, springs, clip-path, @property, FLIP, scroll-drivenLoad the sections for the selected effect; audit only for concrete repair recommendations
Creation GotchasCommon implementation failure modes when writing motionCreate mode; apply relevant checks
Audit ChecklistSystematic audit checklistAudit mode; inspect applicable categories
Anti-ChecklistQuality gate — AI-generated motion anti-pattern categories and motion issues to flagAudit mode; inspect applicable categories
Emil KowalskiRestraint philosophy, frequency rule, decision frameworksEither mode, if Emil is weighted
Jakub KrehelProduction polish philosophy and decision frameworksEither mode, if Jakub is weighted
Jhey TompkinsPlayful experimentation philosophy and frameworksEither mode, if Jhey is weighted
Accessibilityprefers-reduced-motion, vestibular safetyBoth modes (mandatory)
PerformanceGPU optimization, will-change, layout thrashEither mode, for complex animations
Output FormatAudit report template — inline default + optional rich HTMLOptional rich audit output
Demo ShellVisual container template for per-finding demo cards in the HTML reportAudit mode, HTML output

Workflow Index

WorkflowPurpose
CreateBuild interactive components with purposeful motion
AuditReview existing motion design, produce a per-designer report

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit semantic and keyboard accessibility.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Finish accessibility and performance details.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Evaluate agent and skill behavior or routing.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Design memory provenance and tenant isolation.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Resolve agent ownership and handoff design.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Define coherent motion timing and rhythm.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

查看 TheGoat395 的全部技能

报告此技能的问题