---
name: origon-ui-docs-sync
description: "Use when synchronizing Origon UI documentation with checked Figma components and the local React or Swift implementations."
---

# Origon UI Docs Sync

Use this skill to update repository documentation; it does not edit Figma.

## Figma is canonical

Document exactly what is present in the referenced Figma page/component set.
Do not add inferred states, props, accessibility variants, or platform APIs to
the Figma description. Keep any React/Swift mismatch in a separate
implementation-gap note, and do not turn local behavior into a claimed Figma
variant.

## Workflow

1. Read the checked-component list in `DESIGN.md` and compare it with `apps/docs/pages/components/_meta.ts`.
2. Inspect the corresponding implementation under `packages/react/src` or `packages/swift/Sources/OrigonUI` before documenting props or variants.
3. Update or create the component MDX page with the Figma source node and only the axes visibly supported by that Figma component set. A live example is optional and must not introduce states absent from Figma.
4. If a Figma component has no local implementation, add a concise design-reference page and state the implementation gap explicitly.
5. Update `DESIGN.md` as the canonical long-form reference and keep `apps/docs/pages/design.mdx` aligned.
6. Run `pnpm --filter @origonui/docs build` and `git diff --check` before reporting completion.

Do not claim an API, variant, or behavior that is not present in the local
implementation. For the current mapping and checklist, read
[`references/sync-checklist.md`](references/sync-checklist.md).
