[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MM2SJ7C6QYZJAZHFN5MMM":3,"skill-same:01M77MM2SJ7C6QYZJAZHFN5MMM":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77MM2SJ7C6QYZJAZHFN5MMM","gsap-framer-scroll-animation",null,"Use this skill whenever the user wants to build scroll animations, scroll effects, parallax, scroll-triggered reveals, pinned sections, horizontal scroll, text animations, or any motion tied to scroll position — in vanilla JS, React, or Next.js. Covers GSAP ScrollTrigger (pinning, scrubbing, snapping, timelines, horizontal scroll, ScrollSmoother, matchMedia) and Framer Motion \u002F Motion v12 (useScroll, useTransform, useSpring, whileInView, variants). Use this skill even if the user just says \"animate on scroll\", \"fade in as I scroll\", \"make it scroll like Apple\", \"parallax effect\", \"sticky section\", \"scroll progress bar\", or \"entrance animation\". Also triggers for Copilot prompt patterns for GSAP or Framer Motion code generation. Pairs with the premium-frontend-ui skill for creative philosophy and design-level polish.","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgsap-framer-scroll-animation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gsap-framer-scroll-animation\ndescription: >-\n  Use this skill whenever the user wants to build scroll animations, scroll effects,\n  parallax, scroll-triggered reveals, pinned sections, horizontal scroll, text animations,\n  or any motion tied to scroll position — in vanilla JS, React, or Next.js.\n  Covers GSAP ScrollTrigger (pinning, scrubbing, snapping, timelines, horizontal scroll,\n  ScrollSmoother, matchMedia) and Framer Motion \u002F Motion v12 (useScroll, useTransform,\n  useSpring, whileInView, variants). Use this skill even if the user just says\n  \"animate on scroll\", \"fade in as I scroll\", \"make it scroll like Apple\",\n  \"parallax effect\", \"sticky section\", \"scroll progress bar\", or \"entrance animation\".\n  Also triggers for Copilot prompt patterns for GSAP or Framer Motion code generation.\n  Pairs with the premium-frontend-ui skill for creative philosophy and design-level polish.\nmetadata:\n  author: 'Utkarsh Patrikar'\n  author_url: 'https:\u002F\u002Fgithub.com\u002Futkarsh232005'\n---\n\n# GSAP & Framer Motion — Scroll Animations Skill\n\nProduction-grade scroll animations with GitHub Copilot prompts, ready-to-use code recipes, and deep API references.\n\n> **Design Companion:** This skill provides the *technical implementation* for scroll-driven motion.\n> For the *creative philosophy*, design principles, and premium aesthetics that should guide **how**\n> and **when** to animate, always cross-reference the **premium-frontend-ui** skill.\n> Together they form a complete approach: premium-frontend-ui decides the **what** and **why**;\n> this skill delivers the **how**.\n\n## Quick Library Selector\n\n| Need | Use |\n|---|---|\n| Vanilla JS, Webflow, Vue | **GSAP** |\n| Pinning, horizontal scroll, complex timelines | **GSAP** |\n| React \u002F Next.js, declarative style | **Framer Motion** |\n| whileInView entrance animations | **Framer Motion** |\n| Both in same Next.js app | See notes in references |\n\nRead the relevant reference file for full recipes and Copilot prompts:\n\n- **GSAP** → `references\u002Fgsap.md` — ScrollTrigger API, all recipes, React integration\n- **Framer Motion** → `references\u002Fframer.md` — useScroll, useTransform, all recipes\n\n## Setup (Always Do First)\n\n### GSAP\n```bash\nnpm install gsap\n```\n```js\nimport gsap from 'gsap';\nimport { ScrollTrigger } from 'gsap\u002FScrollTrigger';\ngsap.registerPlugin(ScrollTrigger); \u002F\u002F MUST call before any ScrollTrigger usage\n```\n\n### Framer Motion (Motion v12, 2025)\n```bash\nnpm install motion   # new package name since mid-2025\n# or: npm install framer-motion  — still works, same API\n```\n```js\nimport { motion, useScroll, useTransform, useSpring } from 'motion\u002Freact';\n\u002F\u002F legacy: import { motion } from 'framer-motion'  — also valid\n```\n\n## Workflow\n\n1. Interpret the user's intent to identify if GSAP or Framer Motion is the best fit.\n2. Read the relevant reference document in `references\u002F` for detailed APIs and patterns.\n3. Suggest the required package installation if not already present.\n4. Implement the scaffold for the animation structure, adhering to the requested format (React components, hook requirements, or vanilla JS).\n5. Apply the correct tools (scrolling vs in-view elements) ensuring accessibility options are present and hooks don't cause infinite re-renders.\n\n## The 5 Most Common Scroll Patterns\n\nQuick reference — full recipes with Copilot prompts are in the reference files.\n\n### 1. Fade-in on enter (GSAP)\n```js\ngsap.from('.card', {\n  opacity: 0, y: 50, stagger: 0.15, duration: 0.8,\n  scrollTrigger: { trigger: '.card', start: 'top 85%' }\n});\n```\n\n### 2. Fade-in on enter (Framer Motion)\n```jsx\n\u003Cmotion.div\n  initial={{ opacity: 0, y: 40 }}\n  whileInView={{ opacity: 1, y: 0 }}\n  viewport={{ once: true, margin: '-80px' }}\n  transition={{ duration: 0.6 }}\n\u002F>\n```\n\n### 3. Scrub \u002F scroll-linked (GSAP)\n```js\ngsap.to('.hero-img', {\n  scale: 1.3, opacity: 0, ease: 'none',\n  scrollTrigger: { trigger: '.hero', start: 'top top', end: 'bottom top', scrub: true }\n});\n```\n\n### 4. Scroll-linked (Framer Motion)\n```jsx\nconst { scrollYProgress } = useScroll({ target: ref, offset: ['start end', 'end start'] });\nconst y = useTransform(scrollYProgress, [0, 1], [0, -100]);\nreturn \u003Cmotion.div style={{ y }} \u002F>;\n```\n\n### 5. Pinned timeline (GSAP)\n```js\nconst tl = gsap.timeline({\n  scrollTrigger: { trigger: '.section', pin: true, scrub: 1, start: 'top top', end: '+=200%' }\n});\ntl.from('.title', { opacity: 0, y: 60 }).from('.img', { scale: 0.85 });\n```\n\n## Critical Rules (Apply Always)\n\n- **GSAP**: always call `gsap.registerPlugin(ScrollTrigger)` before using it\n- **GSAP scrub**: always use `ease: 'none'` — easing feels wrong when scrub is active\n- **GSAP React**: use `useGSAP` from `@gsap\u002Freact`, never plain `useEffect` — it auto-cleans ScrollTriggers\n- **GSAP debug**: add `markers: true` during development; remove before production\n- **Framer**: `useTransform` output must go into `style` prop of a `motion.*` element, not a plain div\n- **Framer Next.js**: always add `'use client'` at top of any file using motion hooks\n- **Both**: animate only `transform` and `opacity` — avoid `width`, `height`, `box-shadow`\n- **Accessibility**: always check `prefers-reduced-motion` — see each reference file for patterns\n- **Premium polish**: follow the **premium-frontend-ui** skill principles for motion timing, easing curves, and restraint — animation should enhance, never overwhelm\n\n## Copilot Prompting Tips\n\n- Give Copilot the full selector, base image, and scroll range upfront — vague prompts produce vague code\n- For GSAP, always specify: selector, start\u002Fend strings, whether you want scrub or toggleActions\n- For Framer, always specify: which hook (useScroll vs whileInView), offset values, what to transform\n- Paste the exact error message when asking `\u002Ffix` — Copilot fixes are dramatically better with real errors\n- Use `@workspace` scope in Copilot Chat so it reads your existing component structure\n\n## Reference Files\n\n| File | Contents |\n|---|---|\n| `references\u002Fgsap.md` | Full ScrollTrigger API reference, 10 recipes, React (useGSAP), Lenis, matchMedia, accessibility |\n| `references\u002Fframer.md` | Full useScroll \u002F useTransform API, 8 recipes, variants, Motion v12 notes, Next.js tips |\n\n## Related Skills\n\n| Skill | Relationship |\n|---|---|\n| **premium-frontend-ui** | Creative philosophy, design principles, and aesthetic guidelines — defines *when* and *why* to animate |\n\n","# GSAP & Framer Motion — Scroll Animations Skill\n\nProduction-grade scroll animations with GitHub Copilot prompts, ready-to-use code recipes, and deep API references.\n\n> **Design Companion:** This skill provides the *technical implementation* for scroll-driven motion.\n> For the *creative philosophy*, design principles, and premium aesthetics that should guide **how**\n> and **when** to animate, always cross-reference the **premium-frontend-ui** skill.\n> Together they form a complete approach: premium-frontend-ui decides the **what** and **why**;\n> this skill delivers the **how**.\n\n## Quick Library Selector\n\n| Need | Use |\n|---|---|\n| Vanilla JS, Webflow, Vue | **GSAP** |\n| Pinning, horizontal scroll, complex timelines | **GSAP** |\n| React \u002F Next.js, declarative style | **Framer Motion** |\n| whileInView entrance animations | **Framer Motion** |\n| Both in same Next.js app | See notes in references |\n\nRead the relevant reference file for full recipes and Copilot prompts:\n\n- **GSAP** → `references\u002Fgsap.md` — ScrollTrigger API, all recipes, React integration\n- **Framer Motion** → `references\u002Fframer.md` — useScroll, useTransform, all recipes\n\n## Setup (Always Do First)\n\n### GSAP\n```bash\nnpm install gsap\n```\n```js\nimport gsap from 'gsap';\nimport { ScrollTrigger } from 'gsap\u002FScrollTrigger';\ngsap.registerPlugin(ScrollTrigger); \u002F\u002F MUST call before any ScrollTrigger usage\n```\n\n### Framer Motion (Motion v12, 2025)\n```bash\nnpm install motion   # new package name since mid-2025\n# or: npm install framer-motion  — still works, same API\n```\n```js\nimport { motion, useScroll, useTransform, useSpring } from 'motion\u002Freact';\n\u002F\u002F legacy: import { motion } from 'framer-motion'  — also valid\n```\n\n## Workflow\n\n1. Interpret the user's intent to identify if GSAP or Framer Motion is the best fit.\n2. Read the relevant reference document in `references\u002F` for detailed APIs and patterns.\n3. Suggest the required package installation if not already present.\n4. Implement the scaffold for the animation structure, adhering to the requested format (React components, hook requirements, or vanilla JS).\n5. Apply the correct tools (scrolling vs in-view elements) ensuring accessibility options are present and hooks don't cause infinite re-renders.\n\n## The 5 Most Common Scroll Patterns\n\nQuick reference — full recipes with Copilot prompts are in the reference files.\n\n### 1. Fade-in on enter (GSAP)\n```js\ngsap.from('.card', {\n  opacity: 0, y: 50, stagger: 0.15, duration: 0.8,\n  scrollTrigger: { trigger: '.card', start: 'top 85%' }\n});\n```\n\n### 2. Fade-in on enter (Framer Motion)\n```jsx\n\u003Cmotion.div\n  initial={{ opacity: 0, y: 40 }}\n  whileInView={{ opacity: 1, y: 0 }}\n  viewport={{ once: true, margin: '-80px' }}\n  transition={{ duration: 0.6 }}\n\u002F>\n```\n\n### 3. Scrub \u002F scroll-linked (GSAP)\n```js\ngsap.to('.hero-img', {\n  scale: 1.3, opacity: 0, ease: 'none',\n  scrollTrigger: { trigger: '.hero', start: 'top top', end: 'bottom top', scrub: true }\n});\n```\n\n### 4. Scroll-linked (Framer Motion)\n```jsx\nconst { scrollYProgress } = useScroll({ target: ref, offset: ['start end', 'end start'] });\nconst y = useTransform(scrollYProgress, [0, 1], [0, -100]);\nreturn \u003Cmotion.div style={{ y }} \u002F>;\n```\n\n### 5. Pinned timeline (GSAP)\n```js\nconst tl = gsap.timeline({\n  scrollTrigger: { trigger: '.section', pin: true, scrub: 1, start: 'top top', end: '+=200%' }\n});\ntl.from('.title', { opacity: 0, y: 60 }).from('.img', { scale: 0.85 });\n```\n\n## Critical Rules (Apply Always)\n\n- **GSAP**: always call `gsap.registerPlugin(ScrollTrigger)` before using it\n- **GSAP scrub**: always use `ease: 'none'` — easing feels wrong when scrub is active\n- **GSAP React**: use `useGSAP` from `@gsap\u002Freact`, never plain `useEffect` — it auto-cleans ScrollTriggers\n- **GSAP debug**: add `markers: true` during development; remove before production\n- **Framer**: `useTransform` output must go into `style` prop of a `motion.*` element, not a plain div\n- **Framer Next.js**: always add `'use client'` at top of any file using motion hooks\n- **Both**: animate only `transform` and `opacity` — avoid `width`, `height`, `box-shadow`\n- **Accessibility**: always check `prefers-reduced-motion` — see each reference file for patterns\n- **Premium polish**: follow the **premium-frontend-ui** skill principles for motion timing, easing curves, and restraint — animation should enhance, never overwhelm\n\n## Copilot Prompting Tips\n\n- Give Copilot the full selector, base image, and scroll range upfront — vague prompts produce vague code\n- For GSAP, always specify: selector, start\u002Fend strings, whether you want scrub or toggleActions\n- For Framer, always specify: which hook (useScroll vs whileInView), offset values, what to transform\n- Paste the exact error message when asking `\u002Ffix` — Copilot fixes are dramatically better with real errors\n- Use `@workspace` scope in Copilot Chat so it reads your existing component structure\n\n## Reference Files\n\n| File | Contents |\n|---|---|\n| `references\u002Fgsap.md` | Full ScrollTrigger API reference, 10 recipes, React (useGSAP), Lenis, matchMedia, accessibility |\n| `references\u002Fframer.md` | Full useScroll \u002F useTransform API, 8 recipes, variants, Motion v12 notes, Next.js tips |\n\n## Related Skills\n\n| Skill | Relationship |\n|---|---|\n| **premium-frontend-ui** | Creative philosophy, design principles, and aesthetic guidelines — defines *when* and *why* to animate |\n\n",{"name":5,"metadata":24,"description":7},{"author":25,"author_url":26},"Utkarsh Patrikar","https:\u002F\u002Fgithub.com\u002Futkarsh232005","main","58843b159d7a4050d6b785a98b908cce505c0b92",".agents\u002Fskills\u002Fgsap-framer-scroll-animation",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill gsap-framer-scroll-animation",{"tool":41,"command":42},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill gsap-framer-scroll-animation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill gsap-framer-scroll-animation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgsap-framer-scroll-animation\u002FSKILL.md",true,[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fframer.md","REFERENCE","参考文档",19396,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgsap-framer-scroll-animation\u002Freferences\u002Fframer.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fgsap.md",16958,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgsap-framer-scroll-animation\u002Freferences\u002Fgsap.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]