astro-animations
Installation
SKILL.md
Astro Animations Skill
Purpose
Provides animation patterns that enhance UX without harming performance or accessibility. All animations must serve a functional purpose and respect user motion preferences.
Core Rules
- Purpose over polish — Every animation should serve UX
- Performance first — Use CSS, avoid JS where possible
- Respect preferences — Honor
prefers-reduced-motion - Subtle over flashy — Enhance, don't distract
- Fast — Animations under 300ms for interactions
- No layout shift — Animations must not cause cumulative layout shift
- Progressive enhancement — UI must work without animations
- Intersection Observer — Use for scroll-based reveals
- View Transitions API — Leverage for page transitions in Astro
- Loading feedback — Always show loading states with skeletons or spinners