figma-create-new-file
Always use this skill when the user wants to create a new Figma Design, FigJam, or Slides file. You MUST invoke this skill BEFORE every `create_new_file` tool call.
Install
git clone https://github.com/figma/mcp-server-guide /tmp/mcp-server-guide && ln -s /tmp/mcp-server-guide/skills/figma-create-new-file ~/.claude/skills/figma-create-new-file
From README
Create a new file in Figma Steps to create a new Figma Design, FigJam, or Slides file using the createnewfile MCP tool. Step 1: Resolve the planKey and editorType Use the planKey the user provided or selected for this task. Otherwise, call whoami and inspect the returned plans. No plans: inform the user that file creation cannot proceed. One plan: use its key as planKey. Multiple plans: show the available plans, ask the user to select one and then use that plan's 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. Step 2: Call createnewfile Call the createnewfile 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.
More from this repo
figma-code-workflows
Import or upload local HTML or project files into Figma, choose editable Design frames, runnable Code Layers or...
figma-generative-plugins
**MANDATORY prerequisite** — load this skill before calling `create_generative_plugin` or `update_generative_plugin`.
figma-shaders
**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`.
