[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DDPXK3JBFKSZ346C4S9495":3,"skill-same:01M7DDPXK3JBFKSZ346C4S9495":43},{"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":24,"commitSha":25,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7DDPXK3JBFKSZ346C4S9495","gsap-performance",null,"Official GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when optimizing GSAP animations, reducing jank, or when the user asks about animation performance, FPS, or smooth 60fps.","MaraparaXD\u002Fskills","MaraparaXD","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F137088011?v=4","01M7DDG1N51VESFM3CCFGPQBQB","Tiago Marapara Leão","01M7DDG1P8B2JAT9MWN5ZQ21F4",0,"MIT","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Fgsap-performance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gsap-performance\ndescription: Official GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when optimizing GSAP animations, reducing jank, or when the user asks about animation performance, FPS, or smooth 60fps.\nlicense: MIT\n---\n\n# GSAP Performance\n\n## When to Use This Skill\n\nApply when optimizing GSAP animations for smooth 60fps, reducing layout\u002Fpaint cost, or when the user asks about performance, jank, or best practices for fast animations.\n\n**Related skills:** Build animations with **gsap-core** (transforms, autoAlpha) and **gsap-timeline**; for ScrollTrigger performance see **gsap-scrolltrigger**.\n\n## Prefer Transform and Opacity\n\nAnimating **transform** (`x`, `y`, `scaleX`, `scaleY`, `rotation`, `rotationX`, `rotationY`, `skewX`, `skewY`) and **opacity** keeps work on the compositor and avoids layout and most paint. Avoid animating layout-heavy properties when a transform can achieve the same effect.\n\n- ✅ Prefer: **x**, **y**, **scale**, **rotation**, **opacity**.\n- ❌ Avoid when possible: **width**, **height**, **top**, **left**, **margin**, **padding** (they trigger layout and can cause jank).\n\nGSAP’s **x** and **y** use transforms (translate) by default; use them instead of **left**\u002F**top** for movement.\n\n## will-change\n\nUse **will-change** in CSS on elements that will animate. It hints the browser to promote the layer.\n\n```css\nwill-change: transform;\n```\n\n## Batch Reads and Writes\n\nGSAP batches updates internally. When mixing GSAP with direct DOM reads\u002Fwrites or layout-dependent code, avoid interleaving reads and writes in a way that causes repeated layout thrashing. Prefer doing all reads first, then all writes (or let GSAP handle the writes in one go).\n\n## Many Elements (Stagger, Lists)\n\n- Use **stagger** instead of many separate tweens with manual delays when the animation is the same; it’s more efficient.\n- For long lists, consider **virtualization** or animating only visible items; avoid creating hundreds of simultaneous tweens if it causes jank.\n- Reuse timelines where possible; avoid creating new timelines every frame.\n\n## Frequently updated properties (e.g. mouse followers)\n\nPrefer **gsap.quickTo()** for properties that are updated often (e.g. mouse-follower x\u002Fy). It reuses a single tween instead of creating new tweens on each update. \n\n```javascript\nlet xTo = gsap.quickTo(\"#id\", \"x\", { duration: 0.4, ease: \"power3\" }),\n    yTo = gsap.quickTo(\"#id\", \"y\", { duration: 0.4, ease: \"power3\" });\n\ndocument.querySelector(\"#container\").addEventListener(\"mousemove\", (e) => {\n  xTo(e.pageX);\n  yTo(e.pageY);\n});\n```\n\n## ScrollTrigger and Performance\n\n- **pin: true** promotes the pinned element; pin only what’s needed.\n- **scrub** with a small value (e.g. `scrub: 1`) can reduce work during scroll; test on low-end devices.\n- Call **ScrollTrigger.refresh()** only when layout actually changes (e.g. after content load), not on every resize; debounce when possible.\n\n## Reduce Simultaneous Work\n\n- Pause or kill off-screen or inactive animations when they’re not visible (e.g. when the user navigates away).\n- Avoid animating huge numbers of properties on many elements at once; simplify or sequence if needed.\n\n## Best practices\n\n- ✅ Animate **transform** and **opacity**; use **will-change** in CSS only on elements that animate.\n- ✅ Use **stagger** instead of many separate tweens with manual delays when the animation is the same.\n- ✅ Use **gsap.quickTo()** for frequently updated properties (e.g. mouse followers).\n- ✅ Clean up or kill off-screen animations; call **ScrollTrigger.refresh()** when layout changes, debounced when possible.\n\n## Do Not\n\n- ❌ Animate **width**\u002F **height**\u002F **top**\u002F **left** for movement when **x**\u002F **y**\u002F **scale** can achieve the same look.\n- ❌ Set **will-change** or **force3D** on every element “just in case”; use for elements that are actually animating.\n- ❌ Create hundreds of overlapping tweens or ScrollTriggers without testing on low-end devices.\n- ❌ Ignore cleanup; stray tweens and ScrollTriggers keep running and can hurt performance and correctness.\n","# GSAP Performance\n\n## When to Use This Skill\n\nApply when optimizing GSAP animations for smooth 60fps, reducing layout\u002Fpaint cost, or when the user asks about performance, jank, or best practices for fast animations.\n\n**Related skills:** Build animations with **gsap-core** (transforms, autoAlpha) and **gsap-timeline**; for ScrollTrigger performance see **gsap-scrolltrigger**.\n\n## Prefer Transform and Opacity\n\nAnimating **transform** (`x`, `y`, `scaleX`, `scaleY`, `rotation`, `rotationX`, `rotationY`, `skewX`, `skewY`) and **opacity** keeps work on the compositor and avoids layout and most paint. Avoid animating layout-heavy properties when a transform can achieve the same effect.\n\n- ✅ Prefer: **x**, **y**, **scale**, **rotation**, **opacity**.\n- ❌ Avoid when possible: **width**, **height**, **top**, **left**, **margin**, **padding** (they trigger layout and can cause jank).\n\nGSAP’s **x** and **y** use transforms (translate) by default; use them instead of **left**\u002F**top** for movement.\n\n## will-change\n\nUse **will-change** in CSS on elements that will animate. It hints the browser to promote the layer.\n\n```css\nwill-change: transform;\n```\n\n## Batch Reads and Writes\n\nGSAP batches updates internally. When mixing GSAP with direct DOM reads\u002Fwrites or layout-dependent code, avoid interleaving reads and writes in a way that causes repeated layout thrashing. Prefer doing all reads first, then all writes (or let GSAP handle the writes in one go).\n\n## Many Elements (Stagger, Lists)\n\n- Use **stagger** instead of many separate tweens with manual delays when the animation is the same; it’s more efficient.\n- For long lists, consider **virtualization** or animating only visible items; avoid creating hundreds of simultaneous tweens if it causes jank.\n- Reuse timelines where possible; avoid creating new timelines every frame.\n\n## Frequently updated properties (e.g. mouse followers)\n\nPrefer **gsap.quickTo()** for properties that are updated often (e.g. mouse-follower x\u002Fy). It reuses a single tween instead of creating new tweens on each update. \n\n```javascript\nlet xTo = gsap.quickTo(\"#id\", \"x\", { duration: 0.4, ease: \"power3\" }),\n    yTo = gsap.quickTo(\"#id\", \"y\", { duration: 0.4, ease: \"power3\" });\n\ndocument.querySelector(\"#container\").addEventListener(\"mousemove\", (e) => {\n  xTo(e.pageX);\n  yTo(e.pageY);\n});\n```\n\n## ScrollTrigger and Performance\n\n- **pin: true** promotes the pinned element; pin only what’s needed.\n- **scrub** with a small value (e.g. `scrub: 1`) can reduce work during scroll; test on low-end devices.\n- Call **ScrollTrigger.refresh()** only when layout actually changes (e.g. after content load), not on every resize; debounce when possible.\n\n## Reduce Simultaneous Work\n\n- Pause or kill off-screen or inactive animations when they’re not visible (e.g. when the user navigates away).\n- Avoid animating huge numbers of properties on many elements at once; simplify or sequence if needed.\n\n## Best practices\n\n- ✅ Animate **transform** and **opacity**; use **will-change** in CSS only on elements that animate.\n- ✅ Use **stagger** instead of many separate tweens with manual delays when the animation is the same.\n- ✅ Use **gsap.quickTo()** for frequently updated properties (e.g. mouse followers).\n- ✅ Clean up or kill off-screen animations; call **ScrollTrigger.refresh()** when layout changes, debounced when possible.\n\n## Do Not\n\n- ❌ Animate **width**\u002F **height**\u002F **top**\u002F **left** for movement when **x**\u002F **y**\u002F **scale** can achieve the same look.\n- ❌ Set **will-change** or **force3D** on every element “just in case”; use for elements that are actually animating.\n- ❌ Create hundreds of overlapping tweens or ScrollTriggers without testing on low-end devices.\n- ❌ Ignore cleanup; stray tweens and ScrollTriggers keep running and can hurt performance and correctness.\n",{"name":5,"license":15,"description":7},"main","5cb945c73b31dfed2a08e77e2270e95aad8d0342","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills","https:\u002F\u002Fgithub.com\u002FMaraparaXD","2026-09-26 02:54:36",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add MaraparaXD\u002Fskills --skill gsap-performance",{"tool":35,"command":36},"bunx","bunx skills add MaraparaXD\u002Fskills --skill gsap-performance",{"tool":38,"command":39},"pnpm","pnpm dlx skills add MaraparaXD\u002Fskills --skill gsap-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Fgsap-performance\u002FSKILL.md",true,[],[44,51,58,65,73,80],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":19},"01M7DDV87BRZ533B0A7E7X3DNV","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Freact-view-transitions\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7DDV1ZJFXBXAT3QGT530WRM","vercel-react-native-skills","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Freact-native-skills\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7DDTWQ3DWXS4T8TR6R70TNK","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Freact-best-practices\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DDQTX2WX3EW3CWHG39S7KW","impeccable","Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Fimpeccable\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DDQM00XNVKNYN0AN60F3B7","gsap-utils","Official GSAP skill for gsap.utils — clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap, pipe. Use when the user asks about gsap.utils, clamp, mapRange, random, snap, toArray, wrap, or helper utilities in GSAP.","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Fgsap-utils\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DDQGAJJYQ6XR9YBC3C0EWP","gsap-timeline","Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback. Use when sequencing animations, choreographing keyframes, or when the user asks about animation sequencing, timelines, or animation order (in GSAP or when recommending a library that supports timelines).","https:\u002F\u002Fgithub.com\u002FMaraparaXD\u002Fskills\u002Fblob\u002Fmain\u002Fgsap-timeline\u002FSKILL.md",[],[]]