Skip to content
Skill

figma-create-new-file

by openai

AI Summary

Use the MCP tool to create a new blank Figma file in the user's drafts folder. This is typically used before when you need a fresh file to work with. This skill accepts optional arguments: Parse the arguments from the skill invocation. If editorType is not provided, default to . If fileName is not

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "figma-create-new-file" skill in my project.

Please run this command in my terminal:
# Install skill into your project (7 files)
mkdir -p .claude/skills/figma-create-new-file && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/SKILL.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/LICENSE.TXT "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/LICENSE.TXT" && mkdir -p .claude/skills/figma-create-new-file/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/agents/openai.yaml "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/agents/openai.yaml" && mkdir -p .claude/skills/figma-create-new-file/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/assets/figma-small.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/assets/figma-small.svg" && mkdir -p .claude/skills/figma-create-new-file/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/assets/figma.png "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/assets/figma.png" && mkdir -p .claude/skills/figma-create-new-file/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/assets/icon.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/assets/icon.svg" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/figma-create-new-file/maintainers.yml "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-create-new-file/maintainers.yml"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

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) 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".

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 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. • 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: `json { "planKey": "team:123456", "fileName": "My New Design", "editorType": "design" } `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 8d ago
Active
Adoption1K+ stars on GitHub
16.1k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars16.1k
Forks984
Issues182
Updated8d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code