Figma integration

From Mindrally/skills · View interactive version

Figma integration is an AI agent skill from the GitHub repository Mindrally/skills. Guidelines for integrating Figma designs with development workflows using MCP servers and best practices

How to use this skill

Skill file

Figma Integration Guidelines

You are an expert in integrating Figma designs with development workflows. Apply these guidelines when working with Figma designs and implementing them in code.

Design-to-Code Workflow

Extracting Design Information

Component Mapping

Implementation Guidelines

Colors and Theming

Typography

Spacing and Layout

Components and Variants

Asset Handling

Images and Icons

Exporting Best Practices

Collaboration Workflow

Design Handoff

Feedback Loop

MCP Server Integration

Setup and Configuration

When using Figma MCP servers with Cursor:

  1. Navigate to Cursor Settings > Features > MCP
  2. Click "+ Add New MCP Server"
  3. Configure with appropriate name, type, and command/URL
  4. Refresh tool list to populate available tools

Available MCP Tools

Usage Guidelines

Quality Assurance

Visual Comparison

Design Token Validation

Figma API Usage

Reading Design Data

// Fetch file data
const file = await figma.getFile(fileKey);

// Get specific node
const node = await figma.getNode(fileKey, nodeId);

// Export images
const images = await figma.getImages(fileKey, {
  ids: [nodeId],
  format: 'svg',
  scale: 2
});

Common Operations

Best Practices

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.