一键导入
figma-to-code
Перенос Figma в код: Figma, pixel-perfect, перенеси из фигмы, dynamic/static, i18n, browser validation. EN: Figma to code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Перенос Figma в код: Figma, pixel-perfect, перенеси из фигмы, dynamic/static, i18n, browser validation. EN: Figma to code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Отлаживает browser-only failures через Chrome DevTools MCP и Playwright CLI. Используй для: консоль, сеть, runtime, layout, memory, performance, Lighthouse. EN triggers: browser debug, console, network, runtime, performance.
Маршрутизирует browser tasks только через managed Playwright CLI и Chrome DevTools MCP. Используй для: UI, визуально, скриншот, Figma, консоль, сеть, перфоманс. EN triggers: browser routing, UI validation, screenshots, visual QA, console, network.
Валидирует UI и сценарии через Playwright CLI evidence. Используй для: проверь UI, браузер, скриншот, регрессия, адаптив, бизнес-логика, визуально. EN triggers: validate UI, browser check, regression, responsive, screenshot.
Низкоуровневая browser automation через Playwright CLI. Используй для: screenshots, snapshots, headed sessions, traces, responsive, UI proof. EN triggers: Playwright CLI validation, screenshots, snapshots, traces.
Проводит visual QA для Figma, screenshots и reference images. Используй для: pixel-perfect, сравни с Figma, сравни с фото, diff. EN triggers: visual diff, pixel-perfect, compare Figma, reference image.
Маршрутизирует старые Webwright-запросы в управляемые CloakBrowser workflows. Используй для: длинная web-задача, RPA, extraction. EN triggers: compatibility browser task, long-horizon web task.
| name | figma-to-code |
| description | Перенос Figma в код: Figma, pixel-perfect, перенеси из фигмы, dynamic/static, i18n, browser validation. EN: Figma to code. |
Transfer designer-provided Figma layouts into production frontend code as accurately as possible while preserving architecture, design-system consistency, and runtime behavior.
User-facing conversation stays in Russian unless requested otherwise. Repository documentation, code comments, commit messages, and design-token files stay in English.
Use this skill without waiting for an explicit $figma-to-code call when the task is about:
Do not use it for design-system-only refactors that have no Figma source; use design-system-implementation instead.
Figma MCP is the source of truth for:
If Figma MCP is unavailable, say so and use only explicitly provided fallback assets such as screenshots or specs. Do not pretend a design was inspected.
Read ../../references/figma-delivery-contract.md for the mandatory implementation manifest, content classification, i18n, design-system, and final validation gate whenever the task is more than a one-off tiny visual tweak.
get_metadata first, identify target frames/sections, and avoid one broad implementation pass.get_design_context.get_screenshot for each target frame/section and keep it as the visual reference during implementation.get_variable_defs for variables/styles and use Code Connect or design-system lookup when available.static-i18n, config-backed, cms-admin-backed, api-domain-backed, or user-session-backed.shared, entities, features, widgets, pages, or app.design-validation and browser-validation: desktop, mobile, provided frame sizes, state matrix, screenshots under browser/, functional flow, business behavior, runtime health, i18n, and token/static scans.Match:
Extract or copy all required design assets when possible. Place reusable assets in the FSD-appropriate location, usually shared/assets or the owning slice when the asset is domain-specific.
Do not use placeholders if Figma assets are available. If an asset cannot be extracted, mark it as a blocker or unresolved gap.
Do not mark the implementation complete until the figma-delivery-contract.md validation gate is satisfied. If a gate is blocked by missing Figma access, credentials, unavailable services, or product decisions, report that blocker explicitly instead of delivering as complete.
For implementation work, report in Russian:
Figma scope: inspected frame/component and source context.Content model: dynamic/static/admin/i18n decisions.Design system updates: tokens/components/assets created or changed.FSD placement: where code was placed and why.Browser validation: screenshots/checks performed through rldyour-browser.Mismatches fixed: visual or functional gaps corrected.Residual gaps: missing assets, unavailable Figma context, unavailable credentials, or untested states.