figma_integration
Figma design-to-code, design system extraction ve component generation rehberi.
от vuralserhat86★ 43 звезды на GitHub
Установить figma_integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
🎨 Figma Integration
Figma design-to-code workflow rehberi.
📋 Design Token Extraction
Figma Variables → CSS
:root {
/* Colors from Figma */
--color-primary: #3b82f6;
--color-secondary: #10b981;
/* Spacing from Figma */
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
/* Typography */
--font-size-sm: 14px;
--font-size-base: 16px;
}
🔧 Component Mapping
| Figma | React Component |
|---|---|
| Frame | <div> |
| Auto Layout | Flexbox |
| Component | React Component |
| Instance | Component usage |
| Text | <p>, <h1>, etc. |
📐 Layout Translation
Figma Auto Layout → CSS Flexbox
/* Horizontal, space-between, gap 16 */
.container {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 16px;
}
/* Vertical, start, gap 8 */
.stack {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
🎯 Best Practices
- Naming: Figma layer names = component names
- Variants: Figma variants = component props
- Tokens: Export design tokens as JSON
- Components: Start from atoms → molecules → organisms
Figma Integration v1.1 - Enhanced
🔄 Workflow
Kaynak: Figma for Developers
Aşama 1: Inspection
- Dev Mode: Figma Dev Mode'u aç ve CSS/iOS/Android kodunu incele.
- Assets: Görselleri SVG veya 2x/3x PNG olarak export et.
- Variables: Renk/Spacing token'larını
theme.tsveyatailwind.config'e ekle.
Aşama 2: component Build
- Structure: Frame yapısını
FlexveyaGridolarak koda dök. - Props: Varyantları (Primary/Secondary) component prop'u yap.
- Responsive: Auto Layout constraint'lerine göre responsive davranışı kodla.
Aşama 3: Verification
- Pixel Perfect: Overlay ile tasarım ve kodu üst üste kontrol et.
- States: Hover, Focus, Active, Disabled durumlarını atlama.
Kontrol Noktaları
| Aşama | Doğrulama |
|---|---|
| 1 | Tüm renkler hardcoded hex yerine variable mı? |
| 2 | Component Figma'daki gibi esniyor (resize) mu? |
| 3 | Yazı tipleri ve satır aralıkları birebir aynı mı? |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл figma_integration?
Figma design-to-code, design system extraction ve component generation rehberi.
Как установить скилл figma_integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл figma_integration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…