Agent skill Web motion
Emilkowal Animations
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/emilkowal-animations --skill emilkowal-animations --agent claude-code --yesCheck this file in your project.claude/skills/emilkowal-animations/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/emilkowal-animations --skill emilkowal-animationsSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use an existing semantic tab group and a visual-only duplicate. The recipe runs with CSS clip-path and DOM state.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- pproenca
- Controls
- clip-path: inset(… round 17px) · 200ms ease-out · aria-hidden
- Result
- One clip governs the active background and text, while only the original tab controls remain accessible.
- Skill name
emilkowal-animations- Repository
pproenca/dot-skills
Common pitfall
Avoid this prompt
Animate highlight position and active label color independently.
One moving clip reveals both together, including intermediate frames.
Use these steps
- Inspect the project and source
- Apply the motion recipe
- Verify behavior and fallback
Project walkthrough
Keep the active tab label synchronized with a sliding highlight using one clipped layer.
Keep the active tab label synchronized with a sliding highlight using one clipped layer.
Inspect the project and source
Use an existing semantic tab group and a visual-only duplicate. The recipe runs with CSS clip-path and DOM state.
Prompt · Step 1Use Emilkowal Animations on [my History and Readings tabs]. Read references/polish-clip-path-tabs.md. Measure the real labels and selected button width. Keep the original buttons, tablist semantics and selection state.Apply the motion recipe
Keep the active tab label synchronized with a sliding highlight using one clipped layer.
Prompt · Step 2Overlay a visually identical active-color row with aria-hidden and pointer-events:none. Clip that row using inset() calculated from the selected tab’s edges, then transition only clip-path over 200ms. Compute the inset from actual button measurements when widths differ. Make the active state immediate under reduced motion.Verify behavior and fallback
One clip governs the active background and text, while only the original tab controls remain accessible.
- One clip governs the active background and text, while only the original tab controls remain accessible.
Prompt · Step 3Switch tabs with arrow keys and confirm focus and aria-selected. Inspect mid-transition and after rapid reversal to ensure the visible label tint follows the highlight. Verify only the real row is exposed and the clip still matches after width changes.
Implementation lookup
Compare the implementation with the recipe and its expected outcome.
Inspect the implementation controlsVerify
- Command or reference
clip-path: inset(… round 17px) · 200ms ease-out · aria-hidden- Examples
- One clip governs the active background and text, while only the original tab controls remain accessible.
FAQ
What should I prepare first?
Use an existing semantic tab group and a visual-only duplicate. The recipe runs with CSS clip-path and DOM state.
How do I verify the result?
One clip governs the active background and text, while only the original tab controls remain accessible.