ds-figma-sync

Detect and fix mismatches between Swift design tokens and Figma DS files.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/artosetrov/iron-fist-arena-backend --skill ds-figma-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ds-figma-sync
Source: https://github.com/artosetrov/iron-fist-arena-backend/tree/main/.claude/skills/ds-figma-sync
Command: npx skills add https://github.com/artosetrov/iron-fist-arena-backend --skill ds-figma-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DS Figma Sync helps teams maintain 1:1 parity between the Swift design system and the Figma DS file by automatically detecting discrepancies and guiding fixes across colors, spacing, radii, text styles, and components.

Core Features & Use Cases

  • Parity verification across color tokens, spacing, radii, text styles, and component sets between Swift tokens and the Figma DS file.
  • Phase-driven validation for token parity, text style parity, and component-set parity, with actionable remediation steps.
  • Guardrails to keep Swift as the single source of truth and surface issues for design-system health checks.

Quick Start

Run a parity check to align the Figma DS file with the Swift design system, then apply the suggested fixes to resolve any mismatches.

Frequently Asked Questions about ds-figma-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure parity between my Swift design system and Figma file?

To ensure design system parity, you can run an automated validation workflow that compares Swift source tokens against the Figma DS file to detect and fix mismatches in colors, spacing, radii, text styles, and component sets.

What is the best way to sync Figma tokens with Swift source files?

Syncing Figma tokens with Swift files is best handled by using Swift as the single source of truth, automatically validating Figma DS values against Swift definitions like DarkFantasyTheme.swift and LayoutConstants.swift to surface and resolve discrepancies.

How do I validate component sets between Figma and Swift?

Validating component sets between Figma and Swift involves a phase-driven verification process that cross-references component structures, text styles, and effect styles to identify mismatches and provide actionable remediation steps.

When should I run a design system health check for Swift and Figma?

You should run a design system health check after adding new tokens or components, or during periodic reviews, to catch and correct discrepancies between the Swift design system and the Figma DS file before they reach production.

Do I need specific Swift files to verify Figma design system parity?

Yes, verifying Figma design system parity requires access to the Swift source of truth files, specifically DarkFantasyTheme.swift and LayoutConstants.swift, along with the target Figma DS file to perform end-to-end token and style validation.

Why does my Figma spacing not match the Swift LayoutConstants values?

Figma spacing mismatches occur when the Figma DS file drifts from Swift definitions; running an automated parity check aligns the Figma file with values from LayoutConstants.swift and provides steps to fix the discrepancies.