scroll-progress-timeline
Qué hace
Esta skill construye una línea de progreso que une pasos ordenados y resalta cada uno según el lector hace scroll. Es para diseñadores y desarrolladores que presentan flujos de onboarding, hojas de ruta, casos de estudio o procesos.
Cuándo usarla
- ✓Cuando tienes un proceso ordenado, como un onboarding o un flujo de compra, que debe mostrar el progreso al hacer scroll.
- ✓Cuando una página de hoja de ruta o de historia necesita una línea que se llene según el lector avanza.
- ✓Cuando los pasos deben leerse con claridad en un móvil y sin movimiento.
Link de la skill
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/scroll-progress-timeline/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero mostrar nuestros cinco pasos de onboarding como una línea de tiempo en la que una línea se llene mientras la gente baja con el scroll.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente construye una lista ordenada real, dibuja una línea base y una línea de progreso encima, y calcula el progreso a partir del primer y el último paso. Los pasos activos se resaltan cuando la línea de progreso llega a ellos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Scroll Progress Timeline
Use one progress line to connect ordered information. The sequence must remain complete, readable, and navigable before animation is added.
Model the steps
Keep the content data-driven:
const steps = [
{ id: "brief", number: "01", title: "Set the direction", body: "..." },
{ id: "build", number: "02", title: "Make the system", body: "..." },
{ id: "ship", number: "03", title: "Release and learn", body: "..." }
];
Render it as an ordered list with real headings. The line, dots, media, and active state enhance that structure; they do not replace it.
Build the line
- Render a quiet base line behind every point.
- Place one progress line on top with
transform-origin: topfor vertical orleftfor horizontal. - Measure the first and last point centers, not arbitrary section edges.
- Normalize scroll position between those centers.
- Apply
scaleY(progress)orscaleX(progress)so updates stay on the compositor. - Mark a step active when the progress head crosses its center.
const progress = Math.min(1, Math.max(0,
(viewportAnchor - lineStart) / (lineEnd - lineStart)
));
line.style.transform = `scaleY(${progress})`;
Schedule DOM writes in one animation frame. Recalculate geometry after font and image loading, resize, orientation changes, and content mutation.
Choose the layout
- Use a centered alternating timeline only when both sides have enough width and similar content weight.
- Use a left rail for long copy, compact steps, or mixed card heights.
- Use a horizontal line for short sequences with concise labels and explicit keyboard-safe overflow.
- Use pinned full-screen chapters only when each step carries a distinct visual state. Keep the pin finite and release before the next section.
- Collapse to a simple left rail on small screens. Do not preserve alternation at the expense of reading order.
Animate step state
Use small opacity, translate, scale, blur, color, or media transitions. Keep every step readable while inactive. Expose active index with aria-current="step" only when that state is meaningful and current; do not announce every scroll update with a live region.
Use IntersectionObserver for simple active-state entry. Use a normalized scroll measurement or GSAP ScrollTrigger when the line must fill continuously or coordinate pinned media.
Handle navigation
- Make step links real anchors when users can jump within the process.
- Add
scroll-marginfor sticky headers. - Preserve focus and do not move it during passive scrolling.
- Keep URLs and browser history stable unless the user explicitly selects a step.
- If steps are interactive, use buttons or links with visible focus; never make a decorative dot the only control.
Reduce motion
Under prefers-reduced-motion: reduce, show the complete line or discrete reached states without scrubbed interpolation, blur, pinning, or large transforms. Keep ordinary document flow and all step content.
Verify
Test variable step counts, uneven card heights, missing media, long translations, 390/768/1024/1440 widths, 200% zoom, fast forward and reverse scrolling, direct anchor navigation, keyboard order, reduced motion, late font/image layout, route cleanup, and console errors. The active step and line head must agree at every boundary.
Use demo/index.html as the working reference and demo/PROMPT.md to recreate or remix it. Keep REFERENCES.md as the links-only implementation source list.
Preguntas frecuentes
¿La animación oculta el contenido?
No. La skill indica que la secuencia debe quedar completa y legible antes de añadir la animación.
¿Funciona en móviles?
La skill cubre el colapso adaptable, así que la composición puede cambiar en pantallas estrechas.
¿Se admite el movimiento reducido?
Sí. La skill incluye un comportamiento para movimiento reducido.
Detalles
Descripción original del autor
Turn any ordered process into a data-driven vertical or horizontal scroll story with a base line, progress fill, active step states, responsive collapse, semantic fallback, and reduced-motion behavior. Use for onboarding, checkout, roadmaps, recipes, case studies, service processes, histories, or narratives where progress through the sequence should become visible while scrolling.
repo: MengTo/Skills
Popularidad
- Estrellas en GitHub
- 7,2 mil
- Posición en el ranking
- #13462
- Licencia
- MIT
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
3d-cloth-material
7,2 milAyuda a tu agente a crear tela tejida realista en Three.js, con el entramado del hilo, un brillo suave, pliegues naturales, dobladillos y costuras.
3d-falling-leaves
7,2 milAyuda a tu agente a añadir hojas que caen de forma realista a una escena 3D, con hojas que giran, se dejan llevar por el viento y se reciclan al moverse la cámara.
3d-four-seasons
7,2 milAyuda a tu agente a añadir los aspectos de primavera, verano, otoño e invierno a una escena 3D, cambiando la vegetación, la luz, el cielo y la nieve sin reconstruirla.
3d-high-poly-models
7,2 milAyuda a tu agente a construir modelos 3D detallados con formas suaves y bordes creíbles, y después preparar versiones más ligeras que funcionen bien en la web.
Skills parecidas
blender-motion-state-inspection
280 milPermite inspeccionar detalles de animaciones 3D. Es útil para revisar poses, movimientos y la alineación de los personajes en las animaciones.
manim-video
280 milPermite a tu agente crear vídeos animados explicativos. Usa Manim para generar gráficos y diagramas claros de conceptos técnicos.
remotion-video-creation
280 milGuía a tu agente para crear vídeos con React usando la biblioteca Remotion. Cubre buenas prácticas para animaciones, audio, subtítulos y otros elementos visuales.