Skip to main content
skill CX Codex

figma-generative-plugins — Claude Code skill: setup and workflow

Guides AI agents through authoring and updating generative Figma Design plugins. It enforces safe workflows for code generation, UI layout, and testing links.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add figma/mcp-server-guide --skill figma-generative-plugins -a claude-code
Open on GitHub

What figma-generative-plugins does

This skill establishes strict instructions before invoking create_generative_plugin or update_generative_plugin. It requires the assistant to determine the user workflow and identify the target planKey through whoami. Once the initial scaffold is ready, the agent pulls source URIs with get_generative_plugin and replaces boilerplate files with custom TypeScript logic and HTML views.

File manipulation is strictly limited. The update step replaces code.ts and ui.html, but it cannot touch manifest.json or create additional source paths. Keeping secrets out of the codebase is essential because anyone with plugin access can inspect the raw text. If an external service requires authentication, use public endpoints or offline fixtures instead.

After saving the code, the agent outputs a direct URL for launching the plugin inside a fresh or existing canvas. Build failures trigger a single focused patch against compiler diagnostics instead of an endless rewrite loop.

What it helps with

  • build interactive Figma Design extensions from prompt descriptions
  • update existing plugin TypeScript logic and HTML interface files
  • avoid embedding sensitive credentials in visible plugin source code
  • generate launch links to test unreleased plugins in Figma files

Example prompts for the agent

  • Create a Figma plugin that generates consistent color palettes across artboards
  • Update the plugin UI to include padding and margin controls
  • Fix the TypeScript compilation error returned by update_generative_plugin

How to install figma-generative-plugins

1Skills CLI (Vercel)

npx skills add figma/mcp-server-guide --skill figma-generative-plugins -a claude-code

2Manually: put the files in place

~/.claude/skills/figma-generative-plugins/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/figma-generative-plugins/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about figma-generative-plugins

How do I install figma-generative-plugins in Claude Code?

Run the following command: npx skills add figma/mcp-server-guide --skill figma-generative-plugins -a claude-code.

What is the role of figma-generative-plugins?

It provides operational guardrails for generating and editing Figma Design plugins. The skill guides the model to handle scaffolding, file replacement for code.ts and ui.html, and build error recovery.

Can a generative plugin create extra source files?

No, the tooling only permits replacing existing code.ts and ui.html files. It cannot generate new files or modify manifest.json.

Similar skills

Everything for Design →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor