figma-architecture-variants

Featured

Choose between Figma integration architectures: CLI script, webhook service, or plugin. Use when deciding how to integrate with Figma, comparing REST API vs Plugin API, or planning a Figma-connected application. Trigger with phrases like "figma architecture", "figma blueprint", "how to integrate figma", "figma plugin vs api", "figma project type".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Figma Architecture Variants ## Overview Three proven architecture patterns for Figma integrations, based on the two primary Figma APIs: the REST API (external tools) and the Plugin API (in-editor experiences). ## Prerequisites - Clear use case requirements - Understanding of Figma REST API vs Plugin API differences ## Instructions ### Step 1: Choose Your Architecture | Architecture | API Used | Best For | Hosting | |-------------|----------|----------|---------| | CLI/Script | REST API | Design token sync, asset export | None (runs locally or in CI) | | Webhook Service | REST API | Real-time automation, Slack bots | Server/serverless | | Figma Plugin | Plugin API | In-editor tools, design linting | Runs in Figma desktop app | ### Variant A: CLI Script (Simplest) **Use case:** Extract design tokens, export icons, sync to code ``` Developer runs script │ ▼ ┌─────────────┐ │ CLI Script │ (Node.js) │ - extract.ts │ └──────┬───────┘ │ GET /v1/files/:key │ GET /v1/images/:key ▼ ┌─────────────┐ │ Figma REST │ │ API │ └──────┬──────┘ │ ▼ ┌─────────────┐ │ Output │ │ - tokens.css│ │ - icons/ │ └─────────────┘ ``` ```json { "scripts": { "figma:tokens": "tsx scripts/extract-tokens.ts", "figma:icons": "tsx scripts/export-icons.ts", "figma:sync": "npm run figma:tokens && npm run figma:icons" } } ``` **Pros:** Zero infrastructure, runs in CI, easy to debug ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

figma-reference-architecture

Reference architecture for production Figma API integrations. Use when designing a new Figma integration, planning project structure, or establishing patterns for design-to-code pipelines. Trigger with phrases like "figma architecture", "figma project structure", "figma integration design", "figma best practices layout".

2,266 Updated today
jeremylongshore
AI & Automation Listed

figma

Integrate with Figma API for design automation and code generation. Use when extracting design tokens, generating React/CSS code from Figma components, syncing design systems, building Figma plugins, or automating design-to-code workflows. Triggers on Figma API, design tokens, Figma plugin, design-to-code, Figma export, Figma component, Dev Mode.

2 Updated today
Makiya1202
AI & Automation Featured

figma-ci-integration

Automate Figma design token sync and asset export in CI/CD pipelines. Use when setting up GitHub Actions for Figma, automating icon exports, or validating design token changes in pull requests. Trigger with phrases like "figma CI", "figma GitHub Actions", "automate figma export", "figma CI pipeline".

2,266 Updated today
jeremylongshore
AI & Automation Featured

figma-local-dev-loop

Set up a local development workflow for Figma plugin and REST API projects. Use when building Figma plugins, creating design-to-code pipelines, or developing against the Figma API with hot reload. Trigger with phrases like "figma dev setup", "figma plugin development", "figma local development", "develop figma plugin".

2,266 Updated today
jeremylongshore
AI & Automation Featured

figma-deploy-integration

Deploy Figma-powered applications to Vercel, Cloud Run, and Fly.io. Use when deploying webhook receivers, design token APIs, or Figma-connected web apps to production platforms. Trigger with phrases like "deploy figma", "figma Vercel", "figma production deploy", "figma Cloud Run".

2,266 Updated today
jeremylongshore