**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `create_new_file` tool call. NEVER call `create_new_file` directly without loading this skill first. Trigger whenever the user wants a new blank Figma file — a new design, FigJam, or Slides file — or when you need a fresh file before calling `use_figma`. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard, /figma-create-new-file slides Q3 Review)
Steps to create a new Figma Design, FigJam, or Slides file using the create_new_file MCP tool.
planKey and editorTypeUse the planKey the user provided or selected for this task. Otherwise, call whoami and inspect the returned plans.
key as planKey.key as planKey.Infer editorType from the requested file type by choosing from the tool's advertised input enum. If unclear, ask the user to specify the file type.
Call the create_new_file tool with all three required arguments:
fileName: Required. Choose a concise name if the user does not provide one.planKey: Required. Use the planKey resolved in Step 1.editorType: Required. Use the editorType selected in Step 1.projectId: Optional. Set it to create the file in a specific project.{
"fileName": "Quarterly planning",
"planKey": "team::1234567890",
"editorType": "design"
}
file_key from the create_new_file tool response for subsequent tool calls like use_figma.A new Slides file contains no slides: figma.getSlideGrid() returns []. Before reading properties such as theme tokens from a slide, call figma.createSlide() or handle the empty case. The first createSlide() call automatically creates row 0 and inserts the slide.
skillbazaar install figma-create-new-file-2 --agent claudeSign in (free) to install skills with the CLI.
Author
@figma
on GitHub
Published by