[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7504ZSJQAW7MBV42KB3KSB2":3,"skill-same:01M7504ZSJQAW7MBV42KB3KSB2":44},{"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":28,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7504ZSJQAW7MBV42KB3KSB2","gsap-timeline",null,"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).","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fgsap-timeline\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: gsap-timeline\ndescription: 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).\nlicense: MIT\n---\n\n# GSAP Timeline\n\n## When to Use This Skill\n\nApply when building multi-step animations, coordinating several tweens in sequence or parallel, or when the user asks about timelines, sequencing, or keyframe-style animation in GSAP.\n\n**Related skills:** For single tweens and eases use **gsap-core**; for scroll-driven timelines use **gsap-scrolltrigger**; for React use **gsap-react**.\n\n## Creating a Timeline\n\n```javascript\nconst tl = gsap.timeline();\ntl.to(\".a\", { x: 100, duration: 1 })\n  .to(\".b\", { y: 50, duration: 0.5 })\n  .to(\".c\", { opacity: 0, duration: 0.3 });\n```\n\nBy default, tweens are **appended** one after another. Use the **position parameter** to place tweens at specific times or relative to other tweens.\n\n## Position Parameter\n\nThird argument (or position property in vars) controls placement:\n\n- **Absolute**: `1` — start at 1 second.\n- **Relative (default)**: `\"+=0.5\"` — 0.5s after end; `\"-=0.2\"` — 0.2s before end.\n- **Label**: `\"labelName\"` — at that label; `\"labelName+=0.3\"` — 0.3s after label.\n- **Placement**: `\"\u003C\"` — start when recently-added animation starts; `\">\"` — start when recently-added animation ends (default); `\"\u003C0.2\"` — 0.2s after recently-added animation start.\n\nExamples:\n\n```javascript\ntl.to(\".a\", { x: 100 }, 0);           \u002F\u002F at 0\ntl.to(\".b\", { y: 50 }, \"+=0.5\");      \u002F\u002F 0.5s after last end\ntl.to(\".c\", { opacity: 0 }, \"\u003C\");     \u002F\u002F same start as previous\ntl.to(\".d\", { scale: 2 }, \"\u003C0.2\");    \u002F\u002F 0.2s after previous start\n```\n\n## Timeline Defaults\n\nPass defaults into the timeline so all child tweens inherit:\n\n```javascript\nconst tl = gsap.timeline({ defaults: { duration: 0.5, ease: \"power2.out\" } });\ntl.to(\".a\", { x: 100 }).to(\".b\", { y: 50 }); \u002F\u002F both use 0.5s and power2.out\n```\n\n## Timeline Options (constructor)\n\n- **paused: true** — create paused; call `.play()` to start.\n- **repeat**, **yoyo** — same as tweens; apply to whole timeline.\n- **onComplete**, **onStart**, **onUpdate** — timeline-level callbacks.\n- **defaults** — vars merged into every child tween.\n\n## Labels\n\nAdd and use labels for readable, maintainable sequencing:\n\n```javascript\ntl.addLabel(\"intro\", 0);\ntl.to(\".a\", { x: 100 }, \"intro\");\ntl.addLabel(\"outro\", \"+=0.5\");\ntl.to(\".b\", { opacity: 0 }, \"outro\");\ntl.play(\"outro\");  \u002F\u002F start from \"outro\"\ntl.tweenFromTo(\"intro\", \"outro\"); \u002F\u002F pauses the timeline and returns a new Tween that animates the timeline's playhead from intro to outro with no ease.\n```\n\n## Nesting Timelines\n\nTimelines can contain other timelines.\n\n```javascript\nconst master = gsap.timeline();\nconst child = gsap.timeline();\nchild.to(\".a\", { x: 100 }).to(\".b\", { y: 50 });\nmaster.add(child, 0);\nmaster.to(\".c\", { opacity: 0 }, \"+=0.2\");\n```\n\n## Controlling Playback\n\n- **tl.play()** \u002F **tl.pause()**\n- **tl.reverse()** \u002F **tl.progress(1)** then **tl.reverse()**\n- **tl.restart()** — from start.\n- **tl.time(2)** — seek to 2 seconds.\n- **tl.progress(0.5)** — seek to 50%.\n- **tl.kill()** — kill timeline and (by default) its children.\n\n## Official GSAP Best practices\n\n- ✅ Prefer timelines for sequencing\n- ✅ Use the **position parameter** (third argument) to place tweens at specific times or relative to labels.\n- ✅ Add **labels** with `addLabel()` for readable, maintainable sequencing.\n- ✅ Pass **defaults** into the timeline constructor so child tweens inherit duration, ease, etc.\n- ✅ Put ScrollTrigger on the timeline (or top-level tween), not on tweens inside a timeline.\n\n## Do Not\n\n- ❌ Chain animations with **delay** when a **timeline** can sequence them; prefer `gsap.timeline()` and the position parameter for multi-step animation.\n- ❌ Forget to pass **defaults** (e.g. `defaults: { duration: 0.5, ease: \"power2.out\" }`) when many child tweens share the same duration or ease.\n- ❌ Forget that **duration** on the timeline constructor is not the same as tween duration; timeline “duration” is determined by its children.\n- ❌ Nest animations that contain a ScrollTrigger; ScrollTriggers should only be on top-level Tweens\u002FTimelines.\n","# GSAP Timeline\n\n## When to Use This Skill\n\nApply when building multi-step animations, coordinating several tweens in sequence or parallel, or when the user asks about timelines, sequencing, or keyframe-style animation in GSAP.\n\n**Related skills:** For single tweens and eases use **gsap-core**; for scroll-driven timelines use **gsap-scrolltrigger**; for React use **gsap-react**.\n\n## Creating a Timeline\n\n```javascript\nconst tl = gsap.timeline();\ntl.to(\".a\", { x: 100, duration: 1 })\n  .to(\".b\", { y: 50, duration: 0.5 })\n  .to(\".c\", { opacity: 0, duration: 0.3 });\n```\n\nBy default, tweens are **appended** one after another. Use the **position parameter** to place tweens at specific times or relative to other tweens.\n\n## Position Parameter\n\nThird argument (or position property in vars) controls placement:\n\n- **Absolute**: `1` — start at 1 second.\n- **Relative (default)**: `\"+=0.5\"` — 0.5s after end; `\"-=0.2\"` — 0.2s before end.\n- **Label**: `\"labelName\"` — at that label; `\"labelName+=0.3\"` — 0.3s after label.\n- **Placement**: `\"\u003C\"` — start when recently-added animation starts; `\">\"` — start when recently-added animation ends (default); `\"\u003C0.2\"` — 0.2s after recently-added animation start.\n\nExamples:\n\n```javascript\ntl.to(\".a\", { x: 100 }, 0);           \u002F\u002F at 0\ntl.to(\".b\", { y: 50 }, \"+=0.5\");      \u002F\u002F 0.5s after last end\ntl.to(\".c\", { opacity: 0 }, \"\u003C\");     \u002F\u002F same start as previous\ntl.to(\".d\", { scale: 2 }, \"\u003C0.2\");    \u002F\u002F 0.2s after previous start\n```\n\n## Timeline Defaults\n\nPass defaults into the timeline so all child tweens inherit:\n\n```javascript\nconst tl = gsap.timeline({ defaults: { duration: 0.5, ease: \"power2.out\" } });\ntl.to(\".a\", { x: 100 }).to(\".b\", { y: 50 }); \u002F\u002F both use 0.5s and power2.out\n```\n\n## Timeline Options (constructor)\n\n- **paused: true** — create paused; call `.play()` to start.\n- **repeat**, **yoyo** — same as tweens; apply to whole timeline.\n- **onComplete**, **onStart**, **onUpdate** — timeline-level callbacks.\n- **defaults** — vars merged into every child tween.\n\n## Labels\n\nAdd and use labels for readable, maintainable sequencing:\n\n```javascript\ntl.addLabel(\"intro\", 0);\ntl.to(\".a\", { x: 100 }, \"intro\");\ntl.addLabel(\"outro\", \"+=0.5\");\ntl.to(\".b\", { opacity: 0 }, \"outro\");\ntl.play(\"outro\");  \u002F\u002F start from \"outro\"\ntl.tweenFromTo(\"intro\", \"outro\"); \u002F\u002F pauses the timeline and returns a new Tween that animates the timeline's playhead from intro to outro with no ease.\n```\n\n## Nesting Timelines\n\nTimelines can contain other timelines.\n\n```javascript\nconst master = gsap.timeline();\nconst child = gsap.timeline();\nchild.to(\".a\", { x: 100 }).to(\".b\", { y: 50 });\nmaster.add(child, 0);\nmaster.to(\".c\", { opacity: 0 }, \"+=0.2\");\n```\n\n## Controlling Playback\n\n- **tl.play()** \u002F **tl.pause()**\n- **tl.reverse()** \u002F **tl.progress(1)** then **tl.reverse()**\n- **tl.restart()** — from start.\n- **tl.time(2)** — seek to 2 seconds.\n- **tl.progress(0.5)** — seek to 50%.\n- **tl.kill()** — kill timeline and (by default) its children.\n\n## Official GSAP Best practices\n\n- ✅ Prefer timelines for sequencing\n- ✅ Use the **position parameter** (third argument) to place tweens at specific times or relative to labels.\n- ✅ Add **labels** with `addLabel()` for readable, maintainable sequencing.\n- ✅ Pass **defaults** into the timeline constructor so child tweens inherit duration, ease, etc.\n- ✅ Put ScrollTrigger on the timeline (or top-level tween), not on tweens inside a timeline.\n\n## Do Not\n\n- ❌ Chain animations with **delay** when a **timeline** can sequence them; prefer `gsap.timeline()` and the position parameter for multi-step animation.\n- ❌ Forget to pass **defaults** (e.g. `defaults: { duration: 0.5, ease: \"power2.out\" }`) when many child tweens share the same duration or ease.\n- ❌ Forget that **duration** on the timeline constructor is not the same as tween duration; timeline “duration” is determined by its children.\n- ❌ Nest animations that contain a ScrollTrigger; ScrollTriggers should only be on top-level Tweens\u002FTimelines.\n",{"name":5,"license":15,"description":7},"main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill gsap-timeline",{"tool":36,"command":37},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill gsap-timeline",{"tool":39,"command":40},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill gsap-timeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fgsap-timeline\u002FSKILL.md",true,[],[45,52,59,66,73,81],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\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":77,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\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},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]