scrolltrigger Copilot instructionsA

scrolltrigger from greensock/gsap-skills is a Copilot instructions file: the standing instructions GitHub Copilot reads in that repo.

Install it, pinned
mdr add greensock/gsap-skills/.github/instructions/scrolltrigger.instructions.md@git:20260306.97b7cc3

Pins git:20260306.97b7cc3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Copilot instructions
Repository
greensock/gsap-skills
Path
.github/instructions/scrolltrigger.instructions.md
Versions recorded
1
Latest version
git:20260306.97b7cc3, committed Mar 6, 2026
Size
1,761 bytes
Repository stars
18,706
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ScrollTrigger — path-specific instructions

When writing or suggesting scroll-linked GSAP code (ScrollTrigger):

- Register the plugin once: `gsap.registerPlugin(ScrollTrigger)`.
- Use **scrub: true** (or a number) for scroll-driven progress; use **toggleActions** for discrete play/reverse. Do not use both on the same trigger.
- Put ScrollTrigger on the **timeline** or a **top-level tween**, not on a tween that is a child of a timeline (wrong: `tl.to(..., { scrollTrigger: {... } })`; right: `gsap.timeline({ scrollTrigger: {... } }).to(...)`).
- When **pinning**, do not animate the pinned element itself; animate its children. Use **pinSpacing: true** (default) so layout does not collapse.
- Prefer **transform** properties (`x`, `y`, `scale`, `rotation`) for the animated element; avoid animating layout properties when possible.
- For “fake” horizontal scroll (pin a section, content moves horizontally while scrolling vertically), use **containerAnimation** and set **ease: "none"** on the horizontal tween so scroll and position stay in sync.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add greensock/gsap-skills/.github/instructions/scrolltrigger.instructions.md@sha256:40763240d0ce8db2

The line at the top of this page pins the label git:20260306.97b7cc3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bb4pihk7zfvlibm2.svg)](https://markdownregistry.com/a/art_bb4pihk7zfvlibm2)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in greensock/gsap-skills/.github/instructions/scrolltrigger.instructions.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of scrolltrigger.instructions.md from somewhere else? Ask it: where did my scrolltrigger.instructions.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Mar 6, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260306.97b7cc3 latest2026-03-06 97b7cc3 1,761 BA view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1761 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

greensock/gsap-skills · 18,706 stars · license MIT · pushed 2026-07-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bb4pihk7zfvlibm2
GET https://markdownregistry.com/api/v1/resolve?ref=greensock/gsap-skills/.github/instructions/scrolltrigger.instructions.md
GET https://markdownregistry.com/api/v1/blob/40763240d0ce8db2568a41f74bf3af76265fdb55da28f73d658fbc4c77459f6a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: which agent file does what.

More from greensock/gsap-skills

copilot-instructions.md
greensock/gsap-skills · .github/copilot-instructions.md
git:20260309.96c4b01 · audit A · 18,706 stars
react Copilot instructions
greensock/gsap-skills · .github/instructions/react.instructions.md
git:20260306.97b7cc3 · audit A · 18,706 stars
AGENTS.md AGENTS.md file
greensock/gsap-skills · AGENTS.md
git:20260304.43a8bf0 · audit A · 18,706 stars
CLAUDE.md CLAUDE.md file
greensock/gsap-skills · CLAUDE.md
git:20260305.de7f845 · audit B · 18,706 stars
gsap-core SKILL.md skill
greensock/gsap-skills · skills/gsap-core/SKILL.md · Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults…
git:20260309.96c4b01 · audit A · 18,706 stars
gsap-frameworks SKILL.md skill
greensock/gsap-skills · skills/gsap-frameworks/SKILL.md · Official GSAP skill for Vue, Svelte, and other non-React frameworks — lifecycle, scoping selectors, cleanup on unmount…
git:20260410.7f8b61e · audit B · 18,706 stars
gsap-performance SKILL.md skill
greensock/gsap-skills · skills/gsap-performance/SKILL.md · Official GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when…
git:20260309.96c4b01 · audit A · 18,706 stars
gsap-plugins SKILL.md skill
greensock/gsap-skills · skills/gsap-plugins/SKILL.md · Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia…
git:20260421.5b909b9 · audit A · 18,706 stars
gsap-react SKILL.md skill
greensock/gsap-skills · skills/gsap-react/SKILL.md · Official GSAP skill for React — useGSAP hook, refs, gsap.context(), cleanup. Use when the user wants animation in React…
git:20260309.96c4b01 · audit A · 18,706 stars
gsap-scrolltrigger SKILL.md skill
greensock/gsap-skills · skills/gsap-scrolltrigger/SKILL.md · Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or…
git:20260309.96c4b01 · audit A · 18,706 stars
gsap-timeline SKILL.md skill
greensock/gsap-skills · skills/gsap-timeline/SKILL.md · Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback. Use when sequencing…
git:20260309.96c4b01 · audit A · 18,706 stars
gsap-utils SKILL.md skill
greensock/gsap-skills · skills/gsap-utils/SKILL.md · Official GSAP skill for gsap.utils — clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap, pipe. Use…
git:20260309.96c4b01 · audit A · 18,706 stars

Every file in greensock/gsap-skills

Browse by kind, by grade A, or by owner.