Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.uspec.design/llms.txt

Use this file to discover all available pages before exploring further.

uSpec connects your AI agent and Figma into a single pipeline. You provide a component link or a plugin capture, and the system produces either annotations rendered back into Figma or a single self-contained .md specification.

Two rendering paths

uSpec supports two paths from the same source component. Pick the one that matches where the documentation needs to live.

Figma-native path

Output is rendered as annotation frames next to the component in your Figma file. Best for design reviews, spec handoff inside Figma, and component libraries where the spec lives beside the component.

Component Markdown path

Output is a single .md file saved to disk. Best for feeding specs to any LLM (Cursor, Claude Design, GPT), committing alongside code, or diffing across design iterations.

Figma-native path

Every Figma-native skill extracts component data through the MCP and renders documentation directly in Figma. The internal steps differ depending on what each skill needs to analyze. The diagrams below show what happens inside each skill.

Component Markdown path

The plugin runs deterministic extraction inside Figma’s sandbox (no network calls), producing a _base.json that captures every variant, token binding, and sub-component. The create-component-md skill then runs four parallel interpretation agents (API, structure, color, voice), reconciles their outputs, and renders a single Markdown file. See the Component Markdown page for the full pipeline diagram.

Triggering a skill

Skills are triggered by typing @ followed by the skill name in Cursor’s chat.
1

Type @

In Cursor’s chat, type @. Cursor shows an autocomplete menu of available skills.
2

Select a skill

Continue typing to filter (e.g., @create-v) or use arrow keys to select. The skill name must match exactly: @create-voice, not create voice or voice spec.
3

Add your prompt

After the skill name, paste a Figma link and add any context about states, variants, or behaviors.
If autocomplete doesn’t show the skill, verify your project is open in Cursor and that .cursor/skills/ is populated. If the directory is empty, run npx uspec-skills install --platform cursor from the project root.

Inside each skill

Every skill loads an instruction file, reads platform-specific or domain-specific reference files, extracts data from Figma via MCP, runs through a checklist, and renders the output. The reference files determine what the agent knows about each domain.
The create-component-md orchestrator is the only skill that does not render into Figma. It consumes a plugin-produced _base.json, dispatches four interpretation specialists (one serial, three in parallel), reconciles typed disagreements, then renders a single .md file to disk.The API specialist runs first and solo because its output (the property dictionary) anchors the three downstream specialists on a shared property and state vocabulary. Structure, color, and voice then run in a single parallel batch so their contexts stay isolated and the parent orchestrator only holds the returned summaries. Reconciliation is typed and deterministic: each disagreement has a defined signature (conflicting child classification, mismatched axes, missing states), and only the matching specialist is re-dispatched. The integrity gate validates cache-file shapes, axis consistency, and the structure coverage matrix before the Markdown renderer runs.See the Component Markdown spec page for install, usage, and output details.

What the agent sees vs. what you provide

The agent can extract structure, tokens, and styles from Figma automatically. But some information only exists in your head:
The agent can extractYou need to describe
Component layers and hierarchyStates not visible in the current frame
Design token names and valuesBehavioral modes (fill vs. hug, truncation)
Variant axes and propertiesFocus order preferences
Visual dimensions and spacingPlatform-specific interaction details
Styles and color valuesBusiness logic or conditional rules
The more context you provide in your prompt, the more accurate the output. A one-line prompt works, but adding states, behaviors, and edge cases produces significantly better specs.

Architecture overview

uSpec supports two Figma MCP providers — choose the one that fits your setup:
  • Figma Console MCP (by Southleft) connects via a Desktop Bridge plugin running inside Figma Desktop, communicating over WebSocket. It exposes 59+ tools for design creation and variable management.
  • Native Figma MCP (by Figma) connects directly to Figma’s API with read and write access. No Desktop Bridge plugin required.
Both providers give the agent real-time access to component data, tokens, styles, and screenshots. Every skill renders through the MCP, regardless of which provider or host you use. See Getting Started for setup instructions.
MCP providers update their capabilities and setup instructions frequently. For the latest details, see the Figma Console MCP docs or the native Figma MCP docs.