Figma2Code: High-Fidelity Code Restoration from Figma/Mastergo Designs via a Phased Workflow
figma2code is a skill from the SkillHub community (Skill @user_3141f90e/figma2code, v1.0.0) that addresses the issue of low restoration fidelity when directly translating entire design drafts into code. Given that a Figma or Mastergo MCP connection is established, it proceeds through a four-step workflow: global planning, component tree organization, modular restoration, and final assembly. It generates PLAN.md and COMPONENTS.md files and supports stacks including HTML/CSS, React, Vue, Mini Programs, uni-app, Taro, Flutter, and SwiftUI. Installation requires the skillhub CLI, with the --dir flag pointing to the Agent skills directory. It is suitable for multi-module projects, repeated components, and responsive pages.
Read More