Shreyas410

Claude Figma To Code — Design skill for Claude Code

Design community

A Claude Skill that converts a Figma design into real, working frontend code — asks your stack (platform, framework, styling, TypeScript) before generating anything, reads Figma via its MCP connector.

How to install Claude Figma To Code

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Shreyas410/claude-figma-to-code and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Figma To Code does

A Claude Skill that converts a Figma design into real, working frontend code — asks your stack (platform, framework, styling, TypeScript) before generating anything, reads Figma via its MCP connector, and scaffolds a modular, documented repo instead of a one-shot code dump.

Alternatives in Design

  • Frontend Design — Create distinctive, production-grade frontend interfaces with high design quality 94.1k ★
  • Plan Artifact — Creates one polished, self-contained HTML artifact from a plan, PRD, roadmap, strategy, migration, rollout, re 652 ★
  • Design Reel — Record naksha's design team working — turn a /design run into a share-able vertical + landscape video reel (th 309 ★

README

figma-to-code

A [Claude Skill](https://www.anthropic.com/news/skills) that converts a Figma design into real, working frontend code — a modular, documented repository scaffold matched to your platform and framework, not a one-shot dump of markup.

What it does

Point it at a Figma link (or a frame selected in the Figma desktop app) and it will:

  1. Read the design as structured data, not a picture — via Figma's official MCP connector when available, falling back to a personal access token + the Figma REST API, or a manual "Copy as code"/image export if neither is available.
  2. Ask before it builds — platform (web/mobile/desktop), framework (React, Next.js, Vue, Svelte, React Native, Flutter, SwiftUI, Jetpack Compose, Electron, Tauri, or plain HTML/CSS/JS), styling approach, TypeScript vs JavaScript, state management, whether you want Storybook-style docs, and whether this is a fresh repo or one with its own existing conventions to match.
  3. Extracts real design tokens (colors, type, spacing) from Figma's variables/styles instead of hardcoding hex values and magic pixel numbers through every component.
  4. Scaffolds a modular repo — one file/folder per component, not a single giant page — with a generated README and, if requested, Storybook (or the closest per-framework equivalent) stories per component and variant.
  5. Checks its own output against the Figma screenshot where it can (a running dev server), rather than declaring success from reading its own generated code.

See [SKILL.md](SKILL.md) for the full instructions Claude follows, and [references/](references) for the concrete folder structure and component templates per framework.

Install

**Claude Code / Claude Desktop:** clone this repo into your skills folder directly — its root *is* the skill folder (contains `SKILL.md`), so no extra nesting needed.

git clone https://github.com//figma-to-code.git ~/.claude/skills/figma-to-code

Or clone it anywhere