将代码或页面描述转成Figma完整界面,并按设计系统逐段搭建设计稿
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "figma-generate-design" 技能: 1. 下载 https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-generate-design/SKILL.md 2. 保存为 ~/.claude/skills/figma-generate-design/SKILL.md 3. 装好后重载技能,告诉我可以用了
Use this skill to create or update full-page screens in Figma by reusing the published design system — components, variables, and styles — rather than drawing primitives with hardcoded values. The key insight: the Figma file likely has a published design system with components, color/spacing variables, and text/effect styles that correspond to the codebase's UI components and tokens. Find and use those instead of drawing boxes with hex colors.
MANDATORY: You MUST also load figma-use before any use_figma call. That skill contains critical rules (color ranges, font loading, etc.) that apply to every script you write.
Always pass skillNames: "figma-generate-design" when calling use_figma as part of this skill. This is a logging parameter — it does not affect execution.
When building a screen from a web app that can be rendered in a browser, the best results come from running both approaches in parallel:
generate_figma_design to capture a pixel-perfect screenshot of the running web appgenerate_figma_design capture. The capture provides the exact spacing, sizing, and visual treatment to aim for, while your use_figma output has proper component instances linked to the design system.generate_figma_design output — it was only used as a visual reference.This combines the best of both: generate_figma_design gives pixel-perfect layout accuracy, while use_figma gives proper design system component instances that stay linked and updatable.
This workflow only applies to web apps where generate_figma_design can capture the running page. For non-web apps (iOS, Android, etc.) or when updating existing screens, use the standard workflow below.
Follow these steps in order. Do not skip steps.
Before touching Figma, understand what you're building:
You need three things from the design system: components (buttons, cards, etc.), variables (colors, spacing, radii), and styles (text styles, effect styles like shadows). Don't hardcode hex colors or pixel values when design system tokens exist.
…
用于构建、脚手架生成、重构并排查 ChatGPT Apps SDK 应用问题。
帮助你基于接口文档或脚本快速生成可组合的命令行工具
帮助你将应用与基础设施部署、发布并托管到 Cloudflare 平台。
帮助用户把模糊想法转成具体、可衡量的目标与成功标准。
将 Figma 设计组件与代码组件建立映射,便于设计与实现保持一致。
帮助你构建、评审与重构 ASP.NET Core Web 应用及架构方案
根据代码库在 Figma 中创建或更新专业级设计系统与组件库
将 Figma 设计稿高保真转换为可直接落地的前端界面代码
为项目代码库生成定制化设计系统规则,统一 Figma 到代码协作规范。
连接 Figma 获取设计上下文与资源,并将节点高效转换为生产代码。
读取 Figma 设计稿并辅助将界面结构快速转换为代码实现
帮助用户设计并生成高质量、可生产的前端界面与网页组件代码