Convert Figma designs to production-ready code with pixel-perfect fidelity.
Before you begin, ensure you have the following installed:
| Requirement | Verification Command | Note |
|---|---|---|
| 🤖 Claude Code | claude --version |
Must be version >= 1.0.33 |
| 🐍 Python | python3 --version |
3.10+ (for utility scripts) |
| 📦 Node.js | node --version |
18+ (for project analysis) |
| 🎨 Figma Account | - | Access to the designs you want to convert |
This method installs the plugin directly from GitHub without manual cloning.
-
Configure Figma MCP Server (one-time setup):
claude mcp add --transport http figma https://mcp.figma.com/mcp
-
Authenticate with Figma:
- Open Claude Code:
claude - Type
/mcpand press Enter - Locate figma in the list and select Authenticate
- Follow the browser prompt to authorize access
- Open Claude Code:
-
Add the Marketplace and Install:
# Add the marketplace from GitHub claude plugin marketplace add LPdsgn/FigmaCodeMaster # Install the plugin claude plugin install figma-code-master@lpdsgn
-
Verify Installation:
# Check that the marketplace was added claude plugin marketplace list # Then open Claude Code to verify the plugin claude # Inside Claude Code, type: /plugin
✅ You should see
lpdsgnin the marketplace list andfigma-code-masterin the/plugininterface.
Use this method if you want to modify the plugin or use a local version.
-
Clone the Repository:
git clone https://github.com/LPdsgn/FigmaCodeMaster.git cd FigmaCodeMaster -
Configure Figma MCP Server (one-time setup):
claude mcp add --transport http figma https://mcp.figma.com/mcp
Then authenticate via
/mcpin Claude Code (see Method 1, step 2). -
Add the Marketplace and Install:
# Windows claude plugin marketplace add ./ # Linux/Mac claude plugin marketplace add ./ # Install the plugin claude plugin install figma-code-master@lpdsgn
-
Verify Installation:
# Check that the marketplace was added claude plugin marketplace list # Then open Claude Code to verify the plugin claude # Inside Claude Code, type: /plugin
✅ You should see
lpdsgnin the marketplace list andfigma-code-masterin the/plugininterface.
💡 Tip: Run
/doctorinside Claude Code to verify that the Figma MCP server is connected properly.
Once installed, usage is simple and works in any project directory.
-
Copy the link to a Figma frame or file. Ensure the link includes
?node-id=...for specific frames. -
Start Claude Code in your project folder:
cd my-react-project claude
| Command | Description | Example |
|---|---|---|
/figma-code-master:design-to-code |
Convert a Figma frame to code | /figma-code-master:design-to-code https://figma.com/... |
/figma-code-master:extract-tokens |
Extract design tokens (colors, fonts) | /figma-code-master:extract-tokens https://figma.com/... |
/figma-code-master:validate-design |
Validate implementation vs Figma | /figma-code-master:validate-design components/Hero.tsx |
Tip: You can often just ask similarly in natural language: "Convert this design to code: [LINK]"
- Analyze: The plugin analyzes your
package.jsonto detect Framework (Next.js, Vue, etc.) and styling (Tailwind v3 vs v4). - Extract: It pulls design data, tokens, and screenshots from Figma via MCP.
- Generate: It creates component code that matches your existing project structure.
- Validate: Use
/validate-designto check pixel accuracy.
To update to the latest version:
Method 1 (Direct from GitHub):
# Update the marketplace
claude plugin marketplace update lpdsgn
# Update the plugin
claude plugin update figma-code-master@lpdsgnMethod 2 (Local Repository):
# Pull latest changes
cd FigmaCodeMaster
git pull origin main
# Update the marketplace
claude plugin marketplace update lpdsgn
# Update the plugin
claude plugin update figma-code-master@lpdsgnRun /mcp in Claude to check connection status. If disconnected, select it and choose Reconnect.
Verify the marketplace is added correctly:
claude plugin marketplace listIf missing, re-add it using the absolute path to the plugin folder.
If the plugin finds a conflict (e.g., Figma uses blue-500 but your code uses a different hex for blue-500), it will pause and ask you for a decision.
For issues or feature requests, please contact the maintainer or open an issue in the repository.
FigmaCodeMaster v1.0.0
January 2026
Made with ❤️ by Boosha AI