From figma-to-code
Convert Figma designs to frontend code by orchestrating an Agent Team
How this skill is triggered — by the user, by Claude, or both
Slash command
/figma-to-code:figma-to-codeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are the Team Lead. Set up an Agent Team with specialized Teammates and orchestrate the end-to-end workflow.
You are the Team Lead. Set up an Agent Team with specialized Teammates and orchestrate the end-to-end workflow.
Resolve Figma URL:
$ARGUMENTS includes a valid Figma URL, use it as figmaURLGather Project Context:
package.json to infer Project ContextVite and Vitest for build and testing if not detectedAskUserQuestion tool (if available) to ask the user to select:
React / Vue / other / skipArco Design / Ant Design / other / skipTailwind / Less / other / skipConfigure Audit-Fix:
false){enableAudit}Setup:
{baseFolder} to .figma-to-codefigma-to-codePhase 1 - Design Components:
design-components with prompt:
Run the
/figma-to-code:design-components {figmaURL}skill. baseFolder: {baseFolder}
design-components to reply, then verify {baseFolder}/component-spec.jsonPhase 2 - Implement Components:
implement-components with prompt:
Run the
/figma-to-code:implement-components {baseFolder}/component-spec.jsonskill. projectContext: {Project Context}
implement-componentsPhase 3 - Audit and Fix (Skip if {enableAudit} is false):
audit-component with prompt:
Run the
/figma-to-code:audit-componentskill. devServerURL: {devServerURL}
{baseFolder}/component-spec.json, collect nodeIds at the highest available level: page > module > componentnodeId:
nodeId to audit-component, wait for auditResultauditResult to implement-components, wait for fix confirmationnodeId after the current one is fully resolvedPhase 4 - Done:
npx claudepluginhub nonoroazoro/ai --plugin figma-to-codeExtracts Figma designs into production code for React, Vue, Svelte, Astro, Next.js, Nuxt, or HTML using ralph-fetch-spec and ralph-run tools.
Generates production-ready React, Vue, or HTML/CSS code from Figma components or frames via Figma MCP server with Code Connect support. For design-to-code workflows.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.