Design motion principles
Skill yigityildiz0/universal-ai-skill-library/skills/common/design-motion-principles
531 searchable AI Agent Skills for Claude Code, OpenAI Codex, and OpenCode — EN/TR catalog, platform and risk notes, direct ZIPs, and curated bundles.
npx -y skills add yigityildiz0/universal-ai-skill-library --skill design-motion-principlesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 18 days oldThe repository was created 18 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Expert motion and interaction design auditor based on Emil Kowalski, Jakub Krehel, and Jhey Tompkins' techniques. Use when reviewing UI animations.
SKILL.md
9.2 KB, ~2.2k tokens by cl100k_base, as published. Nobody here has run it
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.
Scope: This skill targets web and app UI motion (HTML/CSS, React, Framer 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.
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:
- AGENTS.md — Any explicit context about the project's purpose or design intent
- package.json — What type of app? (Next.js marketing site vs Electron productivity app vs mobile PWA)
- Existing animations — Grep for
motion,animate,transition,@keyframes. What durations are used? What patterns exist? - Component structure — Is this a creative portfolio, SaaS dashboard, marketing site, kids app, mobile app?
Motion Gap Analysis (CRITICAL - Don't Skip)
After finding existing animations, actively search for missing animations. These are UI changes that happen without any transition:
Search for conditional renders without AnimatePresence:
# Find conditional renders: {condition && <Component />}
grep -n "&&\s*(" --include="*.tsx" --include="*.jsx" -r .
# Find ternary UI swaps: {condition ? <A /> : <B />}
grep -n "?\s*<" --include="*.tsx" --include="*.jsx" -r .
For each conditional render found, check:
- Is it wrapped in
<AnimatePresence>? - Does the component inside have enter/exit animations?
- If NO to both → this is a motion gap that needs fixing
Common motion gap patterns:
{isOpen && <Modal />}— Modal appears/disappears instantly{mode === "a" && <ControlsA />}— Controls swap without transition{isLoading ? <Spinner /> : <Content />}— Loading state snapsstyle={{ height: isExpanded ? 200 : 0 }}— Height changes without CSS transition- Inline styles with dynamic values but no
transitionproperty
Where to look for motion gaps:
- Inspector/settings panels with mode switches
- Conditional form fields
- Tab content areas
- Expandable/collapsible sections
- Toast/notification systems
- Loading states
- Error states
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"]
**Motion gaps found**: [Number] conditional renders without AnimatePresence
- [List the files/areas with gaps, e.g., "Settings panel mode switches", "Loading states"]
**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 request_user_input when available, otherwise ask the user directly is available, present the decision as tappable options:
- Confirm weighting — Proceed with the proposed primary/secondary/selective designers
- Adjust primary — Swap which designer is primary (e.g., prioritize delight over restraint)
- Adjust secondary — Change the secondary lens while keeping primary
- Rebuild weighting — The project type inference was wrong; start over
Otherwise ask in plain text: "Does this weighting sound right, or should I adjust?"
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 by reading the reference files in this order:
2a. Read the Audit Checklist First
Read references/audit-checklist.md — Use this as your systematic guide. It provides the structured checklist of what to evaluate.
2b. Read Designer Files for Your Weighted Perspectives
Based on your context weighting, read the relevant designer files:
- Read
references/emil-kowalski.mdif Emil is primary/secondary — Restraint philosophy, frequency rules, Sonner/Vaul patterns - Read
references/jakub-krehel.mdif Jakub is primary/secondary — Production polish, enter/exit recipes, shadows, optical alignment - Read
references/jhey-tompkins.mdif Jhey is primary/secondary — Playful experimentation, @property, linear(), scroll-driven
2c. Read Topical References as Needed
- Read
references/accessibility.md— MANDATORY. Always check for prefers-reduced-motion. No exceptions. - Read
references/common-mistakes.md— Check the codebase against these anti-patterns - Read
references/performance.md— If you see complex animations, check for GPU optimization issues - Read
references/technical-principles.md— Reference when making specific implementation recommendations
Context-to-Perspective Mapping
| Project Type | Primary | Secondary | Selective |
|---|---|---|---|
| Productivity tool (Linear, Raycast) | Emil | Jakub | Jhey (onboarding only) |
| Kids app / Educational | Jakub | Jhey | Emil (high-freq game interactions) |
| Creative portfolio | Jakub | Jhey | Emil (high-freq interactions) |
| Marketing/landing page | Jakub | Jhey | Emil (forms, nav) |
| SaaS dashboard | Emil | Jakub | Jhey (empty states) |
| Mobile app | Jakub | Emil | Jhey (delighters) |
| E-commerce | Jakub | Emil | Jhey (product showcase) |
STEP 3: Output Format
Read references/output-format.md for the full report template.
The template covers:
- Quick summary box (severity counts + primary perspective)
- Overall assessment paragraph
- Three per-designer sections (Emil / Jakub / Jhey) with decorated headers
- Combined recommendations tables (Critical / Important / Opportunities)
- Designer reference summary (who was referenced most + lean-differently guidance)
Do not summarize — users want full per-designer perspectives.
Core Principles
Duration Guidelines (Context-Dependent)
| Context | Emil | Jakub | Jhey |
|---|---|---|---|
| Productivity UI | Under 300ms (180ms ideal) | — | — |
| Production polish | — | 200-500ms for smoothness | — |
| Creative/kids/playful | — | — | Whatever 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 (When to Read Each)
STEP 2a — Read first:
- Audit Checklist — Your systematic guide for the full audit
STEP 2b — Read based on context weighting:
- Emil Kowalski — If Emil is primary/secondary
- Jakub Krehel — If Jakub is primary/secondary
- Jhey Tompkins — If Jhey is primary/secondary
STEP 2c — Read as needed:
- Accessibility — MANDATORY for every audit (prefers-reduced-motion)
- Common Mistakes — Check codebase against anti-patterns
- Performance — If complex animations, check GPU optimization
- Technical Principles — For implementation recommendations
STEP 3 — Read when writing the report:
- Output Format — Full report template (summary box, per-designer sections, recommendations tables)
Gives 0 of the 12 instructions most css styling skills give in ~2.2k tokens
Counted across 586 of the 596 authors here whose files we hold, read 2026-08-06
- avoid excessive centered layoutsin 55 of 586, across 12 files
- bundle code into single HTML filein 54 of 586, across 14 files
- Respect prefers-reduced-motion user settingsin 52 of 586, across 35 files
- avoid purple gradientsin 51 of 586, across 11 files
- avoid uniform rounded cornersin 51 of 586, across 11 files
- avoid Inter fontin 51 of 586, across 11 files
- edit generated files to develop artifactin 50 of 586, across 10 files
- animate only transform and opacity propertiesin 43 of 586
- Make touch targets at least 44x44 pixelsin 41 of 586, across 15 files
- Ensure minimum color contrast of 4.5:1in 39 of 586, across 10 files
- use tailwind cssin 39 of 586, across 24 files
- Use SVG icons instead of emojisin 38 of 586, across 11 files
Said here and by no other author read
- gather project context before auditing code
- search for missing animations on conditional renders
- state inferred project context and weighting
- wait for user confirmation before full audit
- read the audit checklist before starting audit
- read relevant designer reference files based on weighting
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.