Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Implement From Design

БесплатноБез исполняемых скриптовНе проверен

Use when implementing UI from Figma, Sketch, MasterGo, Pixso, Modao, MockingBot, screenshots, design selections, design tokens, or design-to-code tasks for…

bovinphangот bovinphang1 020 установок в других каталогах

Об этом скилле

Implement according to design draft

Purpose

Based on the design context of design tools (Figma, Sketch, MasterGo, Pixso, Mokou, Mock), high-fidelity implementation of pages or components emphasizes component reuse, design token mapping, accessibility, and production-oriented front-end implementation.

Supported design tools

Tools MCP Integration How to obtain design data
Figma figma / figma-desktop API to obtain design structure and variable definitions
Sketch sketch MCP Get screenshot of design selection
MasterGo mastergo API to get DSL structure data
Pixso pixso Local MCP gets frame data and code
Mo Dao modao MCP obtains prototype data and generates design descriptions
Mocke No MCP Acquired via user-provided screenshots, annotations, or exported CSS

Target

  • Realize the design draft as accurately as possible
  • Prioritize reusing existing project components before creating new ones
  • Map design variables to existing Tokens as much as possible
  • Keep implementations maintainable, well-typed, testable, and accessible
  • Avoid introducing duplication of basic components or parallel design systems

Procedure

1. Identify design sources

Select the design data acquisition method according to priority:

  • figma — Figma API integration
  • figma-desktop — Figma desktop integration
  • mastergo — MasterGo DSL data
  • pixso — Pixso local MCP
  • modao — Ink knife prototype data
  • sketch — Sketch selection screenshot
  • If none of the above MCPs are available, ask the user to provide design screenshots or annotations (applicable to tools without MCP such as Mocke)
  • If there is no authoritative design draft, but the task clearly requires a visual website, brand page, portfolio or high-aesthetic redesign, user-provided or locally generated section-level reference images can be used as a temporary source of visual truth; this source must be analyzed first and then implemented, and marked in the plan as not an authoritative design system.

2. Read the design context

Read the design context from the MCP or user-supplied design data:

  • Check layout structure
  • Check spacing, fonts, colors, variables, states, icons and component hierarchy
  • If MCP provides resource files or SVG/image sources, use them directly
  • If MCP has provided real resources, do not create placeholder resources by yourself
  • If the user provides screenshots instead of MCP data, infer visual information such as layout, color, font, etc. from the screenshots
  • If using images/screenshots for reference, first extract block structure, visual hierarchy, main and functional colors, font temperament, spacing rhythm, media position, interaction status hints and responsive risks before writing code.
  • Prioritize the use of clear section-level reference images or local detail images for multi-section pages; do not guess buttons, font sizes, spacing and component status from compressed long images.
  • Unreadable text, fake screenshots, uninspectable materials or conflict status in visual references cannot be copied directly; they need to be translated into the real content, real status or clear placeholder description of the project.

3. Search for reusable components

Before creating a new component, search the code base for reusable components, focusing on:

  • Button
  • Input / Select / Checkbox / Radio / Switch
  • Modal / Drawer / Dialog
  • Table / List / Card
  • Tabs / Breadcrumb / Pagination
  • Page Container/Block Container/Empty State/Loading State

4. Output realization plan

Before revising the document, produce a short implementation plan. The plan must include:

  • List of files that need to be changed
  • Component splitting plan
  • Status/data flow
  • Responsive behavior
  • The decision to reuse or create a new one
  • Design gaps or points of ambiguity
  • The authenticity of the source of the image/screenshot, and what visual details are covered by project tokens, component conventions, or accessibility requirements

5. Implementation by framework

Implement according to the front-end framework currently used by the warehouse:

  • Strictly follow the existing agreements in the warehouse
  • Prefer explicitly typed props and interfaces/types
  • Keep components small and composable
  • Extract duplicate logic into hooks/composables/utilities

6. Design Token Mapping

  • Prefer using existing design tokens, CSS variables, theme variables or tool classes
  • Do not hardcode colors, rounded corners and spacing unless there is no corresponding token
  • If the design uses a new Token, make it clear and don’t quietly hardcode it everywhere

7. Accessibility guarantee

  • Prioritize the use of semantic HTML
  • Make sure interactive controls have accessible names
  • Preserve visible focus styles
  • Check the keyboard operability of dialog boxes, menus, tabs, and form controls

8.

Полный SKILL.md на ClawHub

Установить Implement From Design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Implement From Design?

Use when implementing UI from Figma, Sketch, MasterGo, Pixso, Modao, MockingBot, screenshots, design selections, design tokens, or design-to-code tasks for production frontend components/pages; Chinese triggers include design draft, implementation by design.

Как установить скилл Implement From Design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Implement From Design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Implement From Design с