generating-figma-design

generating-figma-design is a skill for Claude Code from noemuch/bridge. It costs 82 tokens per session (4,707 once invoked), scanned A, original, MIT.

A workflow for creating a new Figma component or screen from a structured design description. It compiles that description, runs it in Figma, takes a screenshot, and verifies the result.

In plain words
What is it for?
Use it to make new Figma components or screens after the design-system knowledge base and an Figma connection are available. It is for new designs, not changes to an existing design or shipping work.
Why use it?
It provides a repeatable path from a design request to a checked Figma result. It also ensures that design values come from the existing knowledge base instead of being entered as arbitrary primitives.

Skill for Claude Code

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

Part of the bridge plugin — 5 skills, 1 hook, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/noemuch/bridge/generating-figma-design
Any agent
npx skills add noemuch/bridge --skill generating-figma-design
Clone the repo
git clone --depth 1 https://github.com/noemuch/bridge

Made for: Claude Code.

Or install bridge, the plugin that ships this one along with the rest of its 5 skills, 1 hook, 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 generating-figma-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/noemuch/bridge/generating-figma-design.svg)](https://agentmods.dev/skills/noemuch/bridge/generating-figma-design)
Your own site
<a href="https://agentmods.dev/skills/noemuch/bridge/generating-figma-design"><img src="https://agentmods.dev/badge/skills/noemuch/bridge/generating-figma-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00082 $0.04707
Opus 5 $0.00041 $0.02354
Sonnet 5 $0.00016 $0.00941
Haiku 4.5 $0.00008 $0.00471

Measured 6d ago against content hash 6531cd663308, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

generating-figma-design 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 6d 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/generating-figma-design/SKILL.md · 542 lines

How it starts

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

{{ACTIVE_RULES}}

Generating Figma Design

Overview

Unified make flow: CSpec → scene graph → compiler → Figma execute → screenshot → verify. Replaces the legacy spec → design → review cycle with a single compiler-driven action. All tokens resolve against the knowledge base; all Figma API rules are enforced by the compiler.

When to Use

Invoke when the user:

  • says make, design, create, build, generate, or asks for a "new component" / "new screen"
  • has already run setup (knowledge base exists)
  • has an MCP transport available (console or official)

Do NOT use if:

  • the user is adjusting an existing design that is already in Figma — use learning-from-corrections instead
  • the user is archiving or shipping — use shipping-and-archiving
  • the knowledge base is missing — run extracting-design-system first

Procedure

Before starting, load:

  • references/compiler-reference.md (repo-root) — scene graph JSON format and rules
  • references/transport-adapter.md (repo-root) — transport detection and tool mapping

Prerequisites

  • Knowledge base exists (registries populated) — if not: "Run setup first"
  • MCP transport available (see references/transport-adapter.md (repo-root) Section A)

Phase A — Context (target: 30s)

A1. Detect transport

Read references/transport-adapter.md (repo-root) Section A. Determine console vs official transport.

Console: figma_get_status() -> setup.valid: true
Official: whoami() + test use_figma call

Report:

Transport: {console | official}

A2. Load registry index

Load the summary of available DS components — names and types only, not full registry data:

  • registries/components.json — extract component names, variant property names, and keys
  • registries/variables.json — extract variable name paths (for token reference validation)
  • registries/text-styles.json — extract style names (for $text/ reference validation)
  • registries/icons.json — extract icon names (if file exists)
  • registries/logos.json — extract logo names (if file exists)

Read the full file on GitHub · 542 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 542 lines · 82 tokens per session scan A 6531cd663308

Subscribe to this mod's changes

generating-figma-design is a skill published in the GitHub repository noemuch/bridge (155 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 4,707 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

work-with-design-systems

Inspect, build, or extend Figma design systems — and optionally sync them to code. Two modes in one skill: inspect mode (read-only audits with WCAG checks, component scoring, detached instance detection, handoff docs) and build mode (creating components with variable bindings, slot-based composition, structured…

natdexterra/work-with-design-systems · 260 tokens

create-anatomy

Generate a visual anatomy annotation in Figma showing numbered markers on a component instance with an attribute table. Use when the user mentions "anatomy", "anatomy annotation", "component anatomy", "create anatomy", or wants to annotate a component's structural elements.

redongreen/uSpec · 59 tokens

create-property

Generate a visual property annotation in Figma showing each configurable property axis with component instance previews. Use when the user mentions "property", "properties", "property annotation", "create property", or wants to document a component's configurable properties visually.

redongreen/uSpec · 51 tokens

create-structure

Generate structure specifications documenting component dimensions, spacing, padding, and how values change across density, size, and shape variants. Use when the user mentions "structure", "structure spec", "dimensions", "spacing", "density", "sizing", or wants to document a component's dimensional properties.

redongreen/uSpec · 63 tokens

create-color

Generate color annotation specifications mapping UI elements to design tokens. Use when the user mentions "color", "color annotation", "color spec", "tokens", "design tokens", or wants to document which color tokens a component uses.

redongreen/uSpec · 48 tokens

create-voice

Generate screen reader accessibility specifications for VoiceOver (iOS), TalkBack (Android), and ARIA (Web). Use when the user mentions "voice", "voiceover", "screen reader", "accessibility spec", "talkback", "aria", or wants to create accessibility documentation for a UI component.

redongreen/uSpec · 66 tokens