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 a new file in Figma

Steps to create a new Figma Design, FigJam, or Slides file using the create_new_file 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 create_new_file

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"
}
  • Use the file_key from the create_new_file tool response for subsequent tool calls like use_figma.

Step 3: (Slides only) Handle the empty grid

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.

Figma की और Skills

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 के माध
figma-generate-library
Figma
कोडबेस से Figma में एक पेशेवर-ग्रेड डिज़ाइन सिस्टम बनाएँ या अपडेट करें। इसका उपयोग तब करें जब उपयोगकर्ता वेरिएबल/टोकन बनाना, कम्पोनेंट लाइब्रेरी बनाना, थीमिंग (लाइट/डार्क मोड) सेट करना,
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`.
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.
figma-create-design-system-rules
Figma
उपयोगकर्ता के कोडबेस के लिए कस्टम डिज़ाइन सिस्टम नियम उत्पन्न करता है। इसका उपयोग तब करें जब उपयोगकर्ता "डिज़ाइन सिस्टम नियम बनाएं", "मेरे प्रोजेक्ट के लिए नियम उत्पन्न करें", "डिज़ाइन नियम सेट करें", "डिज़ाइन सिस्टम दिशानिर्देश अनुकूलित करें" कहे, या Figma-से-कोड वर्कफ़्लो के लिए प्रोजेक्ट-विशिष्ट परंपराएँ स्थापित करना चाहे। Figma MCP सर्वर कनेक्शन आवश्यक है।
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 डिज़ाइन और कोड कार्य