跳到正文
Skillpedia
界面(UI/UX)28k · #9850

figma-create-new-file

它能做什么

这项技能创建一个新的空白 Figma 文件,可以是设计文件,也可以是 FigJam 白板。适合在智能体开始绘制或编辑之前,需要一个全新文件的人。

适用场景

  • ✓当你想为某个屏幕或原型新建一个空白 Figma 设计文件的时候。
  • ✓当你需要一个 FigJam 白板来头脑风暴或梳理想法的时候。
  • ✓当智能体需要在写入内容前先有一个全新文件的时候。

技能链接

https://github.com/openai/skills/blob/main/skills/.curated/figma-create-new-file/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openai/skills/blob/main/skills/.curated/figma-create-new-file/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在我的 Figma 账户中新建一个名为 Sprint Board 的空白 FigJam 文件。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会确定使用哪个 Figma 计划,如果有多个则询问你,然后按你选择的类型和名称,在草稿文件夹中创建文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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) or figjam
  • 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:

  1. User already provided a planKey (e.g. from a previous whoami call or in their prompt) → use it directly, skip to Step 2.

  2. No planKey available → call the whoami tool. The response contains a plans array. Each plan has a key, name, seat, and tier.

    • Single plan: use its key field automatically.
    • Multiple plans: ask the user which team or organization they want to create the file in, then use the corresponding plan's key.

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 file
  • file_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_figma is your next step, load the figma-use skill before calling it.
常见问题

它能创建哪些类型的文件?

它可以创建设计文件或 FigJam 文件。如果你不选择,默认是设计文件。

新文件会得到什么名称?

它使用你给出的名称;如果你没有给出,则使用 Untitled。

它会询问使用哪个账户吗?

会的,如果你属于多个团队或组织,它会询问使用哪一个。

详情

作者的原始描述

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)

repo: openai/skills

热度

GitHub 星标
28k
排名
#9850
许可证
—
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能