Index of every page on this site: llms.txt
All skills
Run it yourself

Build or review Nuxt 3/4 animation: GSAP pageTransition and layoutTransition hooks, component enter/exit, scroll effects, keepalive, and cleanup. Use for interrupted navigation, missing done callbacks, or choosing Vue CSS and View Transitions, even when GSAP is unnamed. Also covers hidden-content recovery and first-load performance. Not for plain Vue or isolated GSAP API questions.

Use this Skill: https://skilld.dev/gh/johnpolacek/animaxxing-skills/gsap-nuxt

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesverification.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Verification

Check in proportion to what changed. Do not turn a focused animation task into a full audit.

Always

  • Run the repo's type, lint, format, and test commands where they exist, including nuxt typecheck when the project uses it.
  • Confirm settled content is visible, interactive, and free of leftover GSAP inline styles.
  • Confirm timelines, triggers, listeners, and plugin DOM changes are cleaned up, on unmount and on deactivate.
  • Confirm every transition hook calls done on completion, on interruption, and under reduced motion.
  • On server-rendered projects, confirm the page is readable with JavaScript disabled and with the pre-paint mark set but the client bundle blocked.
  • Test reduced motion: the same settled state, done and every completion callback called.
  • At phone width: readable text, stable boxes, no horizontal overflow.
  • Touch-treated controls release after taps. For device changes, run the device checks.

Initially hidden content

Run the failure verification matrix when adding or changing hiding, preparation, or recovery. It covers disabled JavaScript, a blocked bundle after the marker, throws before/after styles and splits, stalled fonts/media, late initialization, no-flash success, reduced motion, and interruption/repeated setup. Assert text and native links, not opacity alone. Include shell/footer and intentionally hidden content.

Use this framework's integration rules for rendering and navigation expectations. Measure document-load LCP separately from transitions when first-load behavior changes; report measured results and untested paths.

Runtime changes

Check the changed lifecycle in a real browser when practical:

  • Initial state is applied before reveal. For the first load, throttle the network and reload; no settled content flashes.
  • Intro ends in one settled state.
  • Outro keeps the node in the DOM until done, and the node is gone right after.
  • Rapid or interrupted input ends in one coherent state.
  • Layout boxes do not jump, including at leave start when the page's context reverts.

For route navigation, test the paths the change affects: an ordinary <NuxtLink>, back and forward, a second click before the first navigation resolves, a query-only change (no transition should run), a route with pageTransition: false, and a layout change. Confirm URL, visible page, focus, history, and scroll agree, and that exactly one page root remains in the DOM after each transition.

With keepalive, also navigate away and back. The returning page must re-run initial state and intro on its preserved DOM with no doubled tweens, and scroll triggers must measure correctly after reactivation.

With experimental.viewTransition, confirm the Vue transition is disabled on those navigations, no element is animated by both engines, names are cleared afterward, and clicks land during a running transition.

With a smooth scroller, run the scroll checks on a <NuxtLink>, back and forward, a scrollToTop: false route, and a reload; the scroller stays stopped through onEnter and starts in onAfterEnter at the position Nuxt applied, and a keepalive page reactivates against the same scroller. With a curtain, preloader, or shared element, run the archetype checks; also confirm the curtain reveals from onEnter on a prepared root, a failed navigation leaves no curtain, the preloader shows only on first hydration, and done is still called once per hook with a morph in the intro.

For conditional components, test show, hide, and one interruption. Confirm removal happens after the outro, and that a v-show re-show during an outro reverses or restarts as intended.

Builds and wider checks

Run nuxt build and check the output with nuxt preview for changes to pages, layouts, nuxt.config, router options, middleware, dependencies, or client and server boundaries. Run wider browser, accessibility, responsive, and performance checks only when the change touches them or the user asks for a full audit.

Report which checks ran and which could not. Do not claim runtime behavior was verified when only static review was possible.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts24d3 checks · Risk SAFE
  • Gen Agent Trust Hub26d

    This skill provides technical guidelines and architectural patterns for implementing GSAP animations within Nuxt 3/4 applications, focusing on lifecycles, performance, and accessibility.

  • Socket24d

    No alerts

  • Snyk26d

    Risk: LOW · No issues

Signed by skilld at 8ddf542. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 4 weeks ago
metadata
{
  "short-description": "GSAP page and component lifecycles in Nuxt"
}

README badge

README badge for johnpolacek/animaxxing-skills/gsap-nuxt