figma-to-react-workflow

figma-to-react-workflow is a skill for Claude Code from PMDevSolutions/Aurelius. It costs 85 tokens per session (6,285 once invoked), scanned A, original, MIT.

A workflow for converting Figma designs into production-ready React and TypeScript components. Figma is a tool for designing interfaces; TDD, or test-driven development, means writing tests before the code they check.

In plain words
What is it for?
Use it to turn Figma screens into React pages and components for Next.js, Vite, Remix, browser extensions, or progressive web apps. It helps create Tailwind styles, component tests, end-to-end tests, and pixel-level visual checks.
Why use it?
It reduces differences between a design and the resulting application by carrying over design tokens such as colours, fonts, spacing, and effects. It also requires automated tests and visual comparison checks during the conversion.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is 1. Run: ./scripts/verify-test-coverage.sh.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for figma-to-react-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/figma-to-react-workflow.svg)](https://agentmods.dev/skills/pmdevsolutions/aurelius/figma-to-react-workflow)
Your own site
<a href="https://agentmods.dev/skills/pmdevsolutions/aurelius/figma-to-react-workflow"><img src="https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/figma-to-react-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,285 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.06285
Opus 5 $0.00043 $0.03143
Sonnet 5 $0.00017 $0.01257
Haiku 4.5 $0.00009 $0.00628

Measured yesterday against content hash b3264729951f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

figma-to-react-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/figma-to-react-workflow/SKILL.md · 704 lines

How it starts

The opening of the file, as written. The whole thing — 704 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Figma-to-React Autonomous Workflow

Overview

This skill orchestrates the complete pipeline for converting Figma designs into production-ready React applications. It extracts design systems (colors, typography, spacing, effects) from Figma, transforms them into Tailwind CSS configuration and CSS custom properties, then generates functional TypeScript React components that faithfully reproduce the source design.

The workflow operates in four phases: interactive discovery, TDD scaffold, autonomous execution, and verified delivery. The result is a set of React components, pages, and a design token system ready for integration into Next.js, Vite, or Remix projects — verified to pixel-level accuracy against the Figma source.

Core Principles:

  • TDD is mandatory — tests are written before components, never after
  • Every component is a functional TypeScript component with explicit prop interfaces
  • All styling uses Tailwind utility classes backed by design tokens from Figma
  • No hardcoded color values, font sizes, or spacing -- everything references the token system
  • Images use proper imports or public directory references, never broken paths
  • Output is framework-aware (Next.js App Router, Vite SPA, Remix routes)
  • Pixel-perfect verification — automated diff loop with pixelmatch, not manual comparison
  • App-type aware — Chrome extensions, PWAs, and web apps each get appropriate test strategies

When to Use

Use this skill when:

  • Converting a Figma design file into a React application
  • Extracting a design system from Figma into Tailwind configuration
  • Generating a component library from Figma component sets
  • Rebuilding an existing UI from a Figma redesign
  • Starting a new React project from a Figma prototype

Trigger phrases:

  • "Convert this Figma design to React"
  • "Generate React components from Figma"
  • "Extract design tokens from Figma"
  • "Build a React app from this Figma file"
  • "Figma to Next.js"
  • "Figma to Vite"

Phase 1: Discovery (Interactive)

Read the full file on GitHub · 704 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 704 lines · 0 tokens per session scan A b3264729951f

Subscribe to this mod's changes

figma-to-react-workflow is a skill published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 85 tokens to every session and 6,285 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

agent-integration

Run all three agent integration phases sequentially: research, write-tests, and implement using E2E-first TDD (unit tests written last). For individual phases, use /agent-integration:research, /agent-integration:write-tests, or /agent-integration:implement. Use when the user says "integrate agent", "add agent…

entireio/cli · 89 tokens

mcp-sdk-audit

Upgrade @modelcontextprotocol/server (the MCP TypeScript SDK v2) and prove the wire contract survived. The SDK is a runtime dependency whose breakage lands on the wire, not in the type checker — so this sorts each release by which SDK source files it touched (Figwright uses only the server + stdio slice of a…

awdr74100/figwright · 159 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

figma-build

Build a Figma design from code or a description — the reverse of figma-codegen. Reuses the connected file's existing design system (components, variables, styles) instead of drawing primitives with hardcoded values. Triggers whenever the user wants something created or updated IN Figma from code or a spec — e.g.…

awdr74100/figwright · 180 tokens

figma-design-handoff

Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…

yonatangross/orchestkit · 76 tokens

testing

TDD/BDD testing principles. Use when writing tests, reviewing test coverage, setting up testing, or discussing test strategy and test architecture.

TheBeardedBearSAS/claude-craft · 30 tokens