Agent skill Web motion
Emil Design Eng
Refine the feel of everyday controls, from button press feedback and tooltip delays to where a popover opens.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add emilkowalski/skills --skill emil-design-eng --agent claude-code --yesCheck this file in your project.claude/skills/emil-design-eng/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add emilkowalski/skills --skill emil-design-engSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring the component or local route and the existing UI primitive. A browser, keyboard, and motion preference emulation help verify the interaction. The worked examples use the project’s current CSS and components.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Official rule source
- Emil Kowalski’s emil-design-eng/SKILL.md.
- Review format
- A Before, After, and Why table, with one row per finding.
- Decision inputs
- How frequently users perform the action, how they trigger it, and what feedback they need.
- Verification
- Pointer, keyboard, touch where applicable, viewport placement, and reduced motion.
- Skill name
emil-design-eng- Repository
emilkowalski/skills
Start with how often people use the control
A request for motion everywhere
Use emil-design-eng to animate every control in this toolbar.
A control people use repeatedly or from the keyboard can feel slower when feedback makes them wait.
Changes with a purpose
- List the actual ways users trigger the controls and how often.
- Improve the interaction that benefits from feedback or spatial orientation.
- Retest the native control behavior and the reduced-motion experience.
Emil Design Eng operation manual
Review the opening of an anchored filter popover or improve the feedback of a toolbar. Both examples begin with the input method and existing control behavior.
Use the existing positioning primitive to make a pointer-opened popover feel connected to its trigger and keep repeated keyboard use immediate.
Review how the popover opens and closes
Record which element owns positioning, what focus does, and whether the motion helps identify the anchor.
Prompt · Step 1Use emil-design-eng to review [filter popover and route]. Start with the Animation Decision Framework. Identify how people open it by pointer and keyboard and how often they use it. Read the positioning primitive’s docs or source and check which element owns positioning, what happens near viewport boundaries, and where focus goes on open and close. Return a Markdown table with Before, After, and Why columns and one row per finding. Mark which observations come from the running UI and which come from source. Propose the smallest change that helps users understand the trigger while keeping frequent or keyboard-driven actions immediate. Keep this pass to review.Apply a trigger-aware origin for pointer motion
Keep positioning and dismissal in the current primitive. If animation is useful, use its computed origin on the element that animates.
- Any animated origin follows the trigger in the actual placement.
- Keyboard actions and reduced motion show the content immediately.
- The positioning and focus implementation is still handled by the existing primitive.
Prompt · Step 2Use emil-design-eng to implement [approved change] for [filter popover]. Keep positioning, dismissal, and focus behavior in the existing primitive. If the review calls for a pointer entrance, use the origin exposed by the actual positioning primitive so it follows the current placement, including after a collision flip. Apply the animation to the intended surface where it will not overwrite placement transforms. Use a short transition on explicit properties if the surface stays mounted long enough to animate. Keep keyboard-triggered actions immediate and provide a static reduced-motion path. Show the files changed and note any input mode you could not separate reliably.Verify input, placement, and interruption
Try the same filter under different placements and inputs. Compare opening, closing, and focus with the baseline.
- No placement regression occurs when the popover flips.
- Escape dismissal and focus behavior still match the baseline.
- The same controls work after rapid reopen and with reduced motion.
Prompt · Step 3Use emil-design-eng to verify [local route and filter trigger]. Open with a pointer, move the trigger near the viewport edge or resize to force an alternate placement, and inspect the actual origin. Close and reopen quickly to check that no surface sticks around. Open with the keyboard, then dismiss with Escape and check focus returns as defined by the current primitive. Repeat with reduced motion. Where browser access exists, report what you observed and list any checks you could only infer from code.
Look up a specific interaction problem
Ask the assistant to read the relevant section of the installed SKILL.md and inspect the component in context.
A control people use often feels slowTiming
- Command or reference
The Animation Decision Framework- Examples
- Record the input method and frequency, then check immediate behavior with a keyboard.
A popover seems to open from the wrong pointAnchoring
- Command or reference
Component Building Principles- Examples
- Inspect the transform origin before and after the positioning engine flips the surface.
Tooltips all wait when moving between actionsFeedback
- Command or reference
Tooltips: skip delay on subsequent hovers- Examples
- Measure the first pointer dwell and the next hover within the same provider.
Emil Design Eng troubleshooting
Why did the assistant respond with a readiness message?
The installed skill does that when invoked without a specific question. Send a component, a route, and the interaction you want to review.
Which transform origin should I use?
Use the origin your positioning primitive exposes for the actual placement. Base UI and Radix expose different variable names. A centered modal follows its own centered behavior.
Does the skill require an animation library?
The skill supplies design and implementation guidance. The examples here can use existing CSS and UI primitives. Check the existing library and version before relying on library-specific APIs.