figma-create-new-file by figma/mcp-server-guide
npx skills add https://github.com/figma/mcp-server-guide --skill figma-create-new-file使用 create_new_file MCP 工具在用户的草稿文件夹中创建一个新的空白 Figma 文件。这通常在您需要一个新文件来处理时,在 use_figma 之前使用。
此技能接受可选参数:/figma-create-new-file [editorType] [fileName]
design(默认)或 figjam示例:
/figma-create-new-file — 创建一个名为 "Untitled" 的设计文件/figma-create-new-file figjam My Whiteboard — 创建一个名为 "My Whiteboard" 的 FigJam 文件广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
/figma-create-new-file design My New Design — 创建一个名为 "My New Design" 的设计文件解析技能调用中的参数。如果未提供 editorType,则默认为 "design"。如果未提供 fileName,则默认为 "Untitled"。
create_new_file 工具需要一个 planKey 参数。请遵循以下决策树:
用户已提供 planKey(例如,来自之前的 whoami 调用或在他们的提示中)→ 直接使用它,跳转到步骤 2。
没有可用的 planKey → 调用 whoami 工具。响应包含一个 plans 数组。每个计划都有一个 key、name、seat 和 tier。
key 字段。key。使用以下参数调用 create_new_file 工具:
| 参数 | 必需 | 描述 |
|---|---|---|
planKey | 是 | 来自步骤 1 的计划密钥 |
fileName | 是 | 新文件的名称 |
editorType | 是 | "design" 或 "figjam" |
示例:
{
"planKey": "team:123456",
"fileName": "My New Design",
"editorType": "design"
}
该工具返回:
file_key — 新创建文件的密钥file_url — 在 Figma 中打开文件的直接 URL使用 file_key 进行后续的工具调用,例如 use_figma。
"design" 和 "figjam" 编辑器类型。use_figma,请在调用它之前加载 figma-use 技能。每周安装次数
111
代码仓库
GitHub 星标数
540
首次出现
2 天前
安全审计
安装于
opencode106
codex98
github-copilot96
gemini-cli96
kimi-cli96
amp96
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.
This skill accepts optional arguments: /figma-create-new-file [editorType] [fileName]
design (default) or figjamExamples:
/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".
The create_new_file tool requires a planKey parameter. Follow this decision tree:
User already provided a planKey (e.g. from a previous whoami call or in their prompt) → use it directly, skip to Step 2.
No planKey available → call the whoami tool. The response contains a plans array. Each plan has a key, name, seat, and tier.
key field automatically.key.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"
}
The tool returns:
file_key — the key of the newly created filefile_url — a direct URL to open the file in FigmaUse the file_key for subsequent tool calls like use_figma.
"design" and "figjam" editor types are supported.use_figma is your next step, load the figma-use skill before calling it.Weekly Installs
111
Repository
GitHub Stars
540
First Seen
2 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode106
codex98
github-copilot96
gemini-cli96
kimi-cli96
amp96
shadcn/ui 框架:React 组件库与 UI 设计系统,Tailwind CSS 最佳实践
69,400 周安装