Index of every page on this site: llms.txt
All skills
johnpolacek avatar

/gsap-vanilla

@8ddf542
Run it yourself

Build or review animation on plain HTML/CSS/JavaScript sites: GSAP page intros/outros, component show/hide, scroll effects, cross-document View Transitions, bfcache, and fetch/swap navigation with Swup, Barba, or Taxi. Use for first-paint flashes or interrupted navigation, even when GSAP is unnamed. Also covers hidden-content recovery and first-load performance. Not for component frameworks or isolated GSAP API questions.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

referencesverification.md

≈903 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.
  • Confirm settled content is visible, interactive, and free of leftover GSAP inline styles.
  • Confirm timelines, triggers, listeners, and plugin DOM changes are cleaned up.
  • Confirm the page is readable with JavaScript disabled and with the pre-paint mark set but the main script blocked.
  • Test reduced motion: the same settled state, every completion callback fired.
  • 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 first paint. Throttle the network and reload; no settled content flashes.
  • Intro ends in one settled state.
  • Outro keeps the node in the DOM until completion runs.
  • Rapid or interrupted input ends in one coherent state.
  • Layout boxes do not jump.

For full-document navigation, test an ordinary internal link, a reload, back and forward, a link clicked twice quickly, and a click from a background tab. Confirm URL, visible page, focus, history, and scroll agree. Press back after an outro and confirm the restored page is readable, whether it came from the bfcache or a fresh load.

With cross-document View Transitions, confirm no element is animated by both engines, names are cleared after each transition, clicks land during a running transition, and the site still works with the transition unsupported.

For same-document navigation, also test a failed fetch, a slow fetch, and a page that changed body classes or scroll lock.

With a smooth scroller, run the scroll checks on a fresh load, a back_forward load, and a bfcache return; a page left mid-outro must not come back clipped, and a same-page hash link eases once rather than jumping and then easing. With a curtain, preloader, or shared element, run the archetype checks; on a full-document site also confirm a covered first frame follows only an outro, never a reload or history load, and that a shared element morphs through the browser's view transition, not Flip.

For conditional components, test show, hide, and one interruption. Confirm removal happens after the outro.

Builds and wider checks

Run a production build for changes to the build setup, dependencies, or anything release-facing. 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 alerts26d3 checks · Risk SAFE
  • Gen Agent Trust Hub26d

    The GSAP Vanilla skill provides comprehensive architectural guidance and implementation patterns for web animations. The analysis found no evidence of malicious code, prompt injection, data exfiltration, or other security vulnerabilities. The instructions follow industry best practices for performance, accessibility, and lifecycle management.

  • Socket26d

    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
Other metadata
metadata
{
  "short-description": "GSAP page and component lifecycles on plain HTML sites"
}

README badge

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