figma-component-docs

figma-component-docs is a skill for Claude Code from yummylabs-coder/yummy-design-plugins. It costs 177 tokens per session (2,677 once invoked), scanned A, original, MIT.

A workflow for documenting design-system components inside Figma. It creates a documentation frame from a shared template, writes a component description for development agents, and checks the frame for text and interaction requirements.

In plain words
What is it for?
Use it to create consistent Figma component documentation, describe how components are built and used, and check the resulting frames.
Why use it?
It separates brief canvas guidance for people, detailed build guidance for agents, and historical decisions so each reader gets the appropriate information. The checker helps expose missing interaction details or content outside the stated limits.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the figma-component-docs plugin — 1 skill shipped together

Good fit Use it to create consistent Figma component documentation, describe how components are built and used, and check the resulting frames.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yummylabs-coder/yummy-design-plugins/figma-component-docs
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 yummylabs-coder/yummy-design-plugins --skill figma-component-docs
Clone the repo
git clone --depth 1 https://github.com/yummylabs-coder/yummy-design-plugins

Made for: Claude Code.

Or install figma-component-docs, the plugin that ships this one along with the rest of its 1 skill.

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 figma-component-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/yummylabs-coder/yummy-design-plugins/figma-component-docs/github.svg)](https://agentmods.dev/skills/yummylabs-coder/yummy-design-plugins/figma-component-docs)
Your own site
<a href="https://agentmods.dev/skills/yummylabs-coder/yummy-design-plugins/figma-component-docs"><img src="https://agentmods.dev/badge/skills/yummylabs-coder/yummy-design-plugins/figma-component-docs/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 figma-component-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/yummylabs-coder/yummy-design-plugins/figma-component-docs"><img src="https://agentmods.dev/badge/skills/yummylabs-coder/yummy-design-plugins/figma-component-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,677 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.00177 $0.02677
Opus 5.5 $0.00071 $0.01071
Sonnet 5.5 $0.00035 $0.00535
Haiku 4.5 $0.00018 $0.00268

Measured 22d ago against content hash bb6a0a647469, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

figma-component-docs 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 22d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/build-template.js, scripts/verify.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/figma-component-docs/skills/figma-component-docs/SKILL.md · 198 lines

How it starts

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

Documenting a component in Figma

The format lives in references/doc-template.md. Read it first. It holds the block order, the text limits, which blocks each component type gets, and the interaction contract. This file is the procedure and the traps. It deliberately does not repeat the limits, because two copies drift.

Three readers, one home each

Most component docs fail because one artifact is trying to serve three readers. Split them and each one gets better.

  • The component description field is read by developers and their AI coding agents (Claude Code, Cursor, anything reading the file through an MCP). It decides how the component gets built and used, so it is dense and directive and can be long. When the description and the canvas disagree, the description wins, because it is the half that ships.
  • The doc frame on the canvas is read by a person skimming. Short captions, real component instances carrying the meaning, and hard limits on how much text goes where.
  • A decisions log (a markdown file in the repo, a Notion page, anything outside the canvas) holds history: what changed, when, and why. History never goes on the canvas.

Write the description and the frame. They are different artifacts and neither substitutes for the other.

Running code in Figma

Every script in scripts/ is plugin code, not a Node script. Run it through whichever Figma MCP is connected:

  • Figma Console MCP: figma_execute, with the Desktop Bridge plugin running.
  • Official Figma MCP: use_figma. Load its figma-use skill first if it has one.

Read the script, replace the placeholder constants at the top, and pass the whole file as the code. Both scripts return a result object.

First time in a file: build the template

If the file has no doc/_Template frame, build it once:

  1. Ask the user which page holds components. Navigate there.
  2. Run scripts/build-template.js. It creates a _Doc Template section holding doc/_Template, with every block, placeholder text and dashed specimen slot.
  3. Run scripts/verify.js against the new template (see "The checker"). It must fail, with a violation for every placeholder. If the template ever comes back clean, the checker is broken, so stop and fix that before documenting anything.
  4. Tell the user they can restyle the template (fonts, colors, their own text styles and variables) as long as they keep the layer names. The checker finds everything by name, so renaming a layer breaks it silently.

Read the full file on GitHub · 198 lines

Files

What ships with it

3 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. 22d ago First seen · 198 lines · 177 tokens per session scan A bb6a0a647469

Subscribe to this mod's changes

figma-component-docs is a skill published in the GitHub repository yummylabs-coder/yummy-design-plugins (24 stars, last pushed 22d ago), licensed MIT. It adds 177 tokens to every session and 2,677 once invoked, about $0.0007 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-09-29.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens