[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D3PDANM8C2SD7WK20S1M02":3,"skill-same:01M6D3PDANM8C2SD7WK20S1M02":60},{"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":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6D3PDANM8C2SD7WK20S1M02","gsap",null,"GSAP-specific animation guardrails — timeline composition, overwrite modes, ScrollTrigger pinning\u002Fscrub, cleanup on unmount","GeorgeQLe\u002Fagentic-skills","GeorgeQLe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21134126?v=4","01M6D2JP418S0VGJGF8M93EC3H","George Le","01M6D2JPBAKYD82TA5FS6HKQ3D",1,"MIT","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fbase\u002Fcodex\u002Fanimation-design-planner\u002Fframeworks\u002Fgsap\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27],"design","cleanup","planning","Guardrails","timeline","Animation","Composition","planner","v0","2026-11-10 10:12:30",false,"---\nname: gsap\ndescription: GSAP-specific animation guardrails — timeline composition, overwrite modes, ScrollTrigger pinning\u002Fscrub, cleanup on unmount\ntype: planning\nversion: v0.0\ninvocation: sub-skill\nparent: animation-design-planner\n---\n\n# GSAP Implementation Guardrails\n\nInvoke as `$animation-design-planner frameworks\u002Fgsap`.\n\nThis subskill provides GSAP-specific implementation guardrails for step 5 of `$animation-design-planner`. It is invoked automatically when the parent detects GSAP in the project. All baseline guardrails from the parent (transform\u002Fopacity preference, reduced-motion, focus\u002Fpointer\u002Fscroll\u002Fz-index rules) still apply.\n\n## Guardrails\n\n### Timeline composition\n\n- Use standalone tweens (`gsap.to`\u002F`gsap.from`) for single-element fire-and-forget. Switch to `gsap.timeline()` as soon as two or more tweens need to coordinate.\n- Position parameter: prefer labels or relative offsets (`\"+=0.2\"`, `\"\u003C0.1\"`) over bare absolute seconds — they survive duration changes.\n- Nest timelines only for reusable sub-sequences. Flat timeline with labels is easier to debug and inspect.\n- Never create timelines inside rapid-fire event handlers. Create the timeline once, then control it with `.play()` \u002F `.reverse()` \u002F `.progress()`.\n\n### Overwrite modes\n\n- GSAP 3 defaults to `overwrite: false` — competing tweens on the same target stack and cause jitter.\n- `\"auto\"`: kills only the conflicting properties on other tweens. Use as the standard default for shared targets.\n- `true`: kills all active tweens on the target. Use for full takeover scenarios (e.g. reset animation on unmount).\n- `false`: only for intentional additive behavior that has been visually verified.\n\n### ScrollTrigger patterns\n\n- `scrub: true` for 1:1 scroll-linked progress; use a number (e.g. `scrub: 0.5`) for smoothed scrub. State the chosen value and the reason.\n- `pin`: breaks inside flex\u002Fgrid layouts. Pin the outermost section container, not flex children. Use `pinSpacing: false` when the generated spacer div is unacceptable.\n- `anticipatePin: 1` when there is a visible snap or jump at the pin start boundary.\n- Wrap breakpoint-specific ScrollTriggers in `ScrollTrigger.matchMedia()` so they destroy and recreate cleanly on resize.\n- Enable `markers: true` during development. Remove before shipping.\n\n### Cleanup on unmount\n\n- React: wrap all tweens in `gsap.context(() => { ... }, containerRef)` inside `useLayoutEffect` and return `ctx.revert()` from the cleanup function.\n- Non-React: call `.kill()` on tweens and `ScrollTrigger.kill()` on each instance in the teardown hook.\n- Never rely on timeline completion as implicit cleanup — the user may navigate away mid-animation.\n- `matchMedia` instances still need explicit kill on unmount.\n\n### Proof expectations\n\n- Timeline completes and `onComplete` callback fires.\n- `markers: true` confirms ScrollTrigger start\u002Fend alignment matches the intended scroll positions.\n- After unmount: `gsap.globalTimeline.getChildren()` contains no orphaned references from the destroyed component.\n- Resize across breakpoints — ScrollTriggers destroy and recreate without duplicates or stale pins.\n- Slow-motion review via `timeline.timeScale(0.2)` to confirm sequencing matches the animation contract.\n","# GSAP Implementation Guardrails\n\nInvoke as `$animation-design-planner frameworks\u002Fgsap`.\n\nThis subskill provides GSAP-specific implementation guardrails for step 5 of `$animation-design-planner`. It is invoked automatically when the parent detects GSAP in the project. All baseline guardrails from the parent (transform\u002Fopacity preference, reduced-motion, focus\u002Fpointer\u002Fscroll\u002Fz-index rules) still apply.\n\n## Guardrails\n\n### Timeline composition\n\n- Use standalone tweens (`gsap.to`\u002F`gsap.from`) for single-element fire-and-forget. Switch to `gsap.timeline()` as soon as two or more tweens need to coordinate.\n- Position parameter: prefer labels or relative offsets (`\"+=0.2\"`, `\"\u003C0.1\"`) over bare absolute seconds — they survive duration changes.\n- Nest timelines only for reusable sub-sequences. Flat timeline with labels is easier to debug and inspect.\n- Never create timelines inside rapid-fire event handlers. Create the timeline once, then control it with `.play()` \u002F `.reverse()` \u002F `.progress()`.\n\n### Overwrite modes\n\n- GSAP 3 defaults to `overwrite: false` — competing tweens on the same target stack and cause jitter.\n- `\"auto\"`: kills only the conflicting properties on other tweens. Use as the standard default for shared targets.\n- `true`: kills all active tweens on the target. Use for full takeover scenarios (e.g. reset animation on unmount).\n- `false`: only for intentional additive behavior that has been visually verified.\n\n### ScrollTrigger patterns\n\n- `scrub: true` for 1:1 scroll-linked progress; use a number (e.g. `scrub: 0.5`) for smoothed scrub. State the chosen value and the reason.\n- `pin`: breaks inside flex\u002Fgrid layouts. Pin the outermost section container, not flex children. Use `pinSpacing: false` when the generated spacer div is unacceptable.\n- `anticipatePin: 1` when there is a visible snap or jump at the pin start boundary.\n- Wrap breakpoint-specific ScrollTriggers in `ScrollTrigger.matchMedia()` so they destroy and recreate cleanly on resize.\n- Enable `markers: true` during development. Remove before shipping.\n\n### Cleanup on unmount\n\n- React: wrap all tweens in `gsap.context(() => { ... }, containerRef)` inside `useLayoutEffect` and return `ctx.revert()` from the cleanup function.\n- Non-React: call `.kill()` on tweens and `ScrollTrigger.kill()` on each instance in the teardown hook.\n- Never rely on timeline completion as implicit cleanup — the user may navigate away mid-animation.\n- `matchMedia` instances still need explicit kill on unmount.\n\n### Proof expectations\n\n- Timeline completes and `onComplete` callback fires.\n- `markers: true` confirms ScrollTrigger start\u002Fend alignment matches the intended scroll positions.\n- After unmount: `gsap.globalTimeline.getChildren()` contains no orphaned references from the destroyed component.\n- Resize across breakpoints — ScrollTriggers destroy and recreate without duplicates or stale pins.\n- Slow-motion review via `timeline.timeScale(0.2)` to confirm sequencing matches the animation contract.\n",{"name":5,"type":21,"parent":33,"version":34,"invocation":35,"description":7},"animation-design-planner","v0.0","sub-skill","master","96e2912af886dd1606b1b97df707715aef062b02","packs\u002Fbase\u002Fcodex\u002Fanimation-design-planner\u002Fframeworks\u002Fgsap",0,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills","https:\u002F\u002Fagentic-skills-blush.vercel.app","https:\u002F\u002Fgithub.com\u002FGeorgeQLe","georgeqle.com","George Le is a futurist and serial tech entrepreneur who wants to work toward a world where humanity is free from robotic tasks.","2026-11-10 04:07:24",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add GeorgeQLe\u002Fagentic-skills --skill gsap",{"tool":52,"command":53},"bunx","bunx skills add GeorgeQLe\u002Fagentic-skills --skill gsap",{"tool":55,"command":56},"pnpm","pnpm dlx skills add GeorgeQLe\u002Fagentic-skills --skill gsap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fbase\u002Fcodex\u002Fanimation-design-planner\u002Fframeworks\u002Fgsap\u002FSKILL.md",true,[],[61,73,83,95,110,121],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":28},"01M6G0NJES15RJKZE6YZ0TSYGF","source-checkout-allowed","Valid source-checkout-only fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fsource-checkout-allowed\u002FSKILL.md",[],[68,69,70,71,27,72],"source checkout allowed","checkout","fixture","only","valid",{"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":28},"01M6G0NFZ3R1MNB1E3DVTM0WB7","deck-install-valid","Valid deck install fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fdeck-install\u002FSKILL.md",[],[80,81,82,72,70,27],"deck install valid","deck","install",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":28},"01M6G0ND3QZQC4MDZ9NVB97PT2","codex-pack-guard-valid","Valid Codex Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-pack-guard\u002FSKILL.md",[],[90,91,92,72,93,94,70,27],"codex pack guard valid","pack","guard","codex","availability",{"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":106,"publishedAt":28},"01M6G0NA9YB3NKGZKD3S96JMNB","codex-missing-skill-valid","Valid Codex missing skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-missing-skill-fallback\u002FSKILL.md",[101],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[107,108,72,93,27,109,70],"codex missing skill valid","missing","fallback",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":117,"publishedAt":28},"01M6G0N7PC0EKFD40ZWQAXSAQ9","codex-base-skill-fallback-valid","Valid Codex base skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-base-skill-fallback\u002FSKILL.md",[116],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},[72,93,109,118,119,120,27,70],"base skill","codex base skill fallback valid","base",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":28},"01M6G0N4VRR2YKZQ6N3Y6S2BQA","claude-pack-guard-valid","Valid Claude Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fclaude-pack-guard\u002FSKILL.md",[],[72,92,91,128,94,27,70],"claude pack guard valid"]