generate-figma-library

generate-figma-library is a skill for Claude Code from atezer/FMCP. It costs 128 tokens per session (7,547 once invoked), scanned A, original, MIT.

A workflow for building a reusable Figma design-system library from a codebase. A design system is a shared collection of visual rules and interface components, such as colors, spacing, buttons, and themes.

In plain words
What is it for?
Use it to create or update Figma variables, styles, components, component variants, page structure, and theme support from existing code.
Why use it?
It organizes scattered design values and components into one Figma library, reducing the need to recreate them separately. The work is split into phases with required approval points.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the figma-mcp-bridge plugin — 29 skills, 10 commands, 3 agents, 1 MCP server shipped together

Good fit Use it to create or update Figma variables, styles, components, component variants, page structure, and theme support from existing code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atezer/fmcp/generate-figma-library
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add atezer/FMCP --skill generate-figma-library
Clone the repo
git clone --depth 1 https://github.com/atezer/FMCP

Made for: Claude Code.

Or install figma-mcp-bridge, the plugin that ships this one along with the rest of its 29 skills, 10 commands, 3 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-figma-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/atezer/fmcp/generate-figma-library/github.svg)](https://agentmods.dev/skills/atezer/fmcp/generate-figma-library)
Your own site
<a href="https://agentmods.dev/skills/atezer/fmcp/generate-figma-library"><img src="https://agentmods.dev/badge/skills/atezer/fmcp/generate-figma-library/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-figma-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/atezer/fmcp/generate-figma-library"><img src="https://agentmods.dev/badge/skills/atezer/fmcp/generate-figma-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,547 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.07547
Opus 5.5 $0.00051 $0.03019
Sonnet 5.5 $0.00026 $0.01509
Haiku 4.5 $0.00013 $0.00755

Measured 2mo ago against content hash 708c1f72b276, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-figma-library scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/generate-figma-library/SKILL.md · 637 lines

How it starts

The opening of the file, as written. The whole thing — 637 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate Figma Library — Koddan DS Kütüphanesi İnşa

Design Token Kuralı: Bu skill'deki kod örneklerinde geçen font adları, renk kodları, piksel boyutları yalnızca FORMAT gösterimidir. Çalışma anında tüm design token değerleri (font, renk, boyut, spacing, radius, gölge) kayıtlı kütüphaneden (figma_get_variables, figma_get_styles) veya kullanıcıdan okunmalıdır. Hardcoded token değeri kullanma. Detay: project-context.md → "Design Token Kuralı".

Overview

Bu skill, bir kod tabanından Figma'da profesyonel bir design system kütüphanesi oluşturur. Variable'lar (token), stiller, bileşenler (variant, auto-layout, property) ve sayfa yapısı dahil. Topluluk figma-generate-library skill'inden uyarlanmış, F-MCP Bridge araçlarına göre yeniden yazılmıştır.

Bu ASLA tek seferde yapılacak bir iş değildir. DS inşa etmek 20–100+ figma_execute çağrısı, birden fazla faz ve zorunlu kullanıcı onay noktaları gerektirir.

Zorunlu: Her figma_execute çağrısından önce figma-canvas-ops kılavuzundaki kuralları uygula.

Skill Boundaries

Prerequisites

  • F-MCP Bridge plugin bağlı olmalı
  • Kod tabanında token/bileşen bilgisi mevcut olmalı (CSS variables, Tailwind config, Swift Color extension, vb.)

F-MCP skill koordinasyonu

  • Sonra: design-token-pipeline (token export), code-design-mapper (bileşen eşleme), design-system-rules (kural üretimi)
  • Doğrulama: audit-figma-design-system ile oluşturulan kütüphanenin tutarlılığını kontrol et
  • a11y: figma-a11y-audit ile kontrast ve erişilebilirlik kontrolü

Read the full file on GitHub · 637 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 637 lines · 128 tokens per session scan A 708c1f72b276

Subscribe to this mod's changes

generate-figma-library is a skill published in the GitHub repository atezer/FMCP (10 stars, last pushed 22d ago), licensed MIT. It adds 128 tokens to every session and 7,547 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

generate-figma-library compared with skills from other repositories

generate-figma-library next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-figma-libraryatezer/FMCPSkill1022d agoMITA128Claude Code
token-auditmurphytrueman/design-system-opsSkill2151mo agoMITA72Claude Code
accessibility-per-componentmurphytrueman/design-system-opsSkill2151mo agoMITA68Claude Code
component-decision-treemurphytrueman/design-system-opsSkill2151mo agoMITA65Claude Code
figma-variable-auditmurphytrueman/design-system-opsSkill2151mo agoMITA63Claude Code
metadata-schema-generatormurphytrueman/design-system-opsSkill2151mo agoMITA62Claude Code
theme-auditmurphytrueman/design-system-opsSkill2151mo agoMITA57Claude Code