[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QQB7X41YC0022R8FKN9W5M":3,"skill-same:01M6QQB7X41YC0022R8FKN9W5M":58},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6QQB7X41YC0022R8FKN9W5M","virtual-list",null,"Render large lists efficiently with @tanstack\u002Freact-virtual. Use when displaying 100+ items in a list, table, or grid — virtualizes rendering so only visible items are in the DOM.","SimaDevelopment\u002Fopsiforce","SimaDevelopment","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153810655?v=4","01M6QQ054MKBDSS43AND3FNHDK","Opsima","01M6QQ058VFT6EY7HCBVN49G8Z",43,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fagent-config\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"virtual","list","virtual list","react","table","tanstack","use","only","rendering","render","with","dom","grid","2026-11-10 10:12:30",false,"---\nname: virtual-list\ndescription: Render large lists efficiently with @tanstack\u002Freact-virtual. Use when displaying 100+ items in a list, table, or grid — virtualizes rendering so only visible items are in the DOM.\n---\n\n# TanStack Virtual — Virtualized Lists\n\nThe starter does not ship it: `yarn add @tanstack\u002Freact-virtual` first.\n\n## Virtual list (most common)\n\n```tsx\nimport { useVirtualizer } from \"@tanstack\u002Freact-virtual\"\nimport { useRef } from \"react\"\n\nfunction VirtualList({ items }: { items: { id: number; title: string }[] }) {\n  const parentRef = useRef\u003CHTMLDivElement>(null)\n\n  const virtualizer = useVirtualizer({\n    count: items.length,\n    getScrollElement: () => parentRef.current,\n    estimateSize: () => 56,  \u002F\u002F estimated row height in px\n  })\n\n  return (\n    \u003Cdiv ref={parentRef} className=\"h-[600px] overflow-auto rounded-lg border\">\n      \u003Cdiv style={{ height: `${virtualizer.getTotalSize()}px`, position: \"relative\" }}>\n        {virtualizer.getVirtualItems().map((virtualRow) => {\n          const item = items[virtualRow.index]\n          return (\n            \u003Cdiv\n              key={item.id}\n              style={{\n                position: \"absolute\",\n                top: 0,\n                left: 0,\n                width: \"100%\",\n                height: `${virtualRow.size}px`,\n                transform: `translateY(${virtualRow.start}px)`,\n              }}\n              className=\"flex items-center px-4 border-b hover:bg-muted\u002F50\"\n            >\n              {item.title}\n            \u003C\u002Fdiv>\n          )\n        })}\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n**Key:** The parent (scroll) div must have a **bounded height** and `overflow: auto` — `h-[600px]`, `h-screen`, or `flex-1 overflow-auto`. The inner div uses absolute positioning.\n\n## Virtual table (combine with react-table)\n\n```tsx\nfunction VirtualDataTable({ data, columns }: { data: Item[]; columns: ColumnDef\u003CItem>[] }) {\n  const parentRef = useRef\u003CHTMLDivElement>(null)\n  const table = useReactTable({ data, columns, getCoreRowModel: getCoreRowModel() })\n\n  const { rows } = table.getRowModel()\n  const virtualizer = useVirtualizer({\n    count: rows.length,\n    getScrollElement: () => parentRef.current,\n    estimateSize: () => 48,\n  })\n\n  return (\n    \u003Cdiv ref={parentRef} className=\"h-[600px] overflow-auto rounded-lg border\">\n      \u003Ctable className=\"w-full\">\n        \u003Cthead className=\"sticky top-0 bg-background z-10\">\n          {table.getHeaderGroups().map(hg => (\n            \u003Ctr key={hg.id} className=\"border-b\">\n              {hg.headers.map(h => (\n                \u003Cth key={h.id} className=\"px-4 py-3 text-left text-sm font-medium text-muted-foreground\">\n                  {flexRender(h.column.columnDef.header, h.getContext())}\n                \u003C\u002Fth>\n              ))}\n            \u003C\u002Ftr>\n          ))}\n        \u003C\u002Fthead>\n        \u003Ctbody>\n          \u003Ctr style={{ height: `${virtualizer.getTotalSize()}px` }}>\n            \u003Ctd colSpan={columns.length} style={{ padding: 0, position: \"relative\" }}>\n              {virtualizer.getVirtualItems().map((virtualRow) => {\n                const row = rows[virtualRow.index]\n                return (\n                  \u003Ctr\n                    key={row.id}\n                    style={{\n                      position: \"absolute\",\n                      top: 0,\n                      left: 0,\n                      width: \"100%\",\n                      height: `${virtualRow.size}px`,\n                      transform: `translateY(${virtualRow.start}px)`,\n                      display: \"flex\",\n                    }}\n                    className=\"border-b hover:bg-muted\u002F50\"\n                  >\n                    {row.getVisibleCells().map(cell => (\n                      \u003Ctd key={cell.id} className=\"px-4 py-3 text-sm flex-1\">\n                        {flexRender(cell.column.columnDef.cell, cell.getContext())}\n                      \u003C\u002Ftd>\n                    ))}\n                  \u003C\u002Ftr>\n                )\n              })}\n            \u003C\u002Ftd>\n          \u003C\u002Ftr>\n        \u003C\u002Ftbody>\n      \u003C\u002Ftable>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Virtual grid\n\n```tsx\nconst virtualizer = useVirtualizer({\n  count: Math.ceil(items.length \u002F 3),  \u002F\u002F 3 columns\n  getScrollElement: () => parentRef.current,\n  estimateSize: () => 200,  \u002F\u002F row height\n})\n\n\u002F\u002F In render, for each virtual row, render 3 items:\n{virtualizer.getVirtualItems().map((virtualRow) => {\n  const startIdx = virtualRow.index * 3\n  return (\n    \u003Cdiv key={virtualRow.index} style={\u002F* absolute positioning *\u002F} className=\"grid grid-cols-3 gap-4 px-4\">\n      {[0, 1, 2].map(col => {\n        const item = items[startIdx + col]\n        if (!item) return \u003Cdiv key={col} \u002F>\n        return \u003CCard key={item.id}>{item.title}\u003C\u002FCard>\n      })}\n    \u003C\u002Fdiv>\n  )\n})}\n```\n\n## When to use\n\n| Item count | Approach |\n|---|---|\n| \u003C 100 | Regular list (no virtualization needed) |\n| 100–1000 | Virtualize for smoother scroll |\n| 1000+ | **Must** virtualize — DOM will lag otherwise |\n\n## Common mistakes\n\n1. **Wrong `estimateSize`** — set it close to actual row height. Too small = items overlap; too large = gaps.\n2. **Forgetting `position: relative`** on the inner container — absolute-positioned items need a positioned parent.\n","# TanStack Virtual — Virtualized Lists\n\nThe starter does not ship it: `yarn add @tanstack\u002Freact-virtual` first.\n\n## Virtual list (most common)\n\n```tsx\nimport { useVirtualizer } from \"@tanstack\u002Freact-virtual\"\nimport { useRef } from \"react\"\n\nfunction VirtualList({ items }: { items: { id: number; title: string }[] }) {\n  const parentRef = useRef\u003CHTMLDivElement>(null)\n\n  const virtualizer = useVirtualizer({\n    count: items.length,\n    getScrollElement: () => parentRef.current,\n    estimateSize: () => 56,  \u002F\u002F estimated row height in px\n  })\n\n  return (\n    \u003Cdiv ref={parentRef} className=\"h-[600px] overflow-auto rounded-lg border\">\n      \u003Cdiv style={{ height: `${virtualizer.getTotalSize()}px`, position: \"relative\" }}>\n        {virtualizer.getVirtualItems().map((virtualRow) => {\n          const item = items[virtualRow.index]\n          return (\n            \u003Cdiv\n              key={item.id}\n              style={{\n                position: \"absolute\",\n                top: 0,\n                left: 0,\n                width: \"100%\",\n                height: `${virtualRow.size}px`,\n                transform: `translateY(${virtualRow.start}px)`,\n              }}\n              className=\"flex items-center px-4 border-b hover:bg-muted\u002F50\"\n            >\n              {item.title}\n            \u003C\u002Fdiv>\n          )\n        })}\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n**Key:** The parent (scroll) div must have a **bounded height** and `overflow: auto` — `h-[600px]`, `h-screen`, or `flex-1 overflow-auto`. The inner div uses absolute positioning.\n\n## Virtual table (combine with react-table)\n\n```tsx\nfunction VirtualDataTable({ data, columns }: { data: Item[]; columns: ColumnDef\u003CItem>[] }) {\n  const parentRef = useRef\u003CHTMLDivElement>(null)\n  const table = useReactTable({ data, columns, getCoreRowModel: getCoreRowModel() })\n\n  const { rows } = table.getRowModel()\n  const virtualizer = useVirtualizer({\n    count: rows.length,\n    getScrollElement: () => parentRef.current,\n    estimateSize: () => 48,\n  })\n\n  return (\n    \u003Cdiv ref={parentRef} className=\"h-[600px] overflow-auto rounded-lg border\">\n      \u003Ctable className=\"w-full\">\n        \u003Cthead className=\"sticky top-0 bg-background z-10\">\n          {table.getHeaderGroups().map(hg => (\n            \u003Ctr key={hg.id} className=\"border-b\">\n              {hg.headers.map(h => (\n                \u003Cth key={h.id} className=\"px-4 py-3 text-left text-sm font-medium text-muted-foreground\">\n                  {flexRender(h.column.columnDef.header, h.getContext())}\n                \u003C\u002Fth>\n              ))}\n            \u003C\u002Ftr>\n          ))}\n        \u003C\u002Fthead>\n        \u003Ctbody>\n          \u003Ctr style={{ height: `${virtualizer.getTotalSize()}px` }}>\n            \u003Ctd colSpan={columns.length} style={{ padding: 0, position: \"relative\" }}>\n              {virtualizer.getVirtualItems().map((virtualRow) => {\n                const row = rows[virtualRow.index]\n                return (\n                  \u003Ctr\n                    key={row.id}\n                    style={{\n                      position: \"absolute\",\n                      top: 0,\n                      left: 0,\n                      width: \"100%\",\n                      height: `${virtualRow.size}px`,\n                      transform: `translateY(${virtualRow.start}px)`,\n                      display: \"flex\",\n                    }}\n                    className=\"border-b hover:bg-muted\u002F50\"\n                  >\n                    {row.getVisibleCells().map(cell => (\n                      \u003Ctd key={cell.id} className=\"px-4 py-3 text-sm flex-1\">\n                        {flexRender(cell.column.columnDef.cell, cell.getContext())}\n                      \u003C\u002Ftd>\n                    ))}\n                  \u003C\u002Ftr>\n                )\n              })}\n            \u003C\u002Ftd>\n          \u003C\u002Ftr>\n        \u003C\u002Ftbody>\n      \u003C\u002Ftable>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Virtual grid\n\n```tsx\nconst virtualizer = useVirtualizer({\n  count: Math.ceil(items.length \u002F 3),  \u002F\u002F 3 columns\n  getScrollElement: () => parentRef.current,\n  estimateSize: () => 200,  \u002F\u002F row height\n})\n\n\u002F\u002F In render, for each virtual row, render 3 items:\n{virtualizer.getVirtualItems().map((virtualRow) => {\n  const startIdx = virtualRow.index * 3\n  return (\n    \u003Cdiv key={virtualRow.index} style={\u002F* absolute positioning *\u002F} className=\"grid grid-cols-3 gap-4 px-4\">\n      {[0, 1, 2].map(col => {\n        const item = items[startIdx + col]\n        if (!item) return \u003Cdiv key={col} \u002F>\n        return \u003CCard key={item.id}>{item.title}\u003C\u002FCard>\n      })}\n    \u003C\u002Fdiv>\n  )\n})}\n```\n\n## When to use\n\n| Item count | Approach |\n|---|---|\n| \u003C 100 | Regular list (no virtualization needed) |\n| 100–1000 | Virtualize for smoother scroll |\n| 1000+ | **Must** virtualize — DOM will lag otherwise |\n\n## Common mistakes\n\n1. **Wrong `estimateSize`** — set it close to actual row height. Too small = items overlap; too large = gaps.\n2. **Forgetting `position: relative`** on the inner container — absolute-positioned items need a positioned parent.\n",{"name":5,"description":7},"main","c54d8e35f50ac35b3b2c7ba8d4fca2205a740cb9","agent-config\u002Fskills\u002Fvirtual-list",9,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce","https:\u002F\u002Fgithub.com\u002FSimaDevelopment","2026-11-05 06:13:10",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add SimaDevelopment\u002Fopsiforce --skill virtual-list",{"tool":50,"command":51},"bunx","bunx skills add SimaDevelopment\u002Fopsiforce --skill virtual-list",{"tool":53,"command":54},"pnpm","pnpm dlx skills add SimaDevelopment\u002Fopsiforce --skill virtual-list","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fagent-config\u002Fskills\u002Fvirtual-list\u002FSKILL.md",true,[],[59,85,100,119,127,152],{"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":32},"01M6QQKHZFGFB6A111RW2A9WC0","figma-use","**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create\u002Fedit\u002Fdelete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use\u002FSKILL.md",[],[66,67,25,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],"figma use","figma","components","create","delete","tool","read","write","edit","context","auto","structure","tokens","bind","Variables","you","inspect","variants","invoke",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":32},"01M6QQK1AMA90K6DFAVANYQ9X3","figma-use-slides","This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-slides\u002FSKILL.md",[],[66,67,92,93,25,94,71,75,95,96,97,98,99],"figma use slides","slides","MCP","false","which","can","for","figma mcp",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":32},"01M6QQJTR9QYK297WQ1X792D63","figma-use-motion","Motion \u002F animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002FSKILL.md",[],[66,67,107,25,108,94,109,71,110,111,75,112,113,114,95,115,116,117,118,98],"figma use motion","motion","Animation","node","editing","Nodes","task","keyframes","via","styles","manual","load",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":32},"01M6QQJNZ067ZRXZ6A0QB9M6SB","figma-use-figjam","This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-figjam\u002FSKILL.md",[],[66,67,126,25,94,71,75,95,96,97,98,99],"figma use figjam",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":32},"01M6QQJ7NEHXPE33VRVHYYM7YE","figma-swiftui","SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views \u002F screens \u002F tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files \u002F an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui\u002FSKILL.md",[],[67,134,135,136,137,138,139,140,141,142,143,144,145,146,95,147,148,149,150,151],"figma swiftui","swiftui","design","swift","code","push","doc","files","translation","back","either","iphone","ipad","screen","direction","URL","my","path",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":32},"01M6QQJ3WZ3M90BZQ5TD305PKN","figma-shaders","**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-shaders\u002FSKILL.md",[],[159,67,160,161,69,162,163,164,165,25,166,167,95,168,118,169,170,171,172],"shaders","figma shaders","change","update","effect","user","fix","shader","calling","procedural","fill","iterate","custom","author"]