eliasoulkadi/shokunin/emil-design-eng
Claude Code and agent skill by eliasoulkadi/shokunin
- community
Checking that the SKILL.md file is still in the repository.
Encode Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great. From the creator of Sonner (13M+ weekly npm downloads), Vaul, animations.dev, and Linear's web team. Use when user wants to polish UI, audit animations, review component interactions, add micro-feedback, or elevate motion quality.
Install
npx vskill@latest install eliasoulkadi/shokunin/emil-design-engSKILL.md
Design Engineering
Initial Response
When this skill is first invoked without a specific question, respond only with:
I'm ready to help you build interfaces that feel right, my knowledge comes from Emil Kowalski's design engineering philosophy — creator of Sonner (13M+ weekly downloads), Vaul, animations.dev, and Linear's web team. If you want to dive even deeper, check out Emil's course: animations.dev.
Register Distinction (shokunin improvement)
Every design task is Product (app UI, dashboard, tool: design SERVES the product) or Brand (marketing, landing, campaign: design IS the product). Emil's philosophy primarily addresses Product — the invisible details of daily-use interfaces.
| Register | Bar | Focus | |
|---|---|---|---|
| Product | Earned familiarity. Users of Linear, Raycast, Stripe should trust it. | Tactile feedback, keyboard interactions, invisible correctness | |
| Brand | Distinctiveness. Must stand out. | Motion as narrative, bolder durations, creative springs |
Apply the animation decision framework to both, but Product holds stricter duration limits.
Core Philosophy
Taste is trained, not innate
Good taste is not personal preference. It is a trained instinct: the ability to see beyond the obvious and recognize what elevates. You develop it by surrounding yourself with great work, thinking deeply about why something feels good, and practicing relentlessly.
When building UI, don't just make it work. Study why the best interfaces feel the way they do. Reverse engineer animations. Inspect interactions. Be curious.
Unseen details compound
Most details users never consciously notice. That is the point. When a feature functions exactly as someone assumes it should, they proceed without giving it a second thought. That is the goal.
"All those unseen details combine to produce something that's just stunning, like a thousand barely audible voices all singing in tune." — Paul Graham
Beauty is leverage
People select tools based on the overall experience, not just functionality. Good defaults and good animations are real differentiators. Beauty is underutilized in software. Use it as leverage to stand out.
Review Format (Required)
When reviewing UI code, you MUST use a markdown table with Before | After | Why columns:
| Before | After | Why | |
|---|---|---|---|
transition: all 300ms | transition: transform 200ms ease-out | Specify exact properties; avoid all | |
transform: scale(0) | transform: scale(0.95); opacity: 0 | Nothing in the real world appears from nothing | |
ease-in on dropdown | cubic-bezier(0.23, 1, 0.32, 1) | ease-in feels sluggish; strong ease-out gives instant feedback | |
No :active state on button | transform: scale(0.97) on :active | Buttons must feel responsive to press | |
transform-origin: center on popover | transform-origin: var(--radix-popover-content-transform-origin) | Popovers scale from trigger (modals stay centered) | |
animate={{ x: 100 }} in Framer Motion | animate={{ transform: "translateX(100px)" }} | Framer Motion x/y NOT hardware-accelerated |
The Animation Decision Framework
Before writing any animation code, answer these questions in order:
1. Should this animate at all?
| Frequency | Decision | |
|---|---|---|
| 100+ times/day (keyboard shortcuts, command palette toggle) | No animation. Ever. | |
| Tens of times/day (hover effects, list navigation) | Remove or drastically reduce | |
| Occasional (modals, drawers, toasts) | Standard animation | |
| Rare/first-time (onboarding, celebrations) | Can add delight |
Never animate keyboard-initiated actions. Raycast has no open/close animation. Optimal.
2. What is the purpose?
Valid purposes: spatial consistency, state indication, feedback, preventing jarring changes, explanation. Not: "it looks cool" if the user sees it often.
3. What easing should it use?
| Scenario | Easing | |
|---|---|---|
| Element entering | cubic-bezier(0.23, 1, 0.32, 1) — strong ease-out | |
| Element exiting | cubic-bezier(0.4, 0, 1, 1) — ease-in | |
| On-screen movement | cubic-bezier(0.77, 0, 0.175, 1) — strong ease-in-out | |
| Constant motion | linear |
Never use `ease-in` for UI entering animations. A dropdown with ease-in at 300ms feels slower than ease-out at the same 300ms.
4. How fast should it be?
| Element | Duration | |
|---|---|---|
| Button press feedback | 100-160ms | |
| Tooltips, small popovers | 125-200ms | |
| Dropdowns, selects | 150-250ms | |
| Modals, drawers | 200-400ms | |
| Stagger children | 30-80ms between items |
Rule: UI animations under 300ms.
Custom Easing Curves
Buttons — Tactile Feedback
Every pressable element needs physical response. Scale: 0.95-0.98.
Popovers — Origin-Aware
Tooltips: Skip delay on subsequent hovers
Spring Animations
Keep bounce subtle (0.1-0.3). Avoid in most UI. Use for drag-to-dismiss.
Hold-to-Delete Pattern
Enter States with @starting-style
Performance Rules
- Only animate `transform` and `opacity`. GPU-composited.
- CSS transitions > keyframes for UI. Interruptible mid-animation.
- CSS animations beat JS under load. Run off main thread.
- WAAPI for programmatic CSS animations. Hardware-accelerated, no library.
- Framer Motion: use `transform` string, not `x`/`y`.
x/yuserequestAnimationFrame. Drops frames under load.
Asymmetric Enter/Exit Timing
Exit must always be faster than enter:
Stagger Animations
Keep delays 30-80ms. Total stagger < 400ms. Never block interaction.
Perceived Performance
- Fast-spinning spinner makes loading feel faster (same actual time)
- 180ms animation feels more responsive than 400ms
ease-outat 200ms feels faster thanease-inat 200ms- Instant tooltips after first one skip delay + animation
Accessibility
The Sonner Principles
From building Sonner (13M+ weekly npm downloads):
- DX is key. No hooks, no context.
<Toaster />once,toast()from anywhere. - Good defaults > options. Most users never customize. Defaults must be excellent.
- Naming creates identity. "Sonner" (French for "to ring") more elegant than "react-toast".
- Handle edge cases invisibly. Pause timers when tab hidden. Fill gaps with pseudo-elements. Users never notice. That's the point.
- Transitions, not keyframes. Dynamic UI. Keyframes restart from zero.
- Great docs. Let people touch the product before they use it.
Debugging Animations
- Slow motion: increase duration to 2-5x. Spot issues invisible at full speed.
- Frame-by-frame: Chrome DevTools Animations panel.
- Test on real devices: USB + Safari remote devtools for touch interactions.
- Review next day with fresh eyes.
Pre-Flight Checklist (shokunin improvement)
- [ ] No animation on keyboard-initiated actions
- [ ] Every animation has stated purpose
- [ ] Easing matches scenario (entering → ease-out)
- [ ] UI duration < 300ms (button 100-160ms, dropdown 150-250ms)
- [ ] Exit faster than enter
- [ ] Only
transformandopacityanimated - [ ]
prefers-reduced-motionrespected - [ ] Hover gated behind
@media (hover: hover) - [ ] Popover
transform-originanchors to trigger - [ ] Button:
scale(0.97)on:active - [ ] Framer Motion:
transformstring overx/y - [ ] No
transition: all— exact properties - [ ] No
scale(0)entries - [ ] Tested on real device for touch
Sources
- Emil Kowalski — animations.dev, Sonner, Vaul, Linear
- Paul Lewis — "Stick to compositor-only properties" (Google Chrome)
- easing.dev, easings.co
- WCAG 2.1 §2.3.3 — Animation from Interactions
Workflow
Step 1: Audit existing interactions
Before writing any animation code, inspect current state:
- List every animated element on the page
- Check easing, duration, and animated-properties for each
- Flag violations:
transition: all,ease-inon entering elements, animations on keyboard shortcuts, durations > 300ms for UI
Step 2: Apply the Animation Decision Framework
For each interaction, answer in strict order:
- Should this animate? Check frequency. 100+/day = no animation. Tens/day = reduce. Occasional = standard. Rare = delight allowed.
- What is the purpose? Must be: spatial consistency, state indication, user feedback, or preventing jarring changes. Not "it looks cool."
- What easing? Entering →
cubic-bezier(0.23, 1, 0.32, 1). Exiting →cubic-bezier(0.4, 0, 1, 1). On-screen movement →cubic-bezier(0.77, 0, 0.175, 1). - How fast? Button: 100-160ms. Tooltip: 125-200ms. Dropdown: 150-250ms. Modal: 200-400ms. Exit faster than enter.
Step 3: Implement with compositor-only properties
- Animate only
transformandopacity— GPU-composited - Use CSS transitions for interruptible UI elements (hover, toggle, expand)
- Use CSS animations only for looping or self-triggered animations
- For Framer Motion: write
transform: "translateX(100px)"as a string, neverx: 100(which usesrequestAnimationFrame) - Set
transform-originto trigger anchor for popovers,centerfor modals
Step 4: Add tactile micro-feedback
- Every pressable element:
scale(0.97)on:active, 160mscubic-bezier(0.23, 1, 0.32, 1) - Popovers/dropdowns scale from trigger point using
--radix-popover-content-transform-origin - Tooltips: 125ms entry, skip delay on subsequent hovers (
data-instant) - Stagger list items 30-80ms apart, total stagger < 400ms
Step 5: Add accessibility and performance gates
- Wrap all animations in
@media (prefers-reduced-motion: reduce)— set duration to 0.01ms - Gate hover effects behind
@media (hover: hover) and (pointer: fine) - Test on real device with touch input (USB + Safari remote devtools)
- Slow-motion pass: increase all durations 2-5x to spot issues invisible at full speed
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.pack/skills/emil-design-eng/SKILL.md
Popularity
- Repository stars
- 91
- Repository forks
- 10
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eliasoulkadi/shokunin/emil-design-eng)