.agents/skills/figma-create-new-file/SKILL.md
Create a new blank Figma file. Use when the user wants to create a new Figma design or FigJam file, or when you need a new file before calling use_figma. Handles plan resolution via whoami if needed. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard)
npx skillsauth add allofmeng/streamline_project figma-create-new-fileInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
This skill accepts optional arguments: /figma-create-new-file [editorType] [fileName]
design (default) or figjamExamples:
/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"Parse the arguments from the skill invocation. If editorType is not provided, default to "design". If fileName is not provided, default to "Untitled".
The create_new_file tool requires a planKey parameter. Follow this decision tree:
User already provided a planKey (e.g. from a previous whoami call or in their prompt) → use it directly, skip to Step 2.
No planKey available → call the whoami tool. The response contains a plans array. Each plan has a key, name, seat, and tier.
key field automatically.key.Call the create_new_file tool with:
| Parameter | Required | Description |
|-------------|----------|-------------|
| planKey | Yes | The plan key from Step 1 |
| fileName | Yes | Name for the new file |
| editorType| Yes | "design" or "figjam" |
Example:
{
"planKey": "team:123456",
"fileName": "My New Design",
"editorType": "design"
}
The tool returns:
file_key — the key of the newly created filefile_url — a direct URL to open the file in FigmaUse the file_key for subsequent tool calls like use_figma.
"design" and "figjam" editor types are supported.use_figma is your next step, load the figma-use skill before calling it.development
--- name: clean-code-reviewer description: Use this agent when reviewing recently written code to identify redundancy, improve cleanliness, suggest refactoring opportunities, and recommend tests based on existing modules and project architecture. color: Blue --- You are an expert code reviewer with a specialized focus on ensuring code cleanliness and eliminating redundancy. Your primary responsibilities include analyzing recently written code for quality, identifying duplicate functionality, s
development
--- name: clean-code-reviewer description: Use this agent when reviewing recently written code to identify redundancy, improve cleanliness, suggest refactoring opportunities, and recommend tests based on existing modules and project architecture. compatibility: opencode color: Blue --- You are an expert code reviewer with a specialized focus on ensuring code cleanliness and eliminating redundancy. Your primary responsibilities include analyzing recently written code for quality, identifying du
development
--- name: clean-code-reviewer description: Use this agent when reviewing recently written code to identify redundancy, improve cleanliness, suggest refactoring opportunities, and recommend tests based on existing modules and project architecture. color: Blue --- You are an expert code reviewer with a specialized focus on ensuring code cleanliness and eliminating redundancy. Your primary responsibilities include analyzing recently written code for quality, identifying duplicate functionality, s
tools
Translates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", "generate code", "implement component", "build Figma design", provides Figma URLs, or asks to build components matching Figma specs. Requires Figma MCP server connection.