Skip to content

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

Enforce prefers-reduced-motion in gpt-taste and minimalist-ui

dszub541c36ba2666
diff --git a/skills/gpt-tasteskill/SKILL.md b/skills/gpt-tasteskill/SKILL.md
index 03ed209..cffd833 100644
--- a/skills/gpt-tasteskill/SKILL.md
+++ b/skills/gpt-tasteskill/SKILL.md
@@ -50,6 +50,7 @@ Static interfaces are strictly forbidden. You must write real GSAP (`@gsap/react
- **Image Scale & Fade Scroll:** Images must start small (`scale: 0.8`). As they scroll into view, they grow to `scale: 1.0`. As they scroll out of view, they smoothly darken and fade out (`opacity: 0.2`).
- **Scrubbing Text Reveals:** Opacity of central paragraph words starts at 0.1 and scrubs to 1.0 sequentially as the user scrolls.
- **Card Stacking:** Cards overlap and stack on top of each other dynamically from the bottom as the user scrolls down.
+- **Reduced Motion (mandatory):** Every animation above MUST honor `prefers-reduced-motion: reduce`. Gate ScrollTrigger/GSAP setup behind a reduced-motion check (`gsap.matchMedia()` or `useReducedMotion()`), and under `(prefers-reduced-motion: reduce)` collapse scroll-pinning, scrubbing, image scale/fade, card stacking, and marquees to their static end-state (full opacity, `scale: 1`, no auto-scroll). "Static interfaces are forbidden" governs the default experience, not users who have explicitly requested reduced motion.
## 6. COMPONENT ARSENAL & CREATIVITY
Select components from this arsenal based on your randomization:
diff --git a/skills/minimalist-skill/SKILL.md b/skills/minimalist-skill/SKILL.md
index 44ead27..d319ad9 100644
--- a/skills/minimalist-skill/SKILL.md
+++ b/skills/minimalist-skill/SKILL.md
@@ -73,6 +73,7 @@ Motion should feel invisible — present but never distracting. The goal is quie
- Staggered Reveals: Lists and grid items enter with a cascade delay (`animation-delay: calc(var(--index) * 80ms)`). Never mount everything at once.
- Background Ambient Motion: Optional. A single, very slow-moving radial gradient blob (`animation-duration: 20s+`, `opacity: 0.02-0.04`) drifting behind hero sections. Must be applied to a `position: fixed; pointer-events: none` layer. Never on scrolling containers.
- Performance: Animate exclusively via `transform` and `opacity`. No layout-triggering properties (`top`, `left`, `width`, `height`). Use `will-change: transform` sparingly and only on actively animating elements.
+- Reduced Motion (mandatory): Gate scroll-entry, staggered reveals, and ambient background motion behind `@media (prefers-reduced-motion: no-preference)`, and add a `@media (prefers-reduced-motion: reduce)` block that disables them so content appears instantly at rest. Hover and `:active` feedback may remain.
## 8. Execution Protocol
When tasked with writing frontend code (HTML, React, Tailwind, Vue) or designing a layout: