What problem does it solve? GSAP animations in Astro break in subtle ways: duplicated motion after navigation, missing intros, leaked listeners, and flashes of hidden content when ClientRouter swaps pages. This Skill provides the lifecycle rules and cleanup patterns to build or review animation that survives Astro's client-side routing. ## Core Features & Use Cases - ClientRouter navigation lifecycle: Implements the five phases (mount, initial state, intro, settled, outro, end state, unmount) across astro:before-preparation, astro:before-swap, astro:after-swap, and astro:page-load events. - Cleanup and leak prevention: Kills GSAP contexts, ScrollTriggers, splits, and document-level listeners before each swap so timelines and observers do not outlive their pages. - Initialization and recovery: Preserves invisible-to-visible intros with pre-paint markers, bounded deadlines, and per-owner recovery so content stays readable when bundles fail or JavaScript is disabled. - Use Case: A user adds GSAP page transitions to an Astro site with <ClientRouter /> and finds animations replay or content stays hidden after navigating back; this Skill diagnoses the router event sequence and fixes the outro, cleanup, and intro wiring. ## Quick Start Use the gsap-astro skill to add GSAP page transitions to my Astro site that uses ClientRouter.