Skip to content
Back to skills

Performance And Motion

ASecurity

Use when adding or changing animations, smooth scrolling, carousel behavior, lazy loading, service worker behavior, hydration strategy, or other performance-sensitive front-end behavior in this Astro site. Trigger for Lenis, Embla, reveal effects, runtime media loading, and interaction code that can affect responsiveness.

  • 225 stars
  • 0 votes
  • 4 copies
  • 18 views
  • Added September 4, 2026
designperformance

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill performance-and-motion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance And Motion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance And Motion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-performance-and-motion/badge)](https://www.skillsdirectory.com/skills/neversight-performance-and-motion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance-and-motion
description: Use when adding or changing animations, smooth scrolling, carousel behavior, lazy loading, service worker behavior, hydration strategy, or other performance-sensitive front-end behavior in this Astro site. Trigger for Lenis, Embla, reveal effects, runtime media loading, and interaction code that can affect responsiveness.
---

# Performance and Motion

Fast first. Fancy second.

## Priorities

1. Preserve static delivery whenever possible.
2. Keep hydration narrow and intentional.
3. Protect LCP, input responsiveness, and scroll smoothness.
4. Respect reduced motion before styling the effect.

## Rules

- Animate emphasis, transitions, or orientation. Not everything.
- Use transform and opacity for movement when possible.
- Avoid stacked scroll listeners when CSS or existing observers can do the job.
- Re-test page transitions and re-initialization after motion changes.
- Do not fight existing transforms with extra animation layers.
- Protect nested scroll regions with the appropriate Lenis escape hatch.
- Keep carousel content light and avoid heavy first-frame assets.
- Use Embla where horizontal comparison helps. Do not turn essential navigation or core reading flows into swipe traps.
- Prefer mobile-only carousel activation for dense card collections when desktop already has enough width.
- Dropdowns, drawers, and modal menus need deliberate overflow behavior. If the viewport is shorter than the design, the component still has to work.
- Treat hero media as LCP-critical and everything else as suspect.
- Lazy-load what is not needed immediately.
- Keep fonts and third-party scripts from blocking the page.

## Verification

- Check reduced-motion behavior after adding or changing animations.
- Check keyboard and touch interaction for carousels, accordions, and menus.
- Check that runtime initialization survives Astro page transitions and repeated menu opens.

Files in this skill

  • SKILL.md1.9 KB
  • description_ar.txt546 B
  • description_cn.txt286 B
  • description_de.txt387 B
  • description_en.txt324 B
  • description_es.txt417 B
  • description_fr.txt449 B
  • description_it.txt425 B
  • description_ja.txt541 B
  • description_ko.txt401 B
  • description_ru.txt764 B
  • description_tw.txt292 B
  • stats.json68 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.