ouds-ios-guide-figma-to-swift
How to derive a Swift token name from a Figma token path in the OUDS iOS project (raw, semantic and component tokens)
Skill by Orange-OpenSource
Chalk Labs
Need help deploying ouds-ios-guide-figma-to-swift?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/orange-opensource-ouds-ios-guide-figma-to-swift
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ouds-ios-guide-figma-to-swift
What's inside
- Skill name
ouds-ios-guide-figma-to-swift- Description
- How to derive a Swift token name from a Figma token path in the OUDS iOS project (raw, semantic and component tokens)
- License
- MIT
- Instructions
- 143 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Skill: ouds-ios-guide-figma-to-swift ## 1. Quick-reference cheat sheet ``` PATH ANATOMY core-ouds/<family>/<id> → raw token ouds/<category>/… → semantic token (no 1f4a0_) ouds/1f4a0_<group>/<component-name>/<sub-path> → component token LAYER DETECTION core-ouds/… → Layer 1 raw → <Family>RawTokens._<id> ouds/… no 1f4a0_ → Layer 2 sem → theme.<provider>.<name> ouds/… with 1f4a0_ → Layer 3 comp → theme.<component>.<name> STOP IMMEDIATELY (no Swift equivalent) any segment has 🚧 or 1f6a7_ → WIP token ouds/grid/<x>/ where <x> ≠ ios → non-iOS grid PROPERTY NAME (apply in order) 1. Drop layer prefix + provider/component segment 2. Strip emoji prefixes from segments: 1f4c4_ (📄) 1f525_ (🔥) 3. Each segment: kebab-case → TitleCase 4. Join all, lowercase first letter 5. -light / -dark suffix pair → drop suffix, single property (MultipleColorSemanticToken) 6. /mobile /tablet → keep as …Mobile / …Tablet (separate properties) 7. Numeric qualifiers 2x 3x 4x 5x → stay lowercase as-is (3xsmall not 3Xsmall) 8. Semantic provider: do NOT repeat the domain in the property name 9. button-mono → theme.button, prepend "mono" to property name ``` --- ## 2. Provider tables ### Layer 2 — Semantic providers | Figma prefix | `theme.` property | Notes | |---|---|---| | `ouds/border/` | `borders` | | | `ouds/color/` | `colors` | | | `ouds/color/mode/` | `colorModes` | | | `ouds/color/chart/` | `colorsCharts` | | | `ouds/color/decorative/` | `colorsDecorative` | | | `ouds/dimension/` | `dimensions` | | | `ouds/effect/` | `effects` | | | `ouds/elevation/` | `elevations` | | | `ouds/font/` | `fonts` | | | `ouds/grid/ios/` | `grids` | `ios/` segment dropped from property name | | `ouds/opacity/` | `opacities` | | | `ouds/size/` | `sizes` | | | `ouds/space/` | `spaces` | | ### Layer 3 — Component providers The `1f4a0_<group>/` segment is always dropped. `<component-name>` → lowerCamelCase = `theme.` property. | Figma `<component-name>` | `theme.` property | |---|---| | `button` | `button` | | `button-mono` | `button` (mono — prepend `mono` to property) | | `text-input` | `textInput` | | `text-area` | `textArea` | | `pin-code-input` | `pinCodeInput` | | `password-input` | `passwordInput` | | `checkbox` | `checkbox` | | `radio-button` | `radioButton` | | `switch` | `switch` | | `chip` | `chip` | | `select-input` | `selectInput` | | `quantity-input` | `quantityInput` | | `badge` | `badge` | | `tag` | `tag` | | `input-tag` | `inputTag` | | `link` | `link` | | `list-item` | `listItem` | | `bar` | `bar` | | `skeleton` | `skeleton` | | `alert` | `alert` | | `divider` | `divider` | | `bullet-list` | `bulletList` | | `icon` | `icon` | ### Layer 1 — Raw token families | Figma prefix | Swift type | |---|---| | `core-ouds/dimension/` | `DimensionRawTokens` | | `core-ouds/font/` | `FontRawTokens` | | `core-ouds/color/` | `ColorRawTokens` | | `core-ouds/border/` | `BorderRawTokens` | | `core-ouds/elevation/` | `ElevationRawTokens` | | `core-ouds/grid/` | `GridRawTokens` | | `core-ouds/opacity/` | `OpacityRawTokens` | | `core-ouds/effect/` | `EffectRawTokens` | Numeric-only IDs get a leading underscore: `core-ouds/dimension/750` → `DimensionRawTokens._750` --- ## 3. Critical rules **R5 — Light/dark pairs → single property** `color/border/enabled-light` + `-dark` → `colorBorderEnabled: MultipleColorSemanticToken` (drop suffix) **R6 — Mobile/tablet → separate properties** `space/scaled/3xsmall/mobile` → `scaled3xsmallMobile` | `…/tablet` → `scaled3xsmallTablet` **R7 — Strip emoji annotation prefixes** `1f4c4_` (📄) and `1f525_` (🔥) are stripped from the segment, name kept. `1f4a0_` (💠) and `1f6a7_` (🚧) are NOT stripped — they control layer detection and WIP exclusion. **R8 — Semantic: domain NOT repeated in property name** `ouds/border/width/focus` → `theme.borders.widthFocus` (not `borderWidthFocus`) Component tokens are different: domain IS repeated → `theme.button.borderWidthDefault` --- ## 4. Examples
From Orange-OpenSource/ouds-ios, MIT.
More from Orange-OpenSource/ouds-ios
- 0.654score
ouds-ios-framework-usage
Orange-OpenSource
Setup and general usage of the OUDS iOS framework — imports, themes, token namespaces, view modifiers, image rules, shared control patterns and custom font…
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
ouds-ios-components-controls
Orange-OpenSource
Usage and code examples for OUDS iOS Controls components — OUDSCheckbox / OUDSCheckboxItem / OUDSCheckboxPicker / OUDSCheckboxIndeterminate, OUDSRadio /…
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
ouds-ios-components-indicators
Orange-OpenSource
Usage and code examples for OUDS iOS Indicators components — OUDSBadgeStandard / OUDSBadgeCount / OUDSBadgeIcon (statuses, sizes, UInt8 count), OUDSTag…
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
ouds-ios-components-navigations
Orange-OpenSource
Usage and code examples for OUDS iOS Navigations components — OUDSLink (text, indicator, icon, size), OUDSTabBar (iOS 15–25 and iOS 26+ APIs) and Toolbars…
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
ouds-ios-components-foundations
Orange-OpenSource
Usage and code examples for OUDS iOS Foundations components — Typography (OUDSDisplay, OUDSHeading, OUDSBody, OUDSLabel, OUDSCode).
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
ouds-ios-components-content-display
Orange-OpenSource
Usage and code examples for OUDS iOS Content Display components — OUDSBulletList (unordered, ordered, nested items, raw / localized / rich…
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
ouds-ios-components-layouts
Orange-OpenSource
Usage and code examples for OUDS iOS Layouts components — OUDSColoredSurface (color-mode tokens container) and OUDSHorizontalDivider / OUDSVerticalDivider.
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
ouds-ios-components-dialogs
Orange-OpenSource
Usage and code examples for OUDS iOS Dialogs components — OUDSAlertMessage (statuses, bullet list, link, dismiss) and OUDSInlineAlert (statuses, icon).
SkillAFreshness: A★ 36Claude Code +9 - 0.646score
ouds-ios-components-actions
Orange-OpenSource
Usage and code examples for OUDS iOS Action components — OUDSButton (text, icon, loading state, text+icon, icon-only with accessibility label).
SkillAFreshness: A★ 36Claude Code +9 - 0.629score
ouds-ios-guide-vocabulary
Orange-OpenSource
Use when the user asks about OUDS-specific terms such as tokenator, token, raw token, semantic token, component token, theme, tuning, token provider, or…
SkillAFreshness: A★ 36Claude Code +9 - 0.620score
ouds-ios-guide-create-theme
Orange-OpenSource
Use when the user wants to create a custom OUDS theme or brand theme for an iOS app — covers subclassing OrangeTheme, building a theme from scratch on…
SkillAFreshness: A★ 36Claude Code +9 - 0.620score
ouds-ios-guide-migration
Orange-OpenSource
Use when the user wants to migrate OUDS iOS code from an older version (1.0.0 or later) to the current version (3.2.0 or higher), or when deprecated or…
SkillAFreshness: A★ 36Claude Code +9
Signals
- Stars
- 36
- Forks
- 12
- Open issues
- 163
- Last commit (this folder)
- Jul 23, 2026 (3 months ago)
- Last release
- Oct 21, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Orange-OpenSource/ouds-ios
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Orange-OpenSource
- 0.654score
ouds-ios-framework-usage
Orange-OpenSource
Setup and general usage of the OUDS iOS framework — imports, themes, token namespaces, view modifiers, image rules, shared control patterns and custom font…
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
ouds-ios-components-controls
Orange-OpenSource
Usage and code examples for OUDS iOS Controls components — OUDSCheckbox / OUDSCheckboxItem / OUDSCheckboxPicker / OUDSCheckboxIndeterminate, OUDSRadio /…
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
ouds-ios-components-indicators
Orange-OpenSource
Usage and code examples for OUDS iOS Indicators components — OUDSBadgeStandard / OUDSBadgeCount / OUDSBadgeIcon (statuses, sizes, UInt8 count), OUDSTag…
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
ouds-ios-components-navigations
Orange-OpenSource
Usage and code examples for OUDS iOS Navigations components — OUDSLink (text, indicator, icon, size), OUDSTabBar (iOS 15–25 and iOS 26+ APIs) and Toolbars…
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
ouds-ios-components-foundations
Orange-OpenSource
Usage and code examples for OUDS iOS Foundations components — Typography (OUDSDisplay, OUDSHeading, OUDSBody, OUDSLabel, OUDSCode).
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
ouds-ios-components-content-display
Orange-OpenSource
Usage and code examples for OUDS iOS Content Display components — OUDSBulletList (unordered, ordered, nested items, raw / localized / rich…
SkillAFreshness: A★ 36Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ouds-ios-guide-figma-to-swift running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ouds-ios-guide-figma-to-swift skill. Agent Mart. https://agentmart.dev/skills/orange-opensource-ouds-ios-guide-figma-to-swift (last updated 2026-10-24)