---
name: origon-ui-figma-builder
description: "Use when creating Origon UI designs in Figma from a product request, existing screen, or component composition."
---

# Origon UI Figma Builder

Use this skill when an agent must create or extend a Figma design using the
Origon UI system.

## Fidelity boundary

Treat the referenced Figma file and node as authoritative. Build only what is
present in that node: do not add inferred variants, disabled/enabled states,
props, components, or platform-specific behavior that the node does not show.
When a requested concept is absent from Figma, stop and mark it as an open
design gap instead of filling it with a conventional UI pattern.

## Workflow

1. Read `DESIGN.md`, the relevant docs page under `apps/docs/pages/components`, and the matching React/Swift implementation before building.
2. Identify the closest existing component set. Do not recreate a Button, Row, Selector, or other primitive from raw shapes when a documented component exists.
3. Use the token names and semantic roles from `FOUNDATIONS.md`, `THEMES.md`, and `tokens/source/*.json`.
4. Build composed layouts with auto-layout, explicit spacing, and named sections. Keep responsive behavior expressed through layout rules rather than duplicated pixel positions.
5. Cover only the size, state, and variant axes visibly represented in the Figma component set. Do not create unsupported variants just to fill a matrix.
6. Verify dark/light and brand-sensitive colors, typography, spacing, and accessibility affordances before handoff.
7. Record the Figma node/page mapping in the relevant documentation when a new reusable pattern is introduced.

The checked Figma pages and their local implementation mappings are in
[`references/figma-component-map.md`](references/figma-component-map.md).
