design-to-code

Solid

Pixel-perfect Figma to React conversion using coderio. Generates production-ready code (TypeScript, Vite, TailwindCSS V4) with high visual fidelity. Features robust error handling, checkpoint recovery, and streamlined execution via helper script.

Web & Frontend 27,681 stars 2854 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/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

# Design to Code High-fidelity UI restoration from Figma designs to production-ready React + TypeScript components. This SKILL uses a **robust helper script** to minimize manual errors and ensure pixel-perfect results. ## Prerequisites 1. **Figma API Token**: Get from Figma → Settings → Personal Access Tokens 2. **Node.js**: Version 18+ 3. **coderio**: Installed in `scripts/` folder (handled by Setup phase) ## Workflow Overview ``` Phase 0: SETUP → Create helper script and script environment Phase 1: PROTOCOL → Generate design protocol (Structure & Props) Phase 2: CODE → Generate components and assets ``` --- # Phase 0: Setup ## Step 0.1: Initialize Helper Script **User Action**: Run these commands to create the execution helper and isolate its dependencies. ```bash mkdir -p scripts # 1. Copy script files # Note: Ensure you have the 'skills/design-to-code/scripts' directory available cp skills/design-to-code/scripts/package.json scripts/package.json cp skills/design-to-code/scripts/coderio-skill.mjs scripts/coderio-skill.mjs # 2. Install coderio in scripts directory (adjust version if needed) cd scripts && pnpm install && cd .. ``` ## Step 0.2: Scaffold Project (Optional) If starting a new project: 1. Run: `node scripts/coderio-skill.mjs scaffold-prompt "MyApp"` 2. **AI Task**: Follow the instructions output by the command to create files. --- # Phase 1: Protocol Generation ## Step 1.1: Fetch Data ```bash # Replace with your URL and Token node s...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

design-to-code

Pixel-perfect Figma to React conversion using coderio. Generates production-ready code (TypeScript, Vite, TailwindCSS V4) with high visual fidelity. Features robust error handling, checkpoint recovery, and streamlined execution via helper script.

335 Updated today
aiskillstore
Web & Frontend Listed

code-to-figma

Sync React components to Figma designs. Use when: 'sync component to Figma', 'generate Figma from code', 'create design system in Figma', 'export React to Figma'. Parses React/TSX with Babel AST, resolves Tailwind classes, outputs Figma-compatible JSON for loading via Figma Desktop plugin.

0 Updated today
Signpainterreverberation581
Web & Frontend Solid

prototype-to-production

Convert design prototypes (HTML, CSS, Figma exports) into production-ready components. Analyzes prototype structure, extracts design tokens, identifies reusable patterns, and generates typed React components. Adapts to existing project tech stack with React + TypeScript as default.

335 Updated today
aiskillstore
AI & Automation Solid

figma-to-code

Extract Figma designs and generate production-ready React/Next.js components with TypeScript, Tailwind CSS, and pixel-perfect accuracy. Use when a user provides a Figma URL or asks to convert Figma designs to code.

140 Updated today
majiayu000
AI & Automation Solid

design-to-code

Figma-to-code translation, design tokens, spacing/typography scales, responsive breakpoints, and design system bridge patterns.

495 Updated 1 months ago
vibeeval