Agent skill

Figma Expert Skill: Components, Variables and Dev Mode Handoff

The figma-expert skill from OpenFang briefs an AI coding agent on Figma auto-layout, variants, variables, type scales and Dev Mode handoff, and warns against detached instances and absolute positioning.

Install
curl -fsSL https://openfang.sh/install | sh
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the figma-expert skill?

The figma-expert skill is a single SKILL.md bundled with OpenFang. It frames an AI coding agent as a product designer and design systems architect, with principles on auto-layout, variants, variables and styles, plus handoff techniques, four patterns and four pitfalls. It reads Figma guidance only and calls no Figma tools.

A single button component with size, state and icon properties should replace dozens of separate frames. That example from the SKILL.md captures its approach: fewer, smarter components, built with auto-layout and driven by variables.

It is one of the 60 bundled skills in OpenFang, an open source agent operating system. The skill is a prose briefing in one file. It contains guidance and no scripts, and it does not connect to Figma by itself.

Principles it sets out

  • Build with auto-layout from the start so spacing and resizing mirror CSS flexbox.
  • Use variants and component properties to prevent component sprawl.
  • Store colors, type, spacing and radii as Figma variables, never hardcoded values.
  • Keep styles for appearance and variables for semantic tokens and modes.
  • Design with real content and edge cases, not placeholder text.

Techniques for components and handoff

  • Auto-layout with padding, gap and primary axis alignment such as packed or space-between.
  • Variant axes like Size (sm, md, lg), State (default, hover, disabled) and Type (primary, secondary).
  • Text styles mapped to names such as heading-lg, body-md and caption.
  • Smart animate between variants for micro-interaction demos.
  • The Plugin API for batch renaming, palette generation and token export to JSON.
  • Dev Mode for inspecting spacing, exporting assets and copying CSS, iOS or Android snippets.

Library structure and what to avoid

It recommends a cover page, a changelog page and one page per component category. It cautions against absolute positioning inside auto-layout, detached one-off instances, unnamed layers and unoptimized full resolution rasters that slow the file.

Who the figma-expert skill is for

Best for

  • Designers and developers who want an agent to review or plan a Figma component library.
  • Teams preparing handoff. For deeper handoff checks, see design-handoff.
  • Token work that starts in Figma. See design-token for the code side.

Not for

  • Editing a Figma file directly. The skill supplies guidance only, with no tool access.
  • Turning designs into code. For that, see figma-implement-design.

Use it with UiChemy

UiChemy Figma to WordPress turns a Figma design into an editable WordPress page, so a tidy design file is a good starting point. Prepare the design with the habits here, then convert it. Click Get Started on uichemy.com. To script the library, see figma-generate-library.