figma-to-generateblocks

Convert Figma designs into GenerateBlocks V2 HTML files for WordPress.

111|16|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/wpgaurav/generateblocks-skills --skill figma-to-generateblocks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma-to-generateblocks
Source: https://github.com/wpgaurav/generateblocks-skills/tree/main/skills/figma-to-generateblocks
Command: npx skills add https://github.com/wpgaurav/generateblocks-skills --skill figma-to-generateblocks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill translates Figma design specifications into GenerateBlocks V2 HTML blocks for WordPress, streamlining handoff from design to implementation.

Core Features & Use Cases

  • Design-to-block conversion: Transform Figma frames, typography, colors, and layouts into reusable GenerateBlocks components ready to paste into WordPress.
  • Output-driven workflow: Outputs one or more HTML files named after the design (e.g., my-design.html) to facilitate clean deployment.
  • Use Case: When a designer provides a Figma mockup or CSS output, convert it into GB blocks for a production page.

Quick Start

Start by importing a Figma design or URL and request a GenerateBlocks-ready HTML file for the design.

Frequently Asked Questions about figma-to-generateblocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Figma designs to WordPress GenerateBlocks layouts?

To convert Figma designs to WordPress GenerateBlocks layouts, import a Figma frame, screenshot, or URL. The system processes design specifications and outputs ready-to-paste HTML files formatted specifically for GenerateBlocks V2 components.

Can I use a Figma URL or generated CSS to create GenerateBlocks HTML blocks?

Yes, you can use a Figma URL or generated CSS to create GenerateBlocks HTML blocks. The workflow accepts these inputs directly, translating typography, colors, and layouts into structured HTML files named after your design for WordPress deployment.

What is the best way to structure HTML files for GenerateBlocks V2 editor compatibility?

The best way to structure HTML files for GenerateBlocks V2 editor compatibility is to maintain separate styles and CSS fields while preserving required htmlAttributes as arrays. This ensures seamless integration when pasting the blocks into WordPress.

Does the Figma to GenerateBlocks conversion preserve separate styles and CSS fields?

Yes, the Figma to GenerateBlocks conversion preserves separate styles and CSS fields. It also separates blocks into individual HTML files and maintains htmlAttributes as arrays to ensure full editor compatibility and clean deployment.

What are the limitations when converting Figma frames to WordPress HTML blocks?

Limitations when converting Figma frames to WordPress HTML blocks include the strict requirement to output GenerateBlocks V2 compatible formats. Complex design elements must be accurately translated into separate HTML files with preserved array-based htmlAttributes to avoid editor conflicts.

Do I need GenerateBlocks V2 to use converted Figma design HTML files?

Yes, you need GenerateBlocks V2 installed in WordPress to use the converted HTML files. The outputted blocks are specifically formatted with separate styles and css fields to match the V2 editor's structural requirements and component architecture.