Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

scrollytellingscrollytelling 搜索

Agent Skill

scrollytelling 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,889

周安装

118

GitHub Stars

11

下载量

935
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:scrollytelling(scrollytelling 搜索)
来源仓库:https://github.com/doodledood/claude-code-plugins
仓库路径:skills/scrollytelling
安装命令:
npx skills add https://github.com/doodledood/claude-code-plugins --skill scrollytelling
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/doodledood/claude-code-plugins --skill scrollytelling

简介

用于查找、检索和筛选相关信息。scrollytelling 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或线索快速定位候选结果。
  • 可结合来源仓库 README 核验具体实现细节。
  • 安装前建议确认是否会触发联网或文件访问。
  • 注意权限范围和仓库维护状态的核实。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Scrollytelling Skill

Build scroll-driven narrative experiences that reveal content, trigger animations, and create immersive storytelling as users scroll.

What is Scrollytelling?

Definition: "A storytelling format in which visual and textual elements appear or change as the reader scrolls through an online article." When readers scroll, something other than conventional document movement happens.

Origin: The New York Times' "Snow Fall: The Avalanche at Tunnel Creek" (2012), which won the 2013 Pulitzer Prize for Feature Writing.

Why it works: Scrollytelling exploits a fundamental psychological principle—humans crave control. Every scroll is a micro-commitment that increases engagement. Users control the pace, creating deeper connection than passive consumption.

Measured impact:

  • 400% longer time-on-page vs static content
  • 67% improvement in information recall
  • 5x higher social sharing rates
  • 25-40% improved conversion completion

Core Principles

1. Story First, Technology Second

The biggest mistake is leading with technology instead of narrative. Scrollytelling should enhance the story, not showcase effects.

2. User Agency & Progressive Disclosure

Users control the pace. Information reveals gradually to maintain curiosity. This shifts from predetermined pacing to user-controlled narrative flow.

3. Sequential Structure

Unlike hierarchical web content, scrollytelling demands linear progression with clear narrative beats. Each section builds on the previous.

4. Meaningful Change

Every scroll-triggered effect must serve the narrative. Gratuitous animation distracts rather than enhances.

5. Restraint Over Spectacle

Not every section needs animation. Subtle transitions often work better than constant effects. The format should amplify the content's message, not fight it.

The 5 Standard Techniques

Research analyzing 50 scrollytelling articles identified these core patterns:

TechniqueDescriptionBest For
Graphic SequenceDiscrete visuals that change completely at scroll thresholdsData visualizations, step-by-step explanations
Animated TransitionSmooth morphing between statesState changes, evolution over time
Pan and ZoomScroll controls which portion of a visual is visibleMaps, large images, spatial narratives
MoviescrollerFrame-by-frame progression creating video-like effectsProduct showcases, 3D object reveals
Show-and-PlayInteractive elements activate at scroll waypointsMultimedia, audio/video integration

Layout Patterns

Pattern 1: Side-by-Side Sticky (Most Common)

The classic scrollytelling pattern: a graphic becomes "stuck" while narrative text scrolls alongside. When the narrative concludes, the graphic "unsticks."

┌─────────────────────────────────────┐
│  ┌──────────┐  ┌─────────────────┐  │
│  │  Text    │  │                 │  │
│  │  Step 1  │  │    STICKY       │  │
│  ├──────────┤  │    GRAPHIC      │  │
│  │  Text    │  │                 │  │
│  │  Step 2  │  │  (updates with  │  │
│  ├──────────┤  │   active step)  │  │
│  │  Text    │  │                 │  │
│  │  Step 3  │  │                 │  │
│  └──────────┘  └─────────────────┘  │
└─────────────────────────────────────┘

When to use: Data visualization stories, step-by-step explanations, educational content requiring persistent visual context.

Implementation: Use CSS position: sticky (not JavaScript scroll listeners) for better performance and graceful degradation.

Pattern 2: Full-Width Sections

Content spans the entire viewport with section-based transitions.

When to use: Highly visual narratives, immersive brand storytelling, portfolio showcases, timeline-based stories.

Pattern 3: Layered Parallax

Multiple visual layers (background, midground, foreground) move at different speeds to create depth.

When to use: Atmospheric storytelling, game/product launches, long-form narratives where depth adds emotional impact.

Accessibility warning: Parallax triggers vestibular disorders (dizziness, nausea, migraines). Always provide reduced-motion fallback; limit to one subtle parallax effect per page maximum.

Pattern 4: Multi-Directional

Combines vertical scrolling with horizontal sections or sideways timelines.

When to use: Timeline-based content, visually-driven showcases, unconventional layouts where surprise enhances the message.

When to Use Scrollytelling

Good candidates:

  • Long-form journalism with multimedia
  • Brand storytelling celebrating achievements
  • Product pages showcasing features
  • Chronological/historical content
  • Complex narratives broken into digestible chunks
  • High-consideration products needing depth

Avoid when:

  • You lack strong visual assets
  • You're tight on time/budget (good scrollytelling requires more investment)
  • The story lacks distinct chronology
  • Content is brief
  • Performance is critical on low-end devices

Discovery Questions

Before implementing, clarify with the user:

header: "Scrollytelling Pattern"
question: "What scrollytelling pattern fits your narrative?"
options:
  - "Pinned narrative - text changes while visual stays fixed (NYT, Pudding.cool style)"
  - "Progressive reveal - content fades in as you scroll down"
  - "Parallax depth - layers move at different speeds (requires reduced-motion fallback)"
  - "Step sequence - discrete sections with transitions between"
  - "Hybrid - multiple patterns combined"
header: "Tech Stack"
question: "What's your frontend setup?"
options:
  - "React + Tailwind"
  - "React + CSS-in-JS"
  - "Next.js"
  - "Vue"
  - "Vanilla JS"
  - "Other"
header: "Animation Approach"
question: "Animation library preference?"
options:
  - "CSS-only (scroll-timeline API, IntersectionObserver) - best performance"
  - "GSAP ScrollTrigger - most powerful, cross-browser"
  - "Framer Motion / Motion - React ecosystem"
  - "Lenis + custom - smooth scroll"
  - "No preference - recommend based on complexity"

Technical Implementation (2025-2026)

Technology Selection Guide

ComplexityRecommendationBundle Size
Simple reveals, progress barsNative CSS scroll-timeline0 KB
Viewport-triggered effectsIntersectionObserver0 KB
Complex timelines, pinningGSAP ScrollTrigger~23 KB
React projectsMotion (Framer Motion)~32 KB
Smooth scroll + effectsLenis + GSAP~25 KB

CSS Scroll-Driven Animations (Native - 2025+)

Browser support:

  • Chrome 115+: Full support (since July 2025)
  • Safari 26+: Full support (since September 2025)
  • Firefox: Requires flag (layout.css.scroll-driven-animations.enabled)

Key properties:

  • animation-timeline: scroll() - links animation to scroll position
  • animation-timeline: view() - links animation to element visibility
  • animation-range - controls when animation starts/stops

Example - View-triggered fade in:

@supports (animation-timeline: scroll()) {
  .reveal-on-scroll {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

Example - Scroll-linked progress bar:

.progress-bar {
  animation: grow linear;
  animation-timeline: scroll();
}

@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

Performance benefit: Tokopedia achieved 80% code reduction and CPU usage dropped from 50% to 2% by switching to native CSS scroll-driven animations.

IntersectionObserver Pattern

For scroll-triggered effects without continuous scroll tracking:

const RevealOnScroll = ({ children, delay = 0 }) => {
  const ref = useRef(null);
  const [isVisible, setIsVisible] = useState(false);

  useEffect(() => {
    // Check reduced motion preference
    if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
      setIsVisible(true);
      return;
    }

    const observer = new IntersectionObserver(
      ([entry]) => {
        if (entry.isIntersecting) {
          setIsVisible(true);
          observer.disconnect();
        }
      },
      { threshold: 0.1, rootMargin: '-50px' }
    );

    if (ref.current) observer.observe(ref.current);
    return () => observer.disconnect();
  }, []);

  return (
    <div
      ref={ref}
      style={{
        opacity: isVisible ? 1 : 0,
        transform: isVisible ? 'translateY(0)' : 'translateY(30px)',
        transition: `all 0.6s ease ${delay}ms`,
      }}
    >
      {children}
    </div>
  );
};

GSAP ScrollTrigger (Complex Animations)

For pinned sections, timeline orchestration, and cross-browser reliability:

const ScrollytellingSection = ({ steps }) => {
  const containerRef = useRef(null);
  const [activeStep, setActiveStep] = useState(0);

  useEffect(() => {
    // Check reduced motion preference
    if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
      return;
    }

    const ctx = gsap.context(() => {
      steps.forEach((_, index) => {
        ScrollTrigger.create({
          trigger: `.step-${index}`,
          start: 'top center',
          end: 'bottom center',
          onEnter: () => setActiveStep(index),
          onEnterBack: () => setActiveStep(index),
        });
      });
    }, containerRef);

    return () => ctx.revert();
  }, [steps]);

  return (
    <section ref={containerRef} className="relative">
      <div className="grid grid-cols-1 md:grid-cols-2 gap-8">
        {/* Text column - scrolls naturally */}
        <div className="space-y-[100vh]">
          {steps.map((step, i) => (
            <div
              key={i}
              className={`step-${i} min-h-screen flex items-center transition-opacity duration-300 ${
                activeStep === i ? 'opacity-100' : 'opacity-30'
              }`}
            >
              <div className="max-w-md">
                <h3 className="text-2xl font-bold mb-4">{step.title}</h3>
                <p className="text-lg">{step.description}</p>
              </div>
            </div>
          ))}
        </div>

        {/* Visual column - sticky */}
        <div className="relative hidden md:block">
          <div className="sticky top-0 h-screen flex items-center justify-center">
            <StepVisual step={activeStep} data={steps[activeStep]} />
          </div>
        </div>
      </div>
    </section>
  );
};

Motion (Framer Motion) for React

import { motion, useScroll, useTransform } from 'motion/react';

const ScrollLinkedSection = () => {
  const ref = useRef(null);
  const { scrollYProgress } = useScroll({
    target: ref,
    offset: ['start end', 'end start'],
  });

  const opacity = useTransform(scrollYProgress, [0, 0.5, 1], [0, 1, 0]);
  const scale = useTransform(scrollYProgress, [0, 0.5, 1], [0.8, 1, 0.8]);

  return (
    <section ref={ref} className="h-[200vh] relative">
      <motion.div
        className="sticky top-0 h-screen flex items-center justify-center"
        style={{ opacity, scale }}
      >
        <h2 className="text-6xl font-bold">Scroll-Linked Content</h2>
      </motion.div>
    </section>
  );
};

Scroll Progress Hook

const useScrollProgress = (ref) => {
  const [progress, setProgress] = useState(0);

  useEffect(() => {
    const element = ref.current;
    if (!element) return;

    const updateProgress = () => {
      const rect = element.getBoundingClientRect();
      const windowHeight = window.innerHeight;

      // 0 when element top enters viewport, 1 when bottom exits
      const start = rect.top - windowHeight;
      const end = rect.bottom;
      const current = -start;
      const total = end - start;

      setProgress(Math.max(0, Math.min(1, current / total)));
    };

    window.addEventListener('scroll', updateProgress, { passive: true });
    updateProgress();
    return () => window.removeEventListener('scroll', updateProgress);
  }, [ref]);

  return progress;
};

Accessibility Requirements

Accessibility is non-negotiable. Scrollytelling can trigger vestibular disorders and exclude keyboard/screen reader users if not implemented correctly.

Critical WCAG Criteria

CriterionRequirement
SC 2.2.2Auto-playing content >5 seconds needs pause/stop/hide controls
SC 2.3.3User-triggered animations must be disableable
SC 2.3.1No flashing more than 3 times per second

Reduced Motion Support (Mandatory)

Always respect user preferences:

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}
const prefersReducedMotion = () =>
  window.matchMedia('(prefers-reduced-motion: reduce)').matches;

// In components - check before animating
useEffect(() => {
  if (prefersReducedMotion()) {
    // Show content immediately, skip animations
    return;
  }
  // Set up animations
}, []);

Safe Animation Guidelines

Animation TypeSafety
Fade in/out, under 0.5sSafe
Simple transformsSafe
Parallax scrollingTriggers vestibular issues - always provide fallback
Swooping, zoomingProblematic - avoid or provide fallback
Looping animationsCognitive overload - limit iterations

Keep effects small: Animations affecting more than 1/3 of the viewport can overwhelm users.

Keyboard Navigation

  • Add tabindex="0" to scrollable areas
  • Ensure focus follows scroll targets when using smooth scrolling
  • Provide skip links to major sections
  • No keyboard traps in scroll regions

Screen Reader Considerations

  • Use proper heading hierarchy (<h1> through <h6>)
  • DOM order must match logical reading order
  • Use ARIA live regions for dynamic content updates
  • Ensure all content exists in DOM (even if visually hidden initially)

Performance Best Practices

Do

  • Use transform and opacity for animations (GPU-accelerated)
  • Add will-change: transform sparingly on animated elements
  • Use passive: true on scroll listeners
  • Use position: sticky over JS-based pinning
  • Lazy load images/videos until needed
  • Use single IntersectionObserver for multiple elements
  • Test on real devices, not just desktop

Don't

  • Animate width, height, top, left (triggers layout recalculation)
  • Use will-change excessively (increases memory usage)
  • Create scroll listeners without cleanup
  • Forget to handle reduced-motion preferences
  • Use overflow: hidden on ancestors of sticky elements

Performance Targets

  • First Contentful Paint: under 2.5 seconds
  • Maintain 60fps during scrolling
  • Meet Core Web Vitals thresholds

Mobile Considerations

Mobile users represent 60%+ of web traffic. Scrollytelling must work excellently on mobile or risk excluding the majority of users.

Mobile-First Design Philosophy

Start with mobile: "Starting with mobile first forces you to pare down your experience to the nuts and bolts, leaving only the necessities. This refines and focuses the content." (The Pudding)

Design the core experience for mobile, then enhance for desktop—not the reverse. This approach:

  • Forces essential-only content decisions
  • Improves development efficiency
  • Results in less code if desktop is functionally similar

Viewport Units: vh vs svh vs dvh vs lvh

Mobile browsers toggle navigation bars during scrolling, breaking traditional 100vh layouts.

UnitDefinitionWhen To Use
vhLarge viewport (browser UI hidden)Legacy fallback only
svhSmall viewport (browser UI visible)Use for ~90% of layouts (recommended)
lvhLarge viewport (browser UI hidden)Modals/overlays maximizing space
dvhDynamic viewport (changes constantly)Use sparingly - causes layout thrashing

Critical warning: "I initially thought 'dynamic viewport units are the future' and used dvh for every element. This was a mistake. The constant layout shifts felt broken."

Implementation pattern:

.full-height-section {
  height: 100vh;  /* Fallback for older browsers */
  height: 100svh; /* Modern solution - small viewport */
}

/* Progressive enhancement */
@supports (height: 100svh) {
  :root {
    --viewport-height: 100svh;
  }
}

JavaScript alternative (The Pudding's recommendation):

function setViewportHeight() {
  const vh = window.innerHeight;
  document.documentElement.style.setProperty('--vh', `${vh}px`);
}

window.addEventListener('resize', setViewportHeight);
setViewportHeight();
.section {
  height: calc(var(--vh) * 100);
}

Touch Scroll Physics

Momentum scrolling: Content continues scrolling after touch release, decelerating naturally. iOS and Android have different friction curves—iOS feels more "flicky."

Critical for iOS:

.scroll-container {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS momentum - still needed for pre-iOS 13 */
}

Performance note: Scroll events fire at END of momentum on iOS, not during. Use IntersectionObserver instead of scroll listeners for step detection.

Preventing Gesture Conflicts

Pull-to-Refresh conflicts:

/* Disable PTR but keep bounce effects */
html {
  overscroll-behavior-y: contain;
}

/* Or disable completely */
html {
  overscroll-behavior-y: none;
}

Scroll chaining in modals:

.modal-content {
  overflow-y: auto;
  overscroll-behavior: contain; /* Prevents scrolling parent when modal hits boundary */
}

Horizontal swipe conflicts (browser back/forward):

.horizontal-carousel {
  touch-action: pan-y pinch-zoom; /* Allow vertical scroll & zoom, block horizontal */
}

Passive Event Listeners

Chrome 56+ defaults touch listeners to passive for 60fps scrolling. Use passive listeners for monitoring, non-passive only when you must preventDefault():

// ✅ Monitoring scroll (passive - default, best performance)
document.addEventListener('touchstart', trackTouch, { passive: true });

// ⚠️ Only when you MUST prevent default (e.g., custom swipe)
carousel.addEventListener('touchmove', handleSwipe, { passive: false });

Prefer CSS over JavaScript:

/* Better than JavaScript preventDefault */
.element {
  touch-action: pan-y pinch-zoom;
}

Scroll Snap on Mobile

Scroll snap works well on mobile with mandatory (avoid proximity on touch devices):

.scroll-container {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.section {
  scroll-snap-align: start;
  min-height: 100svh;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-container {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

Warning: Never use mandatory if content can overflow the viewport—users won't be able to scroll to see it.

Touch Accessibility

Minimum touch target sizes:

StandardSizeWhen
WCAG 2.5.8 (AA)24×24pxMinimum compliance
WCAG 2.5.5 (AAA)44×44pxBest practice
Apple iOS44×44ptRecommended
Android48×48dpRecommended

Expand touch area without changing visual size:

.small-button {
  width: 24px;
  height: 24px;
  padding: 10px; /* Creates 44×44px touch target */
}

Always provide button alternatives for gesture-only actions:

<!-- Swipe to delete MUST have button alternative -->
<div class="item">
  <span>Content</span>
  <button aria-label="Delete">Delete</button>
</div>

Browser-Specific Quirks

iOS Safari:

/* Position sticky requires no overflow on ancestors */
.parent {
  /* overflow: hidden; ❌ Breaks sticky on iOS */
}

.sticky {
  position: -webkit-sticky; /* Prefix still needed */
  position: sticky;
  top: 0;
}
/* Preventing body scroll in modals requires JavaScript on iOS */
/* CSS overflow: hidden doesn't work on body */
// iOS modal scroll lock
function lockScroll() {
  document.body.style.position = 'fixed';
  document.body.style.top = `-${window.scrollY}px`;
}

Chrome Android:

/* Disable pull-to-refresh */
body {
  overscroll-behavior-y: none;
}

Responsive Layout Strategy

Side-by-Side → Stacked pattern:

<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
  {/* On mobile: stacked, full-width */}
  {/* On desktop: side-by-side sticky */}
  <div className="space-y-[50vh] md:space-y-[100vh]">
    {/* Text steps - shorter spacing on mobile */}
  </div>
  <div className="hidden md:block">
    {/* Sticky visual - hidden on mobile, shown on desktop */}
  </div>
</div>

Synchronize CSS and JS breakpoints:

const breakpoint = '(min-width: 800px)';
const isDesktop = window.matchMedia(breakpoint).matches;

if (isDesktop) {
  initScrollama(); // Complex scrollytelling
} else {
  initStackedView(); // Simple stacked layout
}

// Listen for breakpoint changes
window.matchMedia(breakpoint).addEventListener('change', (e) => {
  if (e.matches) {
    initScrollama();
  } else {
    initStackedView();
  }
});

Mobile alternative patterns:

  • Replace sticky graphics with inline graphics between text sections
  • Use simpler reveal animations instead of complex parallax
  • Stack static images with scroll-triggered captions
  • Consider whether scrollytelling is even appropriate

Mobile Performance Strategies

Target: 60fps (16.7ms per frame)

Use hardware-accelerated properties only:

.animate {
  /* ✅ Good - GPU accelerated */
  transform: translateY(100px);
  opacity: 0.5;

  /* ❌ Bad - triggers layout recalculation */
  /* top: 100px; width: 200px; margin: 20px; */
}

Use will-change sparingly:

/* Only on elements about to animate */
.about-to-animate {
  will-change: transform;
}

/* Remove when animation completes */
.animation-complete {
  will-change: auto;
}

Warning: Too many composited layers hurt mobile performance. Don't apply will-change to everything.

Throttle scroll handlers with requestAnimationFrame:

let ticking = false;

window.addEventListener('scroll', () => {
  if (!ticking) {
    requestAnimationFrame(() => {
      updateAnimation();
      ticking = false;
    });
    ticking = true;
  }
}, { passive: true });

Better: Use IntersectionObserver (no scroll events):

const observer = new IntersectionObserver(entries => {
  entries.forEach(entry => {
    if (entry.isIntersecting) {
      animateElement(entry.target);
    }
  });
});

When to Simplify or Abandon Scrollytelling on Mobile

Keep scrollytelling when:

  • Transitions are truly meaningful to the narrative
  • Spatial movement or temporal change is core to understanding
  • Performance targets can be met (60fps, <3s load)
  • Testing shows mobile users successfully comprehend content

Simplify scrollytelling when:

  • Performance is acceptable but animations aren't essential
  • Some complexity is nice-to-have but not required
  • Desktop experience is richer but mobile should be functional

Abandon scrollytelling when:

  • Performance issues can't be resolved on mid-tier devices
  • Mobile users are confused or frustrated in testing
  • Development timeline doesn't allow proper optimization
  • Content works just as well in simpler stacked format
  • Animations are decorative, not meaningful

"The most important reason to preserve scroll animations is if the transitions are truly meaningful, not just something to make it pop." (The Pudding)

Mobile Testing Checklist

Device Coverage:

  • iPhone (latest 2 models) - Safari
  • iPhone - Chrome
  • iPad - Safari (portrait & landscape)
  • Android flagship - Chrome
  • Android mid-tier - Chrome (critical for performance)
  • Tablet Android - Chrome

Viewport Testing:

  • Address bar hide/show transitions smooth
  • No layout jumping during scroll
  • Fixed elements stay positioned correctly
  • svh/dvh units behaving as expected

Performance Testing:

  • 60fps maintained during scroll (use Chrome DevTools FPS meter)
  • No janky animations
  • Images lazy-load properly
  • Memory doesn't leak on long sessions
  • Test with CPU throttling (4x slowdown in DevTools)

Interaction Testing:

  • Touch scrolling feels natural (momentum)
  • No accidental interactions
  • Pull-to-refresh disabled if needed
  • Scroll chaining behaves correctly

Accessibility Testing:

  • Works with reduced motion enabled
  • Touch targets minimum 44×44px
  • Button alternatives for all gestures
  • Screen reader (VoiceOver/TalkBack) can navigate

Critical: Chrome DevTools mobile emulator does NOT accurately simulate browser UI behavior. Test on real devices or use BrowserStack/Sauce Labs

Anti-Patterns to Avoid

Anti-PatternProblemSolution
Scroll-jackingOverrides natural scroll, breaks accessibilityPreserve native scroll behavior
Text-graphics conflictUser can't read text while watching animationSeparate text and animated areas
Animation overloadDistracts from content, causes fatigueRestraint—not every section needs effects
No length indicatorUsers don't know commitment levelAdd progress indicators
Missing fallbacksBreaks for no-JS or reduced-motion usersProgressive enhancement
Mobile neglectExcludes 60% of usersMobile-first design
Poor pacingToo fast or too slow content revealsTest with real users

Implementation Workflow

  1. Understand the narrative - What story are you telling? What's the sequence?
  2. Choose pattern - Pinned, progressive, parallax, or hybrid?
  3. Plan accessibility - How will reduced-motion users experience this?
  4. Select technology - Native CSS, GSAP, Motion based on complexity
  5. Scaffold structure - Build HTML/component structure first
  6. Add scroll mechanics - Implement tracking (IntersectionObserver, ScrollTrigger, etc.)
  7. Wire animations - Connect scroll state to visual changes
  8. Add reduced-motion fallbacks - Content should work without animation
  9. Performance audit - Check for jank, optimize
  10. Cross-device testing - Mobile, tablet, desktop, different browsers
  11. Accessibility testing - Keyboard nav, screen readers, reduced motion

Output

After gathering requirements, implement the scrollytelling experience directly in the codebase. Provide:

  1. Component structure with scroll tracking
  2. Animation/transition logic with reduced-motion handling
  3. Responsive adjustments (mobile-first)
  4. Accessible fallbacks
  5. Performance optimizations
  6. Testing recommendations

Notable Examples for Reference

  • NYT "Snow Fall" - Origin story, multimedia integration
  • Pudding.cool - Data journalism with audio-visual sync
  • National Geographic "Atlas of Moons" - Educational, responsive design
  • BBC "Partition of India" - Historical narrative with multimedia
  • Firewatch website - Multi-layered parallax for atmosphere

Sources

Research based on 100+ sources including EU Data Visualization Guide, MDN, GSAP documentation, W3C WCAG, A List Apart, Smashing Magazine, The Pudding, CSS-Tricks, and academic research on scrollytelling effectiveness.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.5%
按下载量换算351

Claude

28.36%
按下载量换算265

Cursor

19.69%
按下载量换算184

Gemini CLI

10.53%
按下载量换算98

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills