基于先查文档的流程,把 ChatGPT Apps SDK 项目规划为 MCP 服务端 + 组件 UI 代码。
设计与多媒体
figma-create-new-file
试用Create a new blank Figma file. Use when the user wants to create a new Figma design or FigJam file, or when you need a new file before calling use_figma. Handles plan resolution via whoami if needed.
它能做什么
Create a new blank Figma file. Use when the user wants to create a new Figma design or FigJam file, or when you need a new file before calling use_figma. Handles plan resolution via whoami if needed. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard)
技能文档
create_new_file — Create a New Figma File
Use the create_new_file MCP tool to create a new blank Figma file in the user's drafts folder. This is typically used before use_figma when you need a fresh file to work with.
Skill Arguments
This skill accepts optional arguments: /figma-create-new-file [editorType] [fileName]
- editorType:
design(default) orfigjam - fileName: Name for the new file (defaults to "Untitled")
Examples:
/figma-create-new-file— creates a design file named "Untitled"/figma-create-new-file figjam My Whiteboard— creates a FigJam file named "My Whiteboard"/figma-create-new-file design My New Design— creates a design file named "My New Design"
Parse the arguments from the skill invocation. If editorType is not provided, default to "design". If fileName is not provided, default to "Untitled".
Workflow
Step 1: Resolve the planKey
The create_new_file tool requires a planKey parameter. Follow this decision tree:
-
User already provided a planKey (e.g. from a previous
whoamicall or in their prompt) → use it directly, skip to Step 2. -
No planKey available → call the
whoamitool. The response contains aplansarray. Each plan has akey,name,seat, andtier.- Single plan: use its
keyfield automatically. - Multiple plans: ask the user which team or organization they want to create the file in, then use the corresponding plan's
key.
- Single plan: use its
Step 2: Call create_new_file
Call the create_new_file tool with:
| Parameter | Required | Description |
|---|---|---|
planKey | Yes | The plan key from Step 1 |
fileName | Yes | Name for the new file |
editorType | Yes | "design" or "figjam" |
Example:
{
"planKey": "team:123456",
"fileName": "My New Design",
"editorType": "design"
}
Step 3: Use the result
The tool returns:
file_key— the key of the newly created filefile_url— a direct URL to open the file in Figma
Use the file_key for subsequent tool calls like use_figma.
Important Notes
- The file is created in the user's drafts folder for the selected plan.
- Only
"design"and"figjam"editor types are supported. - If
use_figmais your next step, load thefigma-useskill before calling it.
相关技能
复用目标文件已发布的设计系统,把代码或描述转换为完整的 Figma 页面。
从概念、品牌或参考图生成 Codex 兼容的动画宠物与宠物精灵图集。
针对代码仓库生成可直接落地的 AppSec 威胁模型,输出 Markdown 报告。
为 AI 编码代理生成针对你项目定制的 Figma 设计系统规则文件。
speech
官方基于 OpenAI gpt-4o-mini-tts 把文本转成语音,内置语音直接可用。
OpenAI 的更多技能
浏览全部技能基于先查文档的流程,把 ChatGPT Apps SDK 项目规划为 MCP 服务端 + 组件 UI 代码。
复用目标文件已发布的设计系统,把代码或描述转换为完整的 Figma 页面。
通过 `use_figma` MCP 工具在 Figma 文件中执行 JavaScript 的参考技能,定义插件代码的 API 规则与写法。
从概念、品牌或参考图生成 Codex 兼容的动画宠物与宠物精灵图集。
imagegen
官方在 Codex 项目里直接生成或编辑位图图像,并把项目用到的素材放回项目内
基于 OpenAI 官方开发者文档,给出带引用的权威解答。