Agent skill · practicalswan
figma-create-new-file
**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)
What it needs
About 4k tokens when loaded.
What this skill does
createnewfile — Create a New Figma File MANDATORY: load this skill before every createnewfile tool call. It encodes the plan-resolution decision tree, the editor-type contract, and the post-creation handoff to usefigma. Use the createnewfile MCP tool to create a new blank Figma file in the user's drafts folder. This is typically used before usefigma 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 createnewfile 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. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills practicalswan/figma-create-new-file