
Figma Generative Plugins
**MANDATORY prerequisite**, load this skill before calling `create_generative_plugin`...
Install
npx skills add figma/mcp-server-guide --skill figma-generative-plugins -g -a claude-code -y- Repository
- figma/mcp-server-guide2.1k
- Category
- Design
- Updated
- 7d ago
- License
- See repository
- Context cost
- Lightabout 1,134 tokens
- Runs scripts
- No, instructions only
What it does
**MANDATORY prerequisite**, load this skill before calling `create_generative_plugin` or `update_generative_plugin`. Use when the user asks to create, author, change, fix, or extend a reusable generative Figma plugin.
Create and update generative Figma plugins
Load this skill before every create_generative_plugin or update_generative_plugin call. In user-facing language, call the result a “plugin.” The “generative” qualifier only distinguishes this account-library tool from other plugin systems.
Preflight
Before authoring, confirm the request fits this surface:
- Plugins run in the Figma Design editor.
- Every plugin must provide functional UI for its core workflow. A plugin with no configurable inputs still needs a clear primary action and useful status or validation feedback.
- Never embed API keys, OAuth tokens, signed URLs, or other secrets. Plugin source is readable by people who can access it. For authenticated integrations, stop and offer a static dataset, a public no-auth endpoint, or a different architecture.
Create workflow
- Resolve the requested workflow and its useful controls. Ask a concise question only if required inputs or behavior are genuinely ambiguous.
- Resolve
planKey. Reuse one supplied by the user; otherwise callwhoami. Use the sole eligible plan automatically, or ask the user to choose when several materially different plans are available. - Call
create_generative_pluginonce with a concise name, description, andplanKey. This creates a runnable square-drawing scaffold, not the requested final plugin. - Call
get_generative_pluginwith the returnedid, then read every source URI. This establishes the scaffold's manifest, UI message contract, and current TypeScript entrypoint. - Replace the scaffold with complete authored files for the requested behavior and UI.
- Call
update_generative_pluginwith the returnedid, afilesarray containing complete replacements forcode.tsand, when the UI changes,ui.html, plus a specificcommitMessage. Usemetadatawhen changing the name or description.
Never stop after create_generative_plugin: the starter must be replaced with the requested experience.


