Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bighardperson avatar

Figma Sync

  • 8 installs
  • 33 repo stars
  • Updated April 26, 2026
  • bighardperson/computer-science-skills-collection

figma-sync is a skill that reads Figma files, extracts design tokens, generates React Native or React + Tailwind code, and diffs and pushes changes back to Figma.

About

figma-sync is a skill for bidirectional synchronization between Figma files and code. A developer uses it to pull Figma files, extract design tokens, generate React Native Expo TypeScript or React + Tailwind code, write changes back to Figma, and diff a local model against Figma for minimal patches. It ships Python scripts for pull, push, diff, and preview.

  • Bidirectional Figma-to-code sync with pull, push, diff, and preview commands
  • Extracts design tokens and generates React Native Expo TS or React + Tailwind code
  • Diffs a local model against Figma to produce minimal patches

Figma Sync by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #1,481 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
At a glance

figma-sync capabilities & compatibility

Requires a free Figma personal access token; Figma API usage is subject to platform rate limits.

Capabilities
figma pull · design token extract · code generation · figma diff
Works with
figma
Use cases
ui design · frontend
Pricing
Bring your own API key
From the docs

What figma-sync says it does

Bidirectional Figma ↔ Code synchronization skill.
SKILL.md
Outputs: `designModel.json`, `tokens.json`, `codePlan.json`, and generated component files.
SKILL.md
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill figma-sync

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars33
Last updatedApril 26, 2026
Repositorybighardperson/computer-science-skills-collection

What it does

Pull Figma files to extract design tokens and generate React Native or React + Tailwind code, then diff and push changes back.

Who is it for?

Keeping Figma designs and React/React Native code in sync via tokens and generated components.

Skip if: Design work outside Figma or backend code generation.

When should I use this skill?

The user wants to pull from Figma, generate code from a design, diff against Figma, or push changes back.

What you get

A synced designModel.json, tokens.json, and generated component files, plus a patchSpec to push back to Figma.

  • designModel.json
  • tokens.json
  • generated React Native or React + Tailwind components

By the numbers

  • 4 CLI commands: pull, push, diff, preview
  • 2 target platforms: rn-expo and web-react
  • respects Figma rate limits of ~30 req/min

Files

SKILL.mdMarkdownGitHub ↗

figma-sync

Bidirectional Figma ↔ Code synchronization skill.

Setup

export FIGMA_TOKEN="your-personal-access-token"

Get a token at https://www.figma.com/developers/api#access-tokens

Commands

Pull (Read + Generate Code)

python3 scripts/figma_pull.py --file-key <KEY> --platform rn-expo --output-dir ./out
python3 scripts/figma_pull.py --file-key <KEY> --node-ids 1:2,3:4 --platform web-react --output-dir ./out

Outputs: designModel.json, tokens.json, codePlan.json, and generated component files.

Push (Write Back)

python3 scripts/figma_push.py --file-key <KEY> --patch-spec patch.json
python3 scripts/figma_push.py --file-key <KEY> --patch-spec patch.json --execute  # actually apply

Dry-run by default. Pass --execute to apply changes.

Diff

python3 scripts/figma_diff.py --file-key <KEY> --local-model designModel.json

Outputs changes and a patchSpec to sync.

Preview

python3 scripts/figma_preview.py --file-key <KEY> --operations ops.json

Shows what would change without touching anything.

Platforms

  • rn-expo: React Native + Expo + TypeScript (primary)
  • web-react: React + Tailwind CSS (secondary)

Rate Limits

Uses exponential backoff, ETag caching, and respects Figma's rate limits (~30 req/min). Cache stored in .figma-cache/ directory.

References

  • DesignSpec Schema
  • API Guide

Related skills

FAQ

What does figma-sync generate?

Pulling outputs designModel.json, tokens.json, codePlan.json, and generated component files for React Native Expo TS or React + Tailwind.

Is push destructive?

No; figma_push.py is dry-run by default and only applies changes when you pass the --execute flag.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.