design-motion-principles

kylezantos/design-engineer-auditor-package · updated May 3, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/kylezantos/design-engineer-auditor-package --skill design-motion-principles
0 commentsdiscussion
summary

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

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?

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 snaps
  • style={{ height: isExpanded ? 200 : 0 }} — Height changes without CSS transition
  • Inline styles with dynamic values but no transition property

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 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 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.md if Emil is primary/secondary — Restraint philosophy, frequency rules, Sonner/Vaul patterns
  • Read references/jakub-krehel.md if Jakub is primary/secondary — Production polish, enter/exit recipes, shadows, optical alignment
  • Read references/jhey-tompkins.md if 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

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?)
  • Motion gaps — Conditional renders without AnimatePresence (from gap analysis)
  • Layout transitions — Size/position changes that snap instead of animate
  • 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)

Issue File Action
🔴 [Issue] file:line [Fix]

Important (Should Fix)

Issue File Action
🟡 [Issue] file:line [Fix]

Opportunities (Could Enhance)

Enhancement Where Impact
🟢 [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)

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:

STEP 2b — Read based on context weighting:

STEP 2c — Read as needed:

Optional context (if uncertain about weighting):

  • Philosophy — Compare all three mindsets to refine weighting
how to use design-motion-principles

How to use design-motion-principles on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add design-motion-principles
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/kylezantos/design-engineer-auditor-package --skill design-motion-principles

The skills CLI fetches design-motion-principles from GitHub repository kylezantos/design-engineer-auditor-package and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/design-motion-principles

Reload or restart Cursor to activate design-motion-principles. Access the skill through slash commands (e.g., /design-motion-principles) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.755 reviews
  • Michael Nasser· Dec 28, 2024

    We added design-motion-principles from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Pratham Ware· Dec 20, 2024

    design-motion-principles fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Fatima Anderson· Dec 12, 2024

    design-motion-principles fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Advait Jackson· Dec 4, 2024

    Registry listing for design-motion-principles matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Yusuf Zhang· Nov 23, 2024

    Useful defaults in design-motion-principles — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Advait White· Nov 19, 2024

    Solid pick for teams standardizing on skills: design-motion-principles is focused, and the summary matches what you get after install.

  • Mateo Reddy· Nov 19, 2024

    design-motion-principles has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Hassan Sethi· Nov 19, 2024

    Keeps context tight: design-motion-principles is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Sakshi Patil· Nov 11, 2024

    design-motion-principles is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aditi Martinez· Nov 3, 2024

    design-motion-principles is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 55

1 / 6