[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QQ7FZ94DZ0NSDRKK006MK6":3,"skill-same:01M6QQ7FZ94DZ0NSDRKK006MK6":65},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6QQ7FZ94DZ0NSDRKK006MK6","data-export",null,"Export App data from the browser as CSV or JSON downloads, clipboard copies, or print-friendly views. Use when the user wants a download or export button, to copy data, or a printable page. Word, Excel, PowerPoint and PDF deliverables are `document-generation`.","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\u002Fdata-export\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"data export","data","export","printable","PDF","document-generation","print","deliverables","app","as","document","clipboard","use","page","Word","downloads","csv","browser","powerpoint","xlsx","2026-11-10 10:12:30",false,"---\nname: data-export\ndescription: Export App data from the browser as CSV or JSON downloads, clipboard copies, or print-friendly views. Use when the user wants a download or export button, to copy data, or a printable page. Word, Excel, PowerPoint and PDF deliverables are `document-generation`.\n---\n\n# Data Export — CSV, JSON, Print\n\nNo additional packages required. Uses built-in browser APIs.\n\n## CSV export (most common)\n\n```tsx\nfunction exportToCSV(data: Record\u003Cstring, unknown>[], filename: string) {\n  if (data.length === 0) return\n\n  const headers = Object.keys(data[0])\n  const csvRows = [\n    headers.join(\",\"),\n    ...data.map(row =>\n      headers.map(h => {\n        const val = String(row[h] ?? \"\")\n        return val.includes(\",\") || val.includes('\"') || val.includes(\"\\n\")\n          ? `\"${val.replace(\u002F\"\u002Fg, '\"\"')}\"`\n          : val\n      }).join(\",\")\n    ),\n  ]\n\n  const blob = new Blob([csvRows.join(\"\\n\")], { type: \"text\u002Fcsv\" })\n  const url = URL.createObjectURL(blob)\n  const a = document.createElement(\"a\")\n  a.href = url\n  a.download = `${filename}.csv`\n  a.click()\n  URL.revokeObjectURL(url)\n}\n\n\u002F\u002F Usage\n\u003CButton variant=\"outline\" onClick={() => exportToCSV(data, \"tasks-export\")}>\n  \u003CDownload className=\"h-4 w-4 mr-1\" \u002F> Export CSV\n\u003C\u002FButton>\n```\n\n## JSON export\n\n```tsx\nfunction exportToJSON(data: unknown, filename: string) {\n  const blob = new Blob([JSON.stringify(data, null, 2)], { type: \"application\u002Fjson\" })\n  const url = URL.createObjectURL(blob)\n  const a = document.createElement(\"a\")\n  a.href = url\n  a.download = `${filename}.json`\n  a.click()\n  URL.revokeObjectURL(url)\n}\n```\n\n## Backend CSV endpoint (for large datasets)\n\nGenerate CSV on the server for datasets too large to hold in browser memory:\n\n```typescript\n\u002F\u002F backend controller\n@Get(\"export\")\nexportCSV(@Res() res: Response) {\n  const items = this.itemsService.findAll()\n  const headers = [\"id\", \"title\", \"status\", \"created_at\"]\n  const csvRows = [\n    headers.join(\",\"),\n    ...items.map(item =>\n      headers.map(h => {\n        const val = String(item[h] ?? \"\")\n        return val.includes(\",\") || val.includes('\"') || val.includes(\"\\n\")\n          ? `\"${val.replace(\u002F\"\u002Fg, '\"\"')}\"`\n          : val\n      }).join(\",\")\n    ),\n  ]\n\n  res.setHeader(\"Content-Type\", \"text\u002Fcsv\")\n  res.setHeader(\"Content-Disposition\", \"attachment; filename=export.csv\")\n  res.send(csvRows.join(\"\\n\"))\n}\n```\n\n```tsx\n\u002F\u002F Frontend — download link\n\u003Ca href=\"\u002Fapi\u002Fitems\u002Fexport\" download className=\"inline-flex items-center gap-1 text-sm text-primary hover:underline\">\n  \u003CDownload className=\"h-4 w-4\" \u002F> Download CSV\n\u003C\u002Fa>\n```\n\n## Print-friendly view\n\n```tsx\nfunction PrintButton() {\n  return \u003CButton variant=\"outline\" onClick={() => window.print()}>\n    \u003CPrinter className=\"h-4 w-4 mr-1\" \u002F> Print\n  \u003C\u002FButton>\n}\n```\n\nAdd print styles in `index.css`:\n\n```css\n@media print {\n  nav, button, .no-print { display: none !important; }\n  body { background: white !important; }\n  * { color: black !important; box-shadow: none !important; }\n}\n```\n\n## Copy to clipboard\n\n```tsx\nasync function copyToClipboard(text: string) {\n  await navigator.clipboard.writeText(text)\n  toast.success(\"Copied to clipboard\")\n}\n\n\u003CButton variant=\"ghost\" size=\"icon\" onClick={() => copyToClipboard(item.id)}>\n  \u003CCopy className=\"h-4 w-4\" \u002F>\n\u003C\u002FButton>\n```\n\n## Common mistakes\n\n1. **Not escaping CSV values** — commas and quotes in data break CSV format. Always wrap values with commas\u002Fquotes\u002Fnewlines in double-quotes.\n2. **Not revoking object URL** — `URL.revokeObjectURL(url)` prevents memory leaks.\n3. **Large exports blocking the UI** — for 10k+ rows, generate on the backend and stream the download.\n","# Data Export — CSV, JSON, Print\n\nNo additional packages required. Uses built-in browser APIs.\n\n## CSV export (most common)\n\n```tsx\nfunction exportToCSV(data: Record\u003Cstring, unknown>[], filename: string) {\n  if (data.length === 0) return\n\n  const headers = Object.keys(data[0])\n  const csvRows = [\n    headers.join(\",\"),\n    ...data.map(row =>\n      headers.map(h => {\n        const val = String(row[h] ?? \"\")\n        return val.includes(\",\") || val.includes('\"') || val.includes(\"\\n\")\n          ? `\"${val.replace(\u002F\"\u002Fg, '\"\"')}\"`\n          : val\n      }).join(\",\")\n    ),\n  ]\n\n  const blob = new Blob([csvRows.join(\"\\n\")], { type: \"text\u002Fcsv\" })\n  const url = URL.createObjectURL(blob)\n  const a = document.createElement(\"a\")\n  a.href = url\n  a.download = `${filename}.csv`\n  a.click()\n  URL.revokeObjectURL(url)\n}\n\n\u002F\u002F Usage\n\u003CButton variant=\"outline\" onClick={() => exportToCSV(data, \"tasks-export\")}>\n  \u003CDownload className=\"h-4 w-4 mr-1\" \u002F> Export CSV\n\u003C\u002FButton>\n```\n\n## JSON export\n\n```tsx\nfunction exportToJSON(data: unknown, filename: string) {\n  const blob = new Blob([JSON.stringify(data, null, 2)], { type: \"application\u002Fjson\" })\n  const url = URL.createObjectURL(blob)\n  const a = document.createElement(\"a\")\n  a.href = url\n  a.download = `${filename}.json`\n  a.click()\n  URL.revokeObjectURL(url)\n}\n```\n\n## Backend CSV endpoint (for large datasets)\n\nGenerate CSV on the server for datasets too large to hold in browser memory:\n\n```typescript\n\u002F\u002F backend controller\n@Get(\"export\")\nexportCSV(@Res() res: Response) {\n  const items = this.itemsService.findAll()\n  const headers = [\"id\", \"title\", \"status\", \"created_at\"]\n  const csvRows = [\n    headers.join(\",\"),\n    ...items.map(item =>\n      headers.map(h => {\n        const val = String(item[h] ?? \"\")\n        return val.includes(\",\") || val.includes('\"') || val.includes(\"\\n\")\n          ? `\"${val.replace(\u002F\"\u002Fg, '\"\"')}\"`\n          : val\n      }).join(\",\")\n    ),\n  ]\n\n  res.setHeader(\"Content-Type\", \"text\u002Fcsv\")\n  res.setHeader(\"Content-Disposition\", \"attachment; filename=export.csv\")\n  res.send(csvRows.join(\"\\n\"))\n}\n```\n\n```tsx\n\u002F\u002F Frontend — download link\n\u003Ca href=\"\u002Fapi\u002Fitems\u002Fexport\" download className=\"inline-flex items-center gap-1 text-sm text-primary hover:underline\">\n  \u003CDownload className=\"h-4 w-4\" \u002F> Download CSV\n\u003C\u002Fa>\n```\n\n## Print-friendly view\n\n```tsx\nfunction PrintButton() {\n  return \u003CButton variant=\"outline\" onClick={() => window.print()}>\n    \u003CPrinter className=\"h-4 w-4 mr-1\" \u002F> Print\n  \u003C\u002FButton>\n}\n```\n\nAdd print styles in `index.css`:\n\n```css\n@media print {\n  nav, button, .no-print { display: none !important; }\n  body { background: white !important; }\n  * { color: black !important; box-shadow: none !important; }\n}\n```\n\n## Copy to clipboard\n\n```tsx\nasync function copyToClipboard(text: string) {\n  await navigator.clipboard.writeText(text)\n  toast.success(\"Copied to clipboard\")\n}\n\n\u003CButton variant=\"ghost\" size=\"icon\" onClick={() => copyToClipboard(item.id)}>\n  \u003CCopy className=\"h-4 w-4\" \u002F>\n\u003C\u002FButton>\n```\n\n## Common mistakes\n\n1. **Not escaping CSV values** — commas and quotes in data break CSV format. Always wrap values with commas\u002Fquotes\u002Fnewlines in double-quotes.\n2. **Not revoking object URL** — `URL.revokeObjectURL(url)` prevents memory leaks.\n3. **Large exports blocking the UI** — for 10k+ rows, generate on the backend and stream the download.\n",{"name":5,"description":7},"main","c54d8e35f50ac35b3b2c7ba8d4fca2205a740cb9","agent-config\u002Fskills\u002Fdata-export",9,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce","https:\u002F\u002Fgithub.com\u002FSimaDevelopment","2026-11-05 06:13:10",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add SimaDevelopment\u002Fopsiforce --skill data-export",{"tool":57,"command":58},"bunx","bunx skills add SimaDevelopment\u002Fopsiforce --skill data-export",{"tool":60,"command":61},"pnpm","pnpm dlx skills add SimaDevelopment\u002Fopsiforce --skill data-export","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fagent-config\u002Fskills\u002Fdata-export\u002FSKILL.md",true,[],[66,92,107,126,134,159],{"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":39},"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",[],[73,74,31,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91],"figma use","figma","components","create","delete","tool","read","write","edit","context","auto","structure","tokens","bind","Variables","you","inspect","variants","invoke",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"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",[],[73,74,99,100,31,101,78,82,102,103,104,105,106],"figma use slides","slides","MCP","false","which","can","for","figma mcp",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":39},"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",[],[73,74,114,31,115,101,116,78,117,118,82,119,120,121,102,122,123,124,125,105],"figma use motion","motion","Animation","node","editing","Nodes","task","keyframes","via","styles","manual","load",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"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",[],[73,74,133,31,101,78,82,102,103,104,105,106],"figma use figjam",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":39},"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",[],[74,141,142,143,144,145,146,147,148,149,150,151,152,153,102,154,155,156,157,158],"figma swiftui","swiftui","design","swift","code","push","doc","files","translation","back","either","iphone","ipad","screen","direction","URL","my","path",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":39},"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",[],[166,74,167,168,76,169,170,171,172,31,173,174,102,175,125,176,177,178,179],"shaders","figma shaders","change","update","effect","user","fix","shader","calling","procedural","fill","iterate","custom","author"]