moai-design-tools

Convert .pen designs into React and Tailwind CSS components.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/SayBGM/TubeExtract --skill moai-design-tools-saybgm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-design-tools
Source: https://github.com/SayBGM/TubeExtract/tree/main/.claude/skills/moai-design-tools
Command: npx skills add https://github.com/SayBGM/TubeExtract --skill moai-design-tools-saybgm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill bridges the gap between design and code, enabling seamless integration of design assets and specifications into development workflows.

Core Features & Use Cases

  • Design Fetching: Extract design context, metadata, and screenshots from Figma files.
  • Visual Rendering: Create and edit visual designs using Pencil MCP's AI-assisted tools.
  • Code Generation: Export finalized .pen designs into production-ready React and Tailwind CSS code.
  • Use Case: Convert a Figma design mockup into a functional React component with Tailwind styling, ensuring design fidelity and accelerating development.

Quick Start

Use the moai-design-tools skill to generate React components from the Figma design file located at 'https://www.figma.com/file/your-file-id'.

Frequently Asked Questions about moai-design-tools

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

FAQPage Schema
How do I convert Figma designs to React components with Tailwind CSS?

To convert Figma designs to React and Tailwind CSS, use the design fetching feature to extract design context and metadata, then export the finalized designs into production-ready code components.

Can I extract design tokens and screenshots directly from Figma files?

Yes, you can extract design context, metadata, and screenshots directly from Figma files using the integrated Figma MCP, which fetches visual specifications for code generation workflows.

How does Pencil MCP integrate into the design to code workflow?

Pencil MCP integrates into the design to code workflow by providing AI-assisted visual rendering tools to create and edit designs, which are then exported from .pen files into React and Tailwind CSS components.

Do I need a specific file format to generate React and Tailwind CSS code?

Yes, the code generation process specifically exports finalized visual designs from .pen files into production-ready React and Tailwind CSS code while ensuring style consistency through design token management.

What is the best way to ensure style consistency when converting designs to code?

The best way to ensure style consistency when converting designs to code is by managing design tokens during the export process, bridging design assets and development workflows seamlessly.