uSpec: component specs from Figma, written by your agent
redongreen/uSpec
Your AI assistant writes the documentation for a design system component. A free Figma plugin captures the component. The assistant turns it into one spec file: properties, sizes, colour tokens and screen reader behaviour. Other skills then draw parts of that spec back into Figma as notes next to the component.
Pack description by its author: “Your AI assistant writes the documentation for a design system component. A free Figma plugin captures the component. The assistant turns it into one spec file: properties, sizes, colour tokens and screen reader behaviour. Other skills then draw parts of that spec back into Figma as notes next to the component.”
Design and frontendCommands you run when neededGives your assistant new abilities with scripts
1. Changes your files
Skills that write or edit files: firstrun, create-component-md.
github.com/redongreen/uSpec/blob/1e25e9b/2. Runs code on your machine
Install: npx downloads the uspec-skills package (Node.js 18+) from npm; it copies skills and references into your project and writes uspecs.config.json. No network calls in its own code. create-component-md: The assistant runs the CLI's component-md prepare, validate, contract and render steps; they write .uspec-cache/<name>/ and components/<name>.json and .md in your project.
github.com/redongreen/uSpec/blob/1e25e9b/3. Sends data
Install only from github.com/redongreen/uSpec or the npm package uspec-skills, and the uSpec Extract plugin from the Figma Community. The render skills write into your Figma file without asking first: run them on a copy or a branch if the file matters.
github.com/redongreen/uSpec/blob/1e25e9b/Checked against the pack's files at commit 1e25e9b, on Nov 21, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- You keep a design system in Figma and need specs for each component
- You want one Markdown spec per component that developers and AI tools can read
- You document screen reader behaviour for VoiceOver, TalkBack and ARIA
- You use Cursor, Claude Code or Codex
Probably not for you if
- Your components are not in Figma
- You want to run it on a small model: the author asks for a high-capacity model and a fresh chat for every run
What you'll notice
- A setup step in your project: a skills folder, a references folder and a uspecs.config.json file
- Two files per component in ./components/: a .json contract and a .md spec
- New annotation frames in your Figma file: anatomy, properties, property tables, colour, sizes, screen reader, motion
- Long runs: the author reports 50k to 200k tokens for one component spec
What you need
- Cursor, Claude Code, Codex
- Free, MIT license
- One command in your project, then the free uSpec Extract plugin in Figma and a Figma connection for the drawing skills
- An API key or account (see below)
- Writing the spec needs only the Figma plugin. Drawing into Figma needs a Figma MCP connection (Figma's own, or Figma Console MCP), which needs your Figma access.
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- Skill pack
- Several skills in one GitHub repository, installed together.
- MCP
- A standard way to connect an AI assistant to outside tools and data.
- CLI
- A program you run by typing commands in a terminal.
- Subagent
- A helper the assistant starts for one part of a task.
- Plugin
- A package your assistant installs that can bring skills, commands and hooks together.
| Repository | redongreen/uSpec · website |
|---|---|
| GitHub stars | 252 |
| Skills | 13 |
| Category | Design and frontend |
| License | MIT |
| Last updated | Sep 4, 2026 · card checked Nov 21, 2026 at commit 1e25e9b |
| Install counts | redongreen/uSpec on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
redongreen/uSpec popularity over time
What uSpec does
- Stage 1: the uSpec Extract plugin in Figma saves the selected component as a _base.json file
- create-component-md reads that file, runs four read-only passes (API, structure, colour, screen reader) and writes components/<name>.json and components/<name>.md
- Stage 2: each create-* skill reads its section from the .md and draws it into Figma through your Figma MCP
- create-motion is the exception: it draws a motion spec from an After Effects timeline export
- firstrun links your Figma template library once and saves the template keys in uspecs.config.json
From the pack's SKILL.md files, summarised by AgentGid.
The 9 skills, explained
firstrun
One-time setup that links your Figma template library
You give
- A working Figma MCP connection
- The link to your copy of the uSpec Template library in Figma
You get
- Template keys and the template font saved in uspecs.config.json
- A Setup complete message
create-component-md
Writes the full spec of one component as a .json and a .md file
You give
- The _base.json file saved by the uSpec Extract plugin
- Optional notes, such as states to include or skip
You get
- components/<name>.json, the machine contract
- components/<name>.md with Overview, API, Structure, Color and Voice / Screen reader sections
- Known gaps and follow-ups listed in the .md
create-anatomy
Draws numbered markers on the component with a table of its parts in Figma
You give
- The component .md
- Where in Figma to place it (a link to the component)
You get
- An anatomy frame in Figma with numbered markers and an attribute table
create-property
Draws each variant and toggle of the component with previews in Figma
You give
- The component .md
You get
- One exhibit per variant axis and toggle, with a summary table
create-api
Draws property tables with values, defaults and examples in Figma
You give
- The component .md
You get
- Property tables with values, defaults, required status, sub-component tables and configuration examples
create-color
Draws which colour token each part uses, per variant or state, in Figma
You give
- The component .md
You get
- Tables mapping each visual element to its design token
create-structure
Draws sizes, spacing and padding across sizes and densities in Figma
You give
- The component .md
You get
- Tables of all dimensional properties, with columns per size or density
create-voice
Draws what screen readers say and the focus order, per state, in Figma
You give
- The component .md
- A link to the component in Figma
- Behaviour the spec cannot know, such as focus order
You get
- Focus order, platform tables for VoiceOver, TalkBack and ARIA, and announcement patterns per state
create-motion
Draws animation timeline bars and easing details in Figma from an After Effects export
You give
- Timeline JSON exported with the pack's After Effects script (pasted or as a file)
- Optional: a Figma link for where to place it, a recording, the animation's purpose
You get
- A motion spec frame with timeline bars and detail tables of every animated property
See it in action
The skill defines what its answer looks like. Its own example:
# <Component name> ## Overview (variant axes, composition) ## Known gaps ## Follow-ups ## API ## Structure (anatomy tree, then sizes and spacing) ## Color ## Voice / Screen reader ## Cross-references ## Provenance (a machine-readable render-meta block at the end)
When to reach for it
| You want | Use |
|---|---|
| Set up the Figma side once | firstrun |
| A written spec of one component for developers or AI tools | create-component-md with the plugin's _base.json |
| Numbered parts of a component in Figma | create-anatomy |
| Variants and toggles shown side by side in Figma | create-property |
| Screen reader behaviour per platform | create-voice |
| Colour tokens per element and state | create-color |
| Sizes, spacing and padding | create-structure |
| Animation timing from After Effects | create-motion |
Skills in redongreen/uSpec
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
create-anatomy/create-anatomy ./components/<name>.md |
Draws numbered markers on the component with a table of its parts in Figma | No | 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.npx skills add redongreen/uSpec --skill create-anatomy |
create-api/create-api ./components/<name>.md |
Draws property tables with values, defaults and examples in Figma | No | Generate API overview specifications documenting component properties, values, defaults, and configuration examples. Use when the user mentions "api", "api spec", "props", "properties", "component api", or wants to document a component's configurable properties.npx skills add redongreen/uSpec --skill create-api |
create-color/create-color ./components/<name>.md |
Draws which colour token each part uses, per variant or state, in Figma | No | 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.npx skills add redongreen/uSpec --skill create-color |
create-component-md/create-component-md baseJsonPath=<path to _base.json> |
Writes the full spec of one component as a .json and a .md file | Yes | Generate a canonical JSON contract and a self-contained implementation Markdown specification for a Figma component covering API, structure, color, and screen-reader behavior. Reads a `_base.json` produced by the uSpec Extract plugin, runs four read-only interpretation skills in parallel,…npx skills add redongreen/uSpec --skill create-component-md |
create-motion/create-motion + the timeline JSON exported from After Effects |
Draws animation timeline bars and easing details in Figma from an After Effects export | No | Generate motion specification annotations from After Effects timeline data. Use when the user mentions "motion", "motion spec", "animation spec", "timeline", or wants to document a component's animation properties.npx skills add redongreen/uSpec --skill create-motion |
create-property/create-property ./components/<name>.md |
Draws each variant and toggle of the component with previews in Figma | No | 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.npx skills add redongreen/uSpec --skill create-property |
create-structure/create-structure ./components/<name>.md |
Draws sizes, spacing and padding across sizes and densities in Figma | No | 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…npx skills add redongreen/uSpec --skill create-structure |
create-voice/create-voice ./components/<name>.md |
Draws what screen readers say and the focus order, per state, in Figma | No | 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.npx skills add redongreen/uSpec --skill create-voice |
| extract-api | Helper pass: reads the component's properties from the capture file | No | Interpret a component's API (properties, sub-components, configuration examples) from the `_base.json` produced by the uSpec Extract Figma plugin, and write the normalized JSON to disk. Read-only interpretation — no Figma calls except an optional tiny delta script. Use as a sub-skill of…npx skills add redongreen/uSpec --skill extract-api |
| extract-color | Helper pass: reads colour tokens from the capture file | No | Interpret a component's color-token mapping (per-element fills/strokes/effects, axis classification, boolean delta, variable mode detection, strategy plan) from the `_base.json` produced by the uSpec Extract Figma plugin, and write the normalized JSON to disk. Read-only interpretation — no Figma…npx skills add redongreen/uSpec --skill extract-color |
| extract-structure | Helper pass: reads sizes and spacing from the capture file | No | Interpret a component's structure spec (variant axes, dimensions, sub-components, slot contents, cross-variant diffs) from the `_base.json` produced by the uSpec Extract Figma plugin, and write the normalized JSON to disk. Read-only interpretation — no Figma calls except an optional tiny delta…npx skills add redongreen/uSpec --skill extract-structure |
| extract-voice | Helper pass: works out screen reader behaviour from the capture file | No | Interpret a component's screen-reader accessibility spec (focus order, merge analysis, per-state platform tables for VoiceOver/TalkBack/ARIA, slot insertion plans) from the `_base.json` produced by the uSpec Extract Figma plugin, and write the normalized JSON to disk. Read-only interpretation — no…npx skills add redongreen/uSpec --skill extract-voice |
firstrun/firstrun (Claude Code), @firstrun (Cursor), $firstrun (Codex) |
One-time setup that links your Figma template library | Yes | Configure uSpec's Figma template library. Verifies your MCP connection, then extracts template component keys from your Figma library and writes them to uspecs.config.json. Run after `npx uspec-skills init` has set up the platform and config file. Use when the user mentions "firstrun", "first…npx skills add redongreen/uSpec --skill firstrun |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- The render skills do not stop to ask: they write into your Figma file without asking for confirmation and pick an option on their own when unsure.
- Do not click or edit the Figma frame while a skill is drawing, and run one assistant per Figma file at a time.
- The author recommends a high-capacity model; create-component-md runs parallel helper agents and needs an even larger one.
- The Figma MCP is not installed for you: set it up in your assistant first.
- firstrun asks whether you work at Uber; answer No and paste the link to your own copy of the template library.
- The Figma plugin makes no network calls and needs no account.
Before you start
Works in
- Cursor: skills folder (.cursor/skills/) via npx installer
- Claude Code: skills folder (.claude/skills/) via npx installer
- Codex: skills folder (.agents/skills/) via npx installer
You will need
- Node.js 18+: The npx installer and the component-md CLI steps
- uSpec Extract Figma plugin: Produces the _base.json that create-component-md reads
- Figma MCP (native Figma MCP or Figma Console MCP): firstrun and every render skill draw into Figma through it
- Adobe After Effects: Only for create-motion input
- A high-capacity model: The author warns smaller models truncate the long skills
Steps only you can do
- Install the uSpec Extract plugin from the Figma Community and run it on a component to save _base.json (https://www.figma.com/community/plugin/1635184425006534227/uspec-extract)
Then: The assistant runs create-component-md on that file - Install and configure a Figma MCP (Figma's own or Figma Console MCP) with your Figma access (docs/getting-started.mdx (Set up Figma MCP))
Then: The assistant can run firstrun and the render skills - Duplicate the uSpec Template file to your Figma and publish it as a library (or keep it open) (https://www.figma.com/community/file/1603925462078533207/uspec-template)
Then: firstrun reads the template keys from it - For create-motion: run export-timeline.jsx in After Effects with scripting file access turned on (references/motion/export-timeline.jsx)
Then: The assistant renders the motion spec from the pasted JSON
Mistakes to avoid
Point a create-* render skill straight at a Figma link
Run the uSpec Extract plugin, run create-component-md, then pass the .md to the render skill
Every render skill except create-motion takes the component .md as its required inputExpect npx uspec-skills init to set up the Figma connection
Install and configure a Figma MCP in the assistant yourself, then run firstrun
The installer only records which MCP you useRun several skills in one long chat, or two assistants on one Figma file
Start a fresh session for each skill and render one file at a time
The author says long chats degrade output and parallel renders corrupt specsAnswer Yes to the Uber employee question without being at Uber
Answer No and paste your own template library link
Yes writes the built-in Uber template keys and the Uber Move font into your config
Which one to pick
| If you need | Pick |
|---|---|
| You need written specs and Figma annotation frames for existing design system components | This pack |
| You want to generate Figma components and variables from JSON contracts, not document existing ones | nvillapiano/component-contracts-figma |
| You only need guidance on using the Figma MCP server | figma/mcp-server-guide |
Works well with
- cursor: The installer supports Cursor (.cursor/skills/)
- claude-code: The installer supports Claude Code (.claude/skills/)
- openai-codex: The installer supports Codex (.agents/skills/)
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | Yes | MIT: keep the license notice |
| Work for clients | Yes | MIT |
| Passing the files on | Yes | MIT: keep the copyright and permission notice in copies |
What leaves your machine
- Your component data and the Figma plugin code the assistant sends to draw annotation frames → Your Figma file, through the Figma MCP you configured, firstrun and every create-* render skill. Opt out: Use only create-component-md, which works from the local _base.json file
- A package download (no data of yours) → The npm registry, npx uspec-skills init / install, and when create-component-md falls back to npx uspec-skills. Opt out: No opt-out
Install uSpec
Official commands from the repository
npx uspec-skills init
Run in your project and pick your assistant. Skills go to .cursor/skills/, .claude/skills/ or .agents/skills/, reference docs to ./references/, settings to uspecs.config.json. Then install the uSpec Extract plugin from the Figma Community, set up a Figma MCP, duplicate the uSpec Template file and run firstrun.
Remove: Delete the skill folders from the skills directory, ./references/ and uspecs.config.json (no uninstall command is documented)
npx uspec-skills install --platform claude-code npx uspec-skills install --platform codex
Installs into that host's folder without touching the others.
npx uspec-skills doctor
Or with the open-source skills CLI: npx skills add redongreen/uSpec. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit 1e25e9b, Nov 21, 2026
| When | What happens |
|---|---|
| Install | npx downloads the uspec-skills package (Node.js 18+) from npm; it copies skills and references into your project and writes uspecs.config.json. No network calls in its own code. |
| create-component-md | The assistant runs the CLI's component-md prepare, validate, contract and render steps; they write .uspec-cache/<name>/ and components/<name>.json and .md in your project. |
| create-* render skills and firstrun | The assistant sends Figma plugin JavaScript through your Figma MCP to read the template library and draw annotation frames in your Figma file. |
| uSpec Extract plugin (in Figma) | Runs in Figma's plugin sandbox with network access set to none; you save its _base.json file. |
| create-motion input (optional) | You run export-timeline.jsx in After Effects; it copies the timeline JSON to the clipboard via a temp file and pbcopy or clip. |
The author's numbers, as reported
AgentGid did not run these tests
Settings
uspecs.config.json mcpProvider: figma-mcp (Figma's own MCP) or figma-console (Figma Console MCP)uspecs.config.json environment: cursor | claude-code | codexuspecs.config.json templateKeys / fontFamily: written by firstrun
Quick answers
- Is it free?
- Yes. The skills and CLI are MIT-licensed and the Figma plugin is free on the Figma Community.
- Do I need a Figma MCP to write the .md spec?
- No. The .md needs only the plugin's _base.json; the MCP and firstrun are for drawing into Figma.
- Does the Figma plugin send my designs anywhere?
- No. The author says it runs in Figma's sandbox with no network calls; its manifest allows no domains.
- Can a render skill read a Figma link directly?
- No. Every render skill except create-motion needs the component .md first.
- Which model should I use?
- The author recommends GPT 5.4 High or Opus 4.6 High for render skills, and Opus 4.7 High or better for create-component-md.
Checked by AgentGid on Nov 21, 2026 against commit 1e25e9b of the pack's own files. Related: southleft/figma-console-mcp, figma/figma-mcp. agent.md for AI agents · Report a mistake
More design and frontend skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Gets a local design library: UI styles, colour palettes, font pairings and UX rules for many product types. Before it builds a page, it looks up a matching style, colours and fonts and follows a checklist. Extra skills make logos, banners, slides and brand files; logos, mockups and icons need your own key for an outside image service. |
153K | +13.9K | 7 | ||
| 2 |
Stops building the average landing page. It picks one of 20 researched design directions, finds real, credited pictures in open archives, then checks the page in a real browser and fixes what looks wrong. Dashboards and app screens get their own set of rules. |
120K | +18.7K | 1 | ||
| 3 |
Turns a description, a Mermaid sketch or your project's code into an interactive diagram saved as one HTML file. It can also answer a question as a one-page explainer, with the conclusion first. The pack's own tools check every file before handing it to you. |
98.7K | +12.7K | 5 | ||
| 4 |
Draws clean, editorial diagrams in your brand colours and fonts. You describe the diagram in plain words and get one HTML file you open with a double click. It can also redraw old draw.io, Mermaid or Excalidraw diagrams and export them as SVG or PNG. |
70K | +11.4K | 1 | ||
| 5 |
Builds web pages that look designed, not machine-made. It asks once for your real material and picks one of fifty visual themes. Then it builds the page and checks it against common AI design habits. Name it and it will also redesign or review a page you already have. |
59.2K | +25.2K | 1 | ||
| 6 |
alchaincyf/huashu-design
Checked
One large design playbook for your AI assistant, written in Chinese. It makes clickable app prototypes, web pages, slide decks, infographics and short animated videos as HTML, then exports them to PDF, PowerPoint, MP4 or GIF. Before any new design it shows you three real drafts to choose from and stops until you pick one. |
30.3K | +4,613 | 1 |
No pack matches.