This one automates the Figma to code workflow by treating design files as the single source of truth. Instead of manually translating designs into components, it connects directly to Figma via API and generates production-ready code from your design files. The approach is opinionated: designers own Figma, developers build from it, and the translation layer should be automatic. Useful if your team is tired of the back-and-forth between design handoff and implementation, or if you're rebuilding the same components because designs changed. It's part of daffy0208's ai-dev-standards collection, which has 28 GitHub stars. The setup requires a Figma access token to get started.

GitHub stars
33
last updated
Aug 21, 2026

Install

$ npx -y skills add daffy0208/ai-dev-standards --skill 'Figma Developer' --agent claude-code

Installs into .claude/skills of the current project.

Files

Figma Developer

Turn Figma designs into production-ready code.

Core Principle

Design is the single source of truth.

Designers work in Figma. Developers build from Figma. The bridge between them should be automated, not manual.


Phase 1: Setup & Authentication

Get Figma Access Token

  1. Go to Figma Settings
  2. Scroll to "Personal access tokens"
  3. Click "Generate new token"
  4. Name it (e.g., "Development")
  5. Copy and save securely

Environment Setup

# .env
FIGMA_ACCESS_TOKEN=figd_...

Install Figma Client

npm install node-fetch

Test Connection

import { FigmaClient } from '@/integrations/design-tools/figma/client'

const client = new FigmaClient({
  accessToken: process.env.FIGMA_ACCESS_TOKEN
})

// Test with a public file
const file = await client.getFile('abc123xyz')
console.log('Connected! File:', file.name)

Phase 2: Extract Design Tokens

What Are Design Tokens?

Design tokens are design decisions (colors, typography, spacing) stored as code.

Benefits:

  • Single source of truth
  • Consistent across platforms
  • Easy to update
  • Type-safe

Sponsors

Details

Repository
github.com/daffy0208/ai-dev-standards
Categories
Frontend Development, AI & Agent Building, Automation & Workflows, Design & UI/UX
First seen
Jun 3, 2026

More from daffy0208/ai-dev-standards

All 49
1daffy0208 avatarPerformance Optimizerdaffy0208/ai-dev-standardsOptimize application performance and scalability. Use when investigating slow applications, scaling bottlenecks, or improving response times. Covers profiling, 0skills.sh installs
2daloopa avatarib-deckdaloopa/investingGenerate an institutional-grade investment banking pitch deck (HTML → PDF)0skills.sh installs
3davila7 avatarAccessibility Auditordavila7/claude-code-templatesWeb accessibility specialist for WCAG compliance, ARIA implementation, and inclusive design. Use when auditing websites for accessibility issues, implementing W0skills.sh installs
4davila7 avatarHook Developmentdavila7/claude-code-templatesThis skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", 0skills.sh installs
5dtsola avatarremotion-best-practicesdtsola/xiaoyaosearchBest practices for Remotion - Video creation in React0skills.sh installs
6geekjourneyx avatarai-daily-newsgeekjourneyx/ai-daily-skillFetches AI news from smol.ai RSS and generates structured markdown with intelligent summarization and categorization. Optionally creates beautiful HTML webpages0skills.sh installs