/figma-mcp-rust:generate-type-scalefrom figma-mcp-rust
Generates a typographic scale (Display, Heading, Body, Label, Caption) from a base font and ratio, then creates Figma text styles via figma-mcp-rust.
Ships in figma-mcp-rust. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Given a base font family and body size, generate a full typographic scale as Figma text styles.
Ask the user for:
Using base size B and ratio R:
| Style Name | Size formula | Weight | Line Height | Letter Spacing |
|---|---|---|---|---|
| Display/2XL | B x R^7 (px) | 700 | 1.1 | -0.02em |
| Display/XL | B x R^6 | 700 | 1.1 | -0.02em |
| Heading/H1 | B x R^5 | 700 | 1.2 | -0.01em |
| Heading/H2 | B x R^4 | 700 | 1.25 | -0.01em |
| Heading/H3 | B x R^3 | 600 | 1.3 | 0 |
| Heading/H4 | B x R^2 | 600 | 1.35 | 0 |
| Body/XL | B x R^1 | 400 | 1.6 | 0 |
| Body/Base | B | 400 | 1.6 | 0 |
| Body/SM | B / R | 400 | 1.5 | 0 |
| Label/LG | B x R^0.5 (px) | 500 | 1.4 | +0.01em |
| Label/Base | B | 500 | 1.4 | +0.01em |
| Label/SM | B / R | 500 | 1.4 | +0.02em |
| Caption/Base | B / R^1.5 (px) | 400 | 1.4 | +0.02em |
| Code/Base | B | 400 | 1.6 | 0 (mono font) |
Round all sizes to nearest integer. Minimum size: 10px.
Show the full table to the user for review before creating anything.
For each style row, call create_text_style() with:
Skip styles already present with the same name (create_text_style is idempotent).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alvinindra/figma-mcp-rust --plugin figma-mcp-rust13 skills in this plugin
/annotation-conversionConvert manual annotation markers (numbered or lettered dots with connected descriptions) into Figma's native dev-mode annotations using figma-mcp-rust. Use when a design contains hand-placed annotation markers that should become real Figma annotations./bridge-troubleshootingDiagnose figma-mcp-rust connection problems. Use when tools fail with "plugin not connected", requests time out, the port is already in use, or the Figma plugin cannot reach the MCP server. Covers installing the companion Figma plugin, port 1994, and running multiple MCP clients./bulk-renameRename auto-generated Figma layer names (Frame 123, Rectangle 45, Group 6) to a consistent convention with a preview step, using figma-mcp-rust. Use when tidying layer names across a page, frame, or selection, or enforcing a naming convention./design-strategyBest practices for creating and modifying Figma designs with the figma-mcp-rust tools. Use when building screens or UI in Figma (forms, login pages, cards, layouts), covering layout hierarchy, naming, containers, element creation order, and verification./design-token-generationExtract unique colors, font sizes, spacing, and radii from an existing Figma design and turn them into variable collections and named styles with figma-mcp-rust. Use when creating design tokens from a finished design, including the free-plan single-mode workaround for theming./generate-color-paletteGenerate a 9-step primitive color scale plus semantic aliases from brand colors and create them as Figma variables with figma-mcp-rust. Use when the user asks for a color palette, color system, neutral scale, or light/dark color tokens from a brand color.Other plugins' skills for the same job