在调用 Figma 操作前加载此技能,确保编辑与脚本检查稳定执行
该技能材料显示其本质是开源的提示型/文档型 Figma Plugin API 使用指导,本身不要求密钥、未声明远程端点,且来源于高 star 的 GitHub 仓库,整体偏低风险。需注意其面向的配套 use_figma 工具具备在 Figma 文件上下文执行 JavaScript 和修改设计数据的能力,因此涉及代码执行与数据改动时应谨慎使用。
材料与客观检查项均表明该技能不需要密钥或环境变量,未见凭证收集、存储或外传说明,凭证滥用风险低。
未声明任何远程端点,系统检查也标记为无 host;该技能内容主要是本地参考说明与调用约束,材料中未见将用户数据发送到第三方服务的描述。
README 明确说明其用途是配合 use_figma 在 Figma 文件上下文通过 Plugin API 执行 JavaScript,并支持创建、编辑、删除节点等写操作。此属该类工具的常规能力,非单独高风险红旗,但意味着可对设计内容实施实际修改,应在受控范围内使用。
材料显示其可读取文件结构、页面、组件、变量及样式等 Figma 设计数据,并可进行写入修改;未见申请超出声明功能的系统级权限。风险主要在于对 Figma 文件内容的读写范围较广,但仍与其声明用途一致。
来源为 GitHub 上的 openai/skills 开源仓库,社区采用度高(约 22k stars),可审计性较好,是明显的降风险因素。许可证与维护状态未明确,存在一定信息缺口,但不足以单独升为高风险。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "figma-use" 技能: 1. 下载 https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-use/SKILL.md 2. 保存为 ~/.claude/skills/figma-use/SKILL.md 3. 装好后重载技能,告诉我可以用了
Use use_figma MCP to execute JavaScript in Figma files via the Plugin API. All detailed reference docs live in references/.
Always pass skillNames: "figma-use" when calling use_figma. This is a logging parameter used to track skill usage — it does not affect execution.
If the task involves building or updating a full page, screen, or multi-section layout in Figma from code, also load figma-generate-design. It provides the workflow for discovering design system components via search_design_system, importing them, and assembling screens incrementally. Both skills work together: this one for the API rules, that one for the screen-building workflow.
Before anything, load plugin-api-standalone.index.md to understand what is possible. When you are asked to write plugin API code, use this context to grep plugin-api-standalone.d.ts for relevant types, methods, and properties. This is the definitive source of truth for the API surface. It is a large typings file, so do not load it all at once, grep for relevant sections as needed.
IMPORTANT: Whenever you work with design systems, start with working-with-design-systems/wwds.md to understand the key concepts, processes, and guidelines for working with design systems in Figma. Then load the more specific references for components, variables, text styles, and effect styles as needed.
return to send data back. The return value is JSON-serialized automatically (objects, arrays, strings, numbers). Do NOT call figma.closePlugin() or wrap code in an async IIFE — this is handled for you.await and return. Code is automatically wrapped in an async context. Do NOT wrap in (async () => { ... })().figma.notify() throws "not implemented" — never use it
3a. getPluginData() / setPluginData() are not supported in use_figma — do not use them. Use getSharedPluginData() / setSharedPluginData() instead (these ARE supported), or track node IDs by returning them and passing them to subsequent calls.console.log() is NOT returned — use return for outputuse_figma calls. Validate after each step. This is the single most important practice for avoiding bugs.{r: 1, g: 0, b: 0} = redawait figma.loadFontAsync({family, style})await figma.setCurrentPageAsync(page) to switch pages and load their content (see Page Rules below)setBoundVariableForPaint returns a NEW paint — must capture and reassigncreateVariable accepts collection object or ID string (object preferred)layoutSizingHorizontal/Vertical = 'FILL' MUST be set AFTER parent.appendChild(child) — setting before append throws. Same applies to 'HUG' on non-auto-layout nodes.figma.currentPage.children to find a clear position (e.g., to the right of the rightmost node). This only applies to page-level nodes — nodes nested inside other frames or auto-layout containers are positioned by their parent. See Gotchas.use_figma error, STOP. Do NOT immediately retry. Failed scripts are atomic — if a script errors, it is not executed at all and no changes are made to the file. Read the error message carefully, fix the script, then retry. See Error Recovery.…
一键串联暂存、提交、推送并用 GitHub CLI 创建拉取请求。
帮助用户生成或编辑位图图像,用于插画、照片、贴图与透明抠图等视觉素材。
用于为 Codex 快速创建并搭建插件目录、配置文件与市场清单条目。
帮助用户创建或更新技能,扩展 Codex 的知识、流程与工具能力
帮助用户从精选列表或 GitHub 仓库安装 Codex 技能到本地环境。
帮助用户在 Linear 中查看、创建和更新工单、项目与团队流程。
将 Figma 设计稿高保真转换为可直接落地的前端界面代码
根据代码库在 Figma 中创建或更新专业级设计系统与组件库
将代码或页面描述转成Figma完整界面,并按设计系统逐段搭建设计稿
连接 Figma 获取设计上下文与资源,并将节点高效转换为生产代码。
连接 Figma 读写能力,支持读取设计文件并将内容写回画布。
通过自然语言执行 Figma 插件 API,批量操作与修改设计节点。