← ClaudeAtlas

figma-create-new-filelisted

**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)
Moliboy5000/.claude · ★ 0 · Data & Documents · score 65
Install: claude install-skill Moliboy5000/.claude
# 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 c