[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D3M8MN5TH4S286ADKRQ283":3,"skill-same:01M7D3M8MN5TH4S286ADKRQ283":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7D3M8MN5TH4S286ADKRQ283","figma",null,"通过 Figma MCP 获取设计上下文、截图、变量和资源。","MaoYugit\u002FDailyRecord","MaoYugit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104011567?v=4","01M7D3K66W4ARYGTW2RB2174XP","01M7D3K681DE8KMJ3VNDSYC3DC",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: figma\ndescription: '通过 Figma MCP 获取设计上下文、截图、变量和资源。'\n---\n\n# Figma MCP\n\nUse the Figma MCP server for Figma-driven implementation. For setup and debugging details (env vars, config, verification), see `references\u002Ffigma-mcp-config.md`.\n\n## Figma MCP Integration Rules\nThese rules define how to translate Figma inputs into code for this project and must be followed for every Figma-driven change.\n\n### Required flow (do not skip)\n1. Run get_design_context first to fetch the structured representation for the exact node(s).\n2. If the response is too large or truncated, run get_metadata to get the high-level node map and then re-fetch only the required node(s) with get_design_context.\n3. Run get_screenshot for a visual reference of the node variant being implemented.\n4. Only after you have both get_design_context and get_screenshot, download any assets needed and start implementation.\n5. Translate the output (usually React + Tailwind) into this project's conventions, styles and framework. Reuse the project's color tokens, components, and typography wherever possible.\n6. Validate against Figma for 1:1 look and behavior before marking complete.\n\n### Implementation rules\n- Treat the Figma MCP output (React + Tailwind) as a representation of design and behavior, not as final code style.\n- Replace Tailwind utility classes with the project's preferred utilities\u002Fdesign-system tokens when applicable.\n- Reuse existing components (e.g., buttons, inputs, typography, icon wrappers) instead of duplicating functionality.\n- Use the project's color system, typography scale, and spacing tokens consistently.\n- Respect existing routing, state management, and data-fetch patterns already adopted in the repo.\n- Strive for 1:1 visual parity with the Figma design. When conflicts arise, prefer design-system tokens and adjust spacing or sizes minimally to match visuals.\n- Validate the final UI against the Figma screenshot for both look and behavior.\n\n### Asset handling\n- The Figma MCP Server provides an assets endpoint which can serve image and SVG assets.\n- IMPORTANT: If the Figma MCP Server returns a localhost source for an image or an SVG, use that image or SVG source directly.\n- IMPORTANT: DO NOT import\u002Fadd new icon packages, all the assets should be in the Figma payload.\n- IMPORTANT: do NOT use or create placeholders if a localhost source is provided.\n\n### Link-based prompting\n- The server is link-based: copy the Figma frame\u002Flayer link and give that URL to the MCP client when asking for implementation help.\n- The client cannot browse the URL but extracts the node ID from the link; always ensure the link points to the exact node\u002Fvariant you want.\n\n## References\n- `references\u002Ffigma-mcp-config.md` 鈥?setup, verification, troubleshooting, and link-based usage reminders.\n- `references\u002Ffigma-tools-and-prompts.md` 鈥?tool catalog and prompt patterns for selecting frameworks\u002Fcomponents and fetching metadata.\n\n","# Figma MCP\n\nUse the Figma MCP server for Figma-driven implementation. For setup and debugging details (env vars, config, verification), see `references\u002Ffigma-mcp-config.md`.\n\n## Figma MCP Integration Rules\nThese rules define how to translate Figma inputs into code for this project and must be followed for every Figma-driven change.\n\n### Required flow (do not skip)\n1. Run get_design_context first to fetch the structured representation for the exact node(s).\n2. If the response is too large or truncated, run get_metadata to get the high-level node map and then re-fetch only the required node(s) with get_design_context.\n3. Run get_screenshot for a visual reference of the node variant being implemented.\n4. Only after you have both get_design_context and get_screenshot, download any assets needed and start implementation.\n5. Translate the output (usually React + Tailwind) into this project's conventions, styles and framework. Reuse the project's color tokens, components, and typography wherever possible.\n6. Validate against Figma for 1:1 look and behavior before marking complete.\n\n### Implementation rules\n- Treat the Figma MCP output (React + Tailwind) as a representation of design and behavior, not as final code style.\n- Replace Tailwind utility classes with the project's preferred utilities\u002Fdesign-system tokens when applicable.\n- Reuse existing components (e.g., buttons, inputs, typography, icon wrappers) instead of duplicating functionality.\n- Use the project's color system, typography scale, and spacing tokens consistently.\n- Respect existing routing, state management, and data-fetch patterns already adopted in the repo.\n- Strive for 1:1 visual parity with the Figma design. When conflicts arise, prefer design-system tokens and adjust spacing or sizes minimally to match visuals.\n- Validate the final UI against the Figma screenshot for both look and behavior.\n\n### Asset handling\n- The Figma MCP Server provides an assets endpoint which can serve image and SVG assets.\n- IMPORTANT: If the Figma MCP Server returns a localhost source for an image or an SVG, use that image or SVG source directly.\n- IMPORTANT: DO NOT import\u002Fadd new icon packages, all the assets should be in the Figma payload.\n- IMPORTANT: do NOT use or create placeholders if a localhost source is provided.\n\n### Link-based prompting\n- The server is link-based: copy the Figma frame\u002Flayer link and give that URL to the MCP client when asking for implementation help.\n- The client cannot browse the URL but extracts the node ID from the link; always ensure the link points to the exact node\u002Fvariant you want.\n\n## References\n- `references\u002Ffigma-mcp-config.md` 鈥?setup, verification, troubleshooting, and link-based usage reminders.\n- `references\u002Ffigma-tools-and-prompts.md` 鈥?tool catalog and prompt patterns for selecting frameworks\u002Fcomponents and fetching metadata.\n\n",{"name":5,"description":7},"main","a2bc6719524db9c0d825f0f14787e8f106f5f0b7","figma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord","https:\u002F\u002Fgithub.com\u002FMaoYugit","2026-07-01 16:13:17",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add MaoYugit\u002FDailyRecord --skill figma",{"tool":36,"command":37},"bunx","bunx skills add MaoYugit\u002FDailyRecord --skill figma",{"tool":39,"command":40},"pnpm","pnpm dlx skills add MaoYugit\u002FDailyRecord --skill figma","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002FSKILL.md",true,[44,50,56,60,64,69,73],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",460,"https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002Fagents\u002Fopenai.yaml",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"assets\u002Ffigma-small.svg","ASSET","资产文件",810,"https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002Fassets\u002Ffigma-small.svg",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"assets\u002Ffigma.png",1612,"https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002Fassets\u002Ffigma.png",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"assets\u002Ficon.svg",964,"https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002Fassets\u002Ficon.svg",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",11358,{"path":70,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Ffigma-mcp-config.md",2471,"https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002Freferences\u002Ffigma-mcp-config.md",{"path":74,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Ffigma-tools-and-prompts.md",2796,"https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002Freferences\u002Ffigma-tools-and-prompts.md",[78,86,92,98,104,110],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D3M1ESM1NPTH72FN2FN33Y","figma-implement-design","把 Figma 设计节点高保真落成可用代码。","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma-implement-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma-implement-design\u002FSKILL.md",[],[],{"skillNo":87,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7D3KZ2FZN09XR54GW81VNM6","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002F.cursor-skills\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002F.cursor-skills\u002Ffigma\u002FSKILL.md",[],[],{"skillNo":93,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7D3KSXCZ96GF1V9XY83P72D","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002F.cursor-skills\u002Ffigma-implement-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma to code\u002F.cursor-skills\u002Ffigma-implement-design\u002FSKILL.md",[],[],{"skillNo":99,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7D3KQDHQ9HMFENA13HWX1H6","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma MCP搭建\u002Fskills\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma MCP搭建\u002Fskills\u002Ffigma\u002FSKILL.md",[],[],{"skillNo":105,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7D3KHTX7KS2NVHWP2MW2NMK","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma MCP搭建\u002Fskills\u002Ffigma-implement-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma MCP搭建\u002Fskills\u002Ffigma-implement-design\u002FSKILL.md",[],[],{"skillNo":111,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7D3KFKV1VVTXJ0JKAVSQFSZ","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma MCP搭建\u002Ffigma-builder-kit\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMaoYugit\u002FDailyRecord\u002Fblob\u002Fmain\u002Ffigma MCP搭建\u002Ffigma-builder-kit\u002Ffigma-builder-kit\u002F.codex\u002Fskills\u002Ffigma\u002FSKILL.md",[],[]]