{"id":5453,"plugin_id":"plugin_connector_68df038e0ba48191908c8434991bbac2","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T22:44:46.972Z","digest":"5287824386c1a9f504d37a48cc65c0495352c931cb53c0190f9a08bfd02c0717","against":null,"payload":{"description":"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.","included_files":[],"name":"figma-create-new-file","skill_md_contents":"---\nname: figma-create-new-file\ndescription: \"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.\"\ndisable-model-invocation: false\n---\n\n# Create a new file in Figma\n\nSteps to create a new Figma Design, FigJam, or Slides file using the `create_new_file` MCP tool.\n\n## Step 1: Resolve the `planKey` and `editorType`\n\nUse the `planKey` the user provided or selected for this task. Otherwise, call `whoami` and inspect the returned plans.\n\n- No plans: inform the user that file creation cannot proceed.\n- One plan: use its `key` as `planKey`.\n- Multiple plans: show the available plans, ask the user to select one and then use that plan's `key` as `planKey`.\n\nInfer `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.\n\n## Step 2: Call create_new_file\n\nCall the `create_new_file` tool with all three required arguments:\n\n- `fileName`: Required. Choose a concise name if the user does not provide one.\n- `planKey`: Required. Use the `planKey` resolved in Step 1.\n- `editorType`: Required. Use the `editorType` selected in Step 1.\n- `projectId`: Optional. Set it to create the file in a specific project.\n\n```json\n{\n  \"fileName\": \"Quarterly planning\",\n  \"planKey\": \"team::1234567890\",\n  \"editorType\": \"design\"\n}\n```\n\n- Use the `file_key` from the `create_new_file` tool response for subsequent tool calls like `use_figma`.\n\n## Step 3: (Slides only) Handle the empty grid\n\nA 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.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}