[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71C4CWB2V0TKWEGSYC7ZPPE":3,"skill-same:01M71C4CWB2V0TKWEGSYC7ZPPE":54},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M71C4CWB2V0TKWEGSYC7ZPPE","genjutsu-gsap",null,"GSAP animation engine sub-skill - core, timeline, ScrollTrigger, plugins.","nexuslinkproductions\u002Fyuri-os","nexuslinkproductions","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273246263?v=4","01M718YX9NZRCW50B59B8ZVDKN","Marcel Spatz","01M718YXAQ7530F4B1VKN6SFQV",2,"MIT","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fgenjutsu-gsap\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"gsap","genjutsu gsap","core","plugins","timeline","Animation","engine","gsap animation","2026-11-10 10:12:30",false,"---\nname: genjutsu-gsap\ndescription: \"GSAP animation engine sub-skill - core, timeline, ScrollTrigger, plugins.\"\n---\n\n# GSAP — Animation Engine\n\n## When to use GSAP\n\n| Criteria              | CSS Transitions | Framer Motion | GSAP              |\n| --------------------- | --------------- | ------------- | ----------------- |\n| Hover \u002F simple toggle | Yes             | Yes           | Overkill          |\n| Sequenced timeline    | No              | Limited       | **Yes**           |\n| Scroll-driven         | scroll-timeline | Limited       | **ScrollTrigger** |\n| Complex stagger       | No              | Basic         | **Distribution**  |\n| Mobile perf (60fps)   | Good            | Average       | **Excellent**     |\n| Text splitting        | No              | No            | **SplitText**     |\n| SVG morph \u002F draw      | No              | No            | **MorphSVG**      |\n| Bundle size concern   | 0kb             | ~30kb         | ~25kb + plugins   |\n\n**Rule**: if the animation needs timeline, scroll-link, or distributed stagger, use GSAP. Otherwise CSS first.\n\n## Setup\n\n```js\n\u002F\u002F Always register plugins at the top level\nimport gsap from \"gsap\";\nimport { ScrollTrigger } from \"gsap\u002FScrollTrigger\";\nimport { SplitText } from \"gsap\u002FSplitText\";\n\ngsap.registerPlugin(ScrollTrigger, SplitText);\n```\n\nReact: use `useGSAP()` from the `@gsap\u002Freact` package instead of `useEffect` + manual cleanup.\n\n```jsx\nimport { useGSAP } from \"@gsap\u002Freact\";\n\nuseGSAP(() => {\n  gsap.to(\".box\", { x: 200 });\n}, { scope: containerRef }); \u002F\u002F auto-cleanup, auto-revert\n```\n\n## Core Patterns\n\n### defaults{} to avoid repetition\n\n```js\nconst tl = gsap.timeline({\n  defaults: { duration: 0.8, ease: \"power2.out\" },\n});\ntl.to(\".a\", { y: -20 })\n  .to(\".b\", { y: -20 }, \"\u003C0.1\")\n  .to(\".c\", { y: -20 }, \"\u003C0.1\");\n```\n\n### fromTo for full control\n\n```js\ngsap.fromTo(\".card\", { y: 40, opacity: 0 }, { y: 0, opacity: 1, stagger: 0.15 });\n```\n\n### Stagger with distribution\n\n```js\ngsap.to(\".grid-item\", {\n  scale: 0,\n  stagger: {\n    each: 0.05,\n    from: \"center\",   \u002F\u002F \"start\" | \"end\" | \"center\" | \"edges\" | \"random\" | index\n    grid: \"auto\",      \u002F\u002F auto-detects the grid\n    axis: \"x\",         \u002F\u002F \"x\" | \"y\" | null (both)\n  },\n});\n```\n\n## ScrollTrigger Patterns\n\n### Basic Pin + Scrub\n\n```js\ngsap.to(\".panel\", {\n  x: \"-300%\",\n  ease: \"none\",\n  scrollTrigger: {\n    trigger: \".container\",\n    pin: true,\n    scrub: 1,\n    end: () => \"+=\" + document.querySelector(\".container\").scrollWidth,\n  },\n});\n```\n\n### Batch for mass reveal\n\n```js\nScrollTrigger.batch(\".card\", {\n  onEnter: (elements) => gsap.to(elements, { opacity: 1, y: 0, stagger: 0.1 }),\n  start: \"top 85%\",\n});\n```\n\n### Horizontal scroll with containerAnimation\n\n```js\nconst scrollTween = gsap.to(\".panels\", {\n  x: () => -(document.querySelector(\".panels\").scrollWidth - window.innerWidth),\n  ease: \"none\",\n  scrollTrigger: { trigger: \".wrapper\", pin: true, scrub: 1 },\n});\n\n\u002F\u002F Animate elements INSIDE the horizontal scroll\ngsap.to(\".panel-content\", {\n  scale: 1.2,\n  scrollTrigger: {\n    trigger: \".panel-content\",\n    containerAnimation: scrollTween, \u002F\u002F linked to horizontal scroll\n    start: \"left center\",\n    end: \"right center\",\n    scrub: true,\n  },\n});\n```\n\n## DO NOT — Critical mistakes\n\n### 1. Ease on containerAnimation\n\n```js\n\u002F\u002F BAD — ease breaks the scroll mapping\nscrollTrigger: { containerAnimation: scrollTween, scrub: 1, ease: \"power2.out\" }\n\n\u002F\u002F GOOD — always ease: \"none\" on the parent tween\nconst scrollTween = gsap.to(\".panels\", { x: ..., ease: \"none\", scrollTrigger: { scrub: 1 } });\n```\n\n### 2. ScrollTrigger on a child tween in a timeline\n\n```js\n\u002F\u002F BAD — ScrollTrigger ignores child tweens of a timeline that has its own ScrollTrigger\nconst tl = gsap.timeline({ scrollTrigger: { trigger: \".section\" } });\ntl.to(\".box\", { x: 100, scrollTrigger: { trigger: \".box\" } }); \u002F\u002F IGNORE\n\n\u002F\u002F GOOD — one ScrollTrigger per timeline OR standalone tweens\ngsap.to(\".box\", { x: 100, scrollTrigger: { trigger: \".box\" } }); \u002F\u002F tween standalone\n```\n\n### 3. setState in onUpdate\n\n```js\n\u002F\u002F BAD — setState 60x\u002Fs = re-render hell\nscrollTrigger: { onUpdate: (self) => setProgress(self.progress) }\n\n\u002F\u002F GOOD — mutate a ref or DOM element directly\nconst progressRef = useRef(0);\nscrollTrigger: { onUpdate: (self) => { progressRef.current = self.progress; } }\n\u002F\u002F Or better: gsap.quickSetter to mutate the DOM without React\n```\n\n### 4. immediateRender on from() in a timeline\n\n```js\n\u002F\u002F BAD — from() has immediateRender: true by default, breaks sequencing\ntl.to(\".box\", { x: 100 });\ntl.from(\".box\", { y: 50 }); \u002F\u002F visually jumps to the start\n\n\u002F\u002F GOOD — disable immediateRender when from() follows another tween\ntl.to(\".box\", { x: 100 });\ntl.from(\".box\", { y: 50, immediateRender: false });\n```\n\n### 5. Animating non-transform properties\n\n```js\n\u002F\u002F BAD — width\u002Fheight\u002Ftop\u002Fleft trigger layout reflow\ngsap.to(\".box\", { width: 200, height: 200 });\n\n\u002F\u002F GOOD — use transforms (GPU-accelerated, composited)\ngsap.to(\".box\", { scaleX: 1.5, scaleY: 1.5 });\n\u002F\u002F If actual size needed: use Flip plugin for layout transition\n```\n\n## Refs\n\n- `references\u002Fcore.md` — Complete gsap.to\u002Ffrom\u002FfromTo\u002Fset API, options\n- `references\u002Ftimeline.md` — Timeline, position parameter, nesting\n- `references\u002Fscrolltrigger.md` — Full ScrollTrigger reference\n- `references\u002Fplugins.md` — SplitText, Flip, MorphSVG, DrawSVG, MotionPath, Observer\n","# GSAP — Animation Engine\n\n## When to use GSAP\n\n| Criteria              | CSS Transitions | Framer Motion | GSAP              |\n| --------------------- | --------------- | ------------- | ----------------- |\n| Hover \u002F simple toggle | Yes             | Yes           | Overkill          |\n| Sequenced timeline    | No              | Limited       | **Yes**           |\n| Scroll-driven         | scroll-timeline | Limited       | **ScrollTrigger** |\n| Complex stagger       | No              | Basic         | **Distribution**  |\n| Mobile perf (60fps)   | Good            | Average       | **Excellent**     |\n| Text splitting        | No              | No            | **SplitText**     |\n| SVG morph \u002F draw      | No              | No            | **MorphSVG**      |\n| Bundle size concern   | 0kb             | ~30kb         | ~25kb + plugins   |\n\n**Rule**: if the animation needs timeline, scroll-link, or distributed stagger, use GSAP. Otherwise CSS first.\n\n## Setup\n\n```js\n\u002F\u002F Always register plugins at the top level\nimport gsap from \"gsap\";\nimport { ScrollTrigger } from \"gsap\u002FScrollTrigger\";\nimport { SplitText } from \"gsap\u002FSplitText\";\n\ngsap.registerPlugin(ScrollTrigger, SplitText);\n```\n\nReact: use `useGSAP()` from the `@gsap\u002Freact` package instead of `useEffect` + manual cleanup.\n\n```jsx\nimport { useGSAP } from \"@gsap\u002Freact\";\n\nuseGSAP(() => {\n  gsap.to(\".box\", { x: 200 });\n}, { scope: containerRef }); \u002F\u002F auto-cleanup, auto-revert\n```\n\n## Core Patterns\n\n### defaults{} to avoid repetition\n\n```js\nconst tl = gsap.timeline({\n  defaults: { duration: 0.8, ease: \"power2.out\" },\n});\ntl.to(\".a\", { y: -20 })\n  .to(\".b\", { y: -20 }, \"\u003C0.1\")\n  .to(\".c\", { y: -20 }, \"\u003C0.1\");\n```\n\n### fromTo for full control\n\n```js\ngsap.fromTo(\".card\", { y: 40, opacity: 0 }, { y: 0, opacity: 1, stagger: 0.15 });\n```\n\n### Stagger with distribution\n\n```js\ngsap.to(\".grid-item\", {\n  scale: 0,\n  stagger: {\n    each: 0.05,\n    from: \"center\",   \u002F\u002F \"start\" | \"end\" | \"center\" | \"edges\" | \"random\" | index\n    grid: \"auto\",      \u002F\u002F auto-detects the grid\n    axis: \"x\",         \u002F\u002F \"x\" | \"y\" | null (both)\n  },\n});\n```\n\n## ScrollTrigger Patterns\n\n### Basic Pin + Scrub\n\n```js\ngsap.to(\".panel\", {\n  x: \"-300%\",\n  ease: \"none\",\n  scrollTrigger: {\n    trigger: \".container\",\n    pin: true,\n    scrub: 1,\n    end: () => \"+=\" + document.querySelector(\".container\").scrollWidth,\n  },\n});\n```\n\n### Batch for mass reveal\n\n```js\nScrollTrigger.batch(\".card\", {\n  onEnter: (elements) => gsap.to(elements, { opacity: 1, y: 0, stagger: 0.1 }),\n  start: \"top 85%\",\n});\n```\n\n### Horizontal scroll with containerAnimation\n\n```js\nconst scrollTween = gsap.to(\".panels\", {\n  x: () => -(document.querySelector(\".panels\").scrollWidth - window.innerWidth),\n  ease: \"none\",\n  scrollTrigger: { trigger: \".wrapper\", pin: true, scrub: 1 },\n});\n\n\u002F\u002F Animate elements INSIDE the horizontal scroll\ngsap.to(\".panel-content\", {\n  scale: 1.2,\n  scrollTrigger: {\n    trigger: \".panel-content\",\n    containerAnimation: scrollTween, \u002F\u002F linked to horizontal scroll\n    start: \"left center\",\n    end: \"right center\",\n    scrub: true,\n  },\n});\n```\n\n## DO NOT — Critical mistakes\n\n### 1. Ease on containerAnimation\n\n```js\n\u002F\u002F BAD — ease breaks the scroll mapping\nscrollTrigger: { containerAnimation: scrollTween, scrub: 1, ease: \"power2.out\" }\n\n\u002F\u002F GOOD — always ease: \"none\" on the parent tween\nconst scrollTween = gsap.to(\".panels\", { x: ..., ease: \"none\", scrollTrigger: { scrub: 1 } });\n```\n\n### 2. ScrollTrigger on a child tween in a timeline\n\n```js\n\u002F\u002F BAD — ScrollTrigger ignores child tweens of a timeline that has its own ScrollTrigger\nconst tl = gsap.timeline({ scrollTrigger: { trigger: \".section\" } });\ntl.to(\".box\", { x: 100, scrollTrigger: { trigger: \".box\" } }); \u002F\u002F IGNORE\n\n\u002F\u002F GOOD — one ScrollTrigger per timeline OR standalone tweens\ngsap.to(\".box\", { x: 100, scrollTrigger: { trigger: \".box\" } }); \u002F\u002F tween standalone\n```\n\n### 3. setState in onUpdate\n\n```js\n\u002F\u002F BAD — setState 60x\u002Fs = re-render hell\nscrollTrigger: { onUpdate: (self) => setProgress(self.progress) }\n\n\u002F\u002F GOOD — mutate a ref or DOM element directly\nconst progressRef = useRef(0);\nscrollTrigger: { onUpdate: (self) => { progressRef.current = self.progress; } }\n\u002F\u002F Or better: gsap.quickSetter to mutate the DOM without React\n```\n\n### 4. immediateRender on from() in a timeline\n\n```js\n\u002F\u002F BAD — from() has immediateRender: true by default, breaks sequencing\ntl.to(\".box\", { x: 100 });\ntl.from(\".box\", { y: 50 }); \u002F\u002F visually jumps to the start\n\n\u002F\u002F GOOD — disable immediateRender when from() follows another tween\ntl.to(\".box\", { x: 100 });\ntl.from(\".box\", { y: 50, immediateRender: false });\n```\n\n### 5. Animating non-transform properties\n\n```js\n\u002F\u002F BAD — width\u002Fheight\u002Ftop\u002Fleft trigger layout reflow\ngsap.to(\".box\", { width: 200, height: 200 });\n\n\u002F\u002F GOOD — use transforms (GPU-accelerated, composited)\ngsap.to(\".box\", { scaleX: 1.5, scaleY: 1.5 });\n\u002F\u002F If actual size needed: use Flip plugin for layout transition\n```\n\n## Refs\n\n- `references\u002Fcore.md` — Complete gsap.to\u002Ffrom\u002FfromTo\u002Fset API, options\n- `references\u002Ftimeline.md` — Timeline, position parameter, nesting\n- `references\u002Fscrolltrigger.md` — Full ScrollTrigger reference\n- `references\u002Fplugins.md` — SplitText, Flip, MorphSVG, DrawSVG, MotionPath, Observer\n",{"name":5,"description":7},"main","4c6d8d65f3d6096e2fc25b0845e481dda73c2794","skills\u002Fgenjutsu-gsap",0,"https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions","Building deterministic AI governance and continuity systems. Workflow architect + visual storyteller","2026-11-14 03:05:17",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add nexuslinkproductions\u002Fyuri-os --skill genjutsu-gsap",{"tool":46,"command":47},"bunx","bunx skills add nexuslinkproductions\u002Fyuri-os --skill genjutsu-gsap",{"tool":49,"command":50},"pnpm","pnpm dlx skills add nexuslinkproductions\u002Fyuri-os --skill genjutsu-gsap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002Fskills\u002Fgenjutsu-gsap\u002FSKILL.md",true,[],[55,63,70,77,84,91],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M73K12W8K0GSTB4ABKS8BD7H","executing-plans","Use when you have a written implementation plan to execute in a separate session with review checkpoints","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexecuting-plans\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":62},"01M73HC2NSXYYN54GBASVG2RDJ","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":62},"01M73HC12557CB08VDEF1YTF3H","triage","Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":62},"01M73HBXB8F8ED4KQXVXEWCV8B","trade-edge-audit","The EDGE LENS for trading peers — recalls EVERY factor\u002Findicator running from the live forecast ledger (no enumeration) and renders the whole pile through the edge arsenal off ONE call: multi-horizon scoring (the ladder) + deflated Sharpe (overfit) + Benjamini-Hochberg FDR (multiple-testing across the fleet) + spread-bounce + maker-fee falsification, then ranks only what survives ALL of it. Use when a peer must answer \"does ANY running factor have real, overfit-corrected, multiple-testing-corrected, fee-surviving edge, and at which horizon\" without hand-assembling 6 tools. The trade-engine analog of quantum-hypothesis-simulation.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":62},"01M73HBT5ZRCA82SQJ781NWVNQ","trade-decision-sim","The DECISION LENS for trading peers — recalls the CURRENT signal snapshot per market from the live ledger and renders it through the sim arsenal off ONE call: quantum factor-circuit order-optimal sequencing + decision-sim CVaR-robust sizing, sized against the MEASURED per-factor edge (from the edge-audit), correlation-aware. Emits an actionable call per market {side, sizePct, confidence, sequence}. Flat\u002Fzero-size when there is no measured edge after cost — the honest default. Sibling of trade-edge-audit (the EDGE lens); the trade-engine analog of quantum-hypothesis-simulation for a live decision.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrade-decision-sim\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":62},"01M73HBN2WTKGN790WYQD6GBM4","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[]]