Skills 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. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard)
install
source · Clone the upstream repo
git clone https://github.com/openai/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openai/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/.curated/figma-create-new-file" ~/.claude/skills/openai-skills-figma-create-new-file && rm -rf "$T"
manifest:
skills/.curated/figma-create-new-file/SKILL.mdsource content
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:
(default) ordesignfigjam - fileName: Name for the new file (defaults to "Untitled")
Examples:
— creates a design file named "Untitled"/figma-create-new-file
— creates a FigJam file named "My Whiteboard"/figma-create-new-file figjam My Whiteboard
— creates a design file named "My New Design"/figma-create-new-file design 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
call or in their prompt) → use it directly, skip to Step 2.whoami -
No planKey available → call the
tool. The response contains awhoami
array. Each plan has aplans
,key
,name
, andseat
.tier- Single plan: use its
field automatically.key - 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 |
|---|---|---|
| Yes | The plan key from Step 1 |
| Yes | Name for the new file |
| Yes | or |
Example:
{ "planKey": "team:123456", "fileName": "My New Design", "editorType": "design" }
Step 3: Use the result
The tool returns:
— the key of the newly created filefile_key
— a direct URL to open the file in Figmafile_url
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
and"design"
editor types are supported."figjam" - If
is your next step, load theuse_figma
skill before calling it.figma-use