figma-create-new-file

द्वारा Figma

एक नई खाली फिग्मा फ़ाइल बनाएँ। इसका उपयोग तब करें जब उपयोगकर्ता कोई नया फिग्मा डिज़ाइन या फिगजैम फ़ाइल बनाना चाहता है, या जब use_figma को कॉल करने से पहले आपको एक नई फ़ाइल की आवश्यकता हो। यदि आवश्यक हो तो whoami के माध्यम से योजना समाधान संभालता है। उपयोग — /figma-create-new-file [editorType] [fileName] (जैसे /figma-create-new-file figjam My Whiteboard)

npx skills add https://github.com/figma/mcp-server-guide --skill figma-create-new-file

create_new_file — Create a New Figma File

MANDATORY: load this skill before every create_new_file tool call. It encodes the plan-resolution decision tree, the editor-type contract, and the post-creation handoff to use_figma.

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), figjam, or slides
  • 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"
  • /figma-create-new-file slides Q3 Review — creates a Slides presentation named "Q3 Review"

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:

  1. User already provided a planKey (e.g. from a previous whoami call or in their prompt) → use it directly, skip to Step 2.

  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:

ParameterRequiredDescription
planKeyYesThe plan key from Step 1
fileNameYesName for the new file
editorTypeYes"design", "figjam", or "slides"

Example:

{
  "planKey": "team:123456",
  "fileName": "My New Design",
  "editorType": "design"
}

Step 3: Use the result

The tool returns:

  • file_key — the key of the newly created file
  • file_url — a direct URL to open the file in Figma

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.
  • Supported editor types are "design", "figjam", and "slides".
  • If use_figma is your next step, load the figma-use skill before calling it.

Editor-specific notes

Slides — newly created files have an empty grid

A slides file produced by this tool starts with zero rows and zero slidesfigma.getSlideGrid() returns [], not a default first slide. The page's only child is the SLIDE_GRID node itself, which is empty until you create content. The first call to figma.createSlide() implicitly creates row 0 and inserts the new slide there.

If your follow-up use_figma script assumes at least one slide exists (e.g. to read theme tokens off it), guard for the empty case or call createSlide() first. See figma-use-slides → slide-grid for full details.

Figma की और Skills

figma-implement-design
Figma
Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.
official
figma-use
Figma
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.
official
figma-code-connect-components
Figma
We need to translate the given English text to Hindi. The text describes a skill for connecting Figma design components to code components using Code Connect mapping tools. It lists trigger phrases and mentions canvas writes via use_figma. We must preserve product names like Figma, Code Connect, use_figma, and technical terms. No extra commentary or labels. Output only the translation. Translation: "Figma डिज़ाइन घटकों को Code Connect मैपिंग टूल का उपयोग करके कोड घटकों से जोड़ता है। जब उपयोगकर्ता "code connect", "इस घटक को कोड से कनेक्ट करें", "इस घटक को मैप करें", "घटक को कोड से लिंक करें", "कोड कनेक्ट मैपिंग बनाएं" कहता है, या Figma डिज़ाइन और कोड कार्य
official
figma-create-design-system-rules
Figma
उपयोगकर्ता के कोडबेस के लिए कस्टम डिज़ाइन सिस्टम नियम उत्पन्न करता है। इसका उपयोग तब करें जब उपयोगकर्ता "डिज़ाइन सिस्टम नियम बनाएं", "मेरे प्रोजेक्ट के लिए नियम उत्पन्न करें", "डिज़ाइन नियम सेट करें", "डिज़ाइन सिस्टम दिशानिर्देश अनुकूलित करें" कहे, या Figma-से-कोड वर्कफ़्लो के लिए प्रोजेक्ट-विशिष्ट परंपराएँ स्थापित करना चाहे। Figma MCP सर्वर कनेक्शन आवश्यक है।
official
figma-generate-design
Figma
इस कौशल का उपयोग figma-use के साथ तब करें जब कार्य में किसी एप्लिकेशन पेज, व्यू या मल्टी-सेक्शन लेआउट को Figma में अनुवाद करना शामिल हो। ट्रिगर: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code'। यह पसंदीदा वर्कफ़्लो कौशल है जब उपयोगकर्ता कोड या विवरण से Figma में पूरा पेज, स्क्रीन या व्यू बनाना या अपडेट करना चाहता है। search_design_system के माध
official
figma-generate-library
Figma
कोडबेस से Figma में एक पेशेवर-ग्रेड डिज़ाइन सिस्टम बनाएँ या अपडेट करें। इसका उपयोग तब करें जब उपयोगकर्ता वेरिएबल/टोकन बनाना, कम्पोनेंट लाइब्रेरी बनाना, थीमिंग (लाइट/डार्क मोड) सेट करना,
official