Skip to content

Reconciles design tokens between code and Figma variables with drift reporting and an approval gate before writes.

CCM score
57 of 100
skills.sh installs
771
GitHub stars
27
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers dry-run drift detection, value validation, and a fresh diff after apply to confirm parity
  • Normalizes code and Figma tokens into canonical rows, then classifies drift across nine categories such as value_mismatch and broken_alias
  • Enforces a mandatory stop for user approval after dry-run, archive-only deletion by default, and sequential write ordering
  • Designed for teams keeping Design Tokens JSON or Style Dictionary sources aligned with Figma variables through the figma MCP servers

Install

$ npx -y skills add firebenders/sync-figma-token-skill --skill sync-figma-token -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

sync-figma-token

Use this skill for token parity workflows (code tokens vs Figma variables).

MANDATORY prerequisite: load figma-use before every use_figma call.

Non-negotiable safety rule

After producing dry-run output, you MUST STOP and ask for approval.

  • Do NOT run any write use_figma calls in the same turn as dry-run output.
  • Ask a normal confirmation question (example: "Apply these changes? (yes/no)").
  • Only proceed on explicit affirmative approval.
  • If the response is unclear or negative, do not apply writes.

Standard source formats (required)

Prefer real token sources in this order:

  1. Design Tokens JSON (tokens.json, tokens/*.json, DTCG-style)
  2. Style Dictionary input JSON
  3. Platform theme sources (Compose/Kotlin/TS) only when JSON source is unavailable

If source format is non-standard, explicitly state assumptions in dry-run output.

Required policies before writes

Details

Repository
github.com/firebenders/sync-figma-token-skill
Categories
Design & UI/UX, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the sync-figma-token skill do?

sync-figma-token syncs design tokens between code and Figma variables, reporting drift such as missing tokens, value mismatches and broken aliases. It runs a dry-run first and only applies writes after explicit approval, archiving stale tokens rather than deleting them by default.

How do I install sync-figma-token?

Run npx -y skills add firebenders/sync-figma-token-skill --skill sync-figma-token -y inside your project. After that, sync-figma-token can compare your code tokens with your Figma variables and propose changes.

Which token sources does sync-figma-token accept?

sync-figma-token prefers Design Tokens JSON such as tokens.json or DTCG-style files, then Style Dictionary input JSON. It falls back to platform theme sources like Compose, Kotlin or TypeScript only when no JSON source exists.

Does sync-figma-token delete tokens in Figma?

No, sync-figma-token uses archive_only as its default delete policy, so stale tokens are archived instead of deleted. Deletion only happens when you explicitly instruct it to.

Similar to Sync Figma Token

More Design & UI/UX