Skill library

Agent skill Frontend

Build Design

Implement a Figma design or reference image using the project’s existing components, and compare the rendered result to the reference.

  • Figma to code
  • Design handoff
  • Visual QA

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add jakubkrehel/skills --skill build-design --agent claude-code --yes

Check this file in your project.claude/skills/build-design/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add jakubkrehel/skills --skill build-design

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An authorized Figma file with the two frame links or supplied screenshots, read access through a supported MCP for exact values, and the existing frontend tokens and components.

View operation manual

What this skill helps with

  • Read the design source and map it to existing tokens and components.
  • Implement the layout and visual details shown in the reference.
  • Compare a browser render against the design and fix visible gaps.

Good for

  • Figma-to-code handoffs
  • Implementing a hero from an approved mockup
Task
Build an approved inspection details panel from two owned Figma frames
Requirements
An authorized Figma file with the two frame links or supplied screenshots, read access through a supported MCP for exact values, and the existing frontend tokens and components.
Deliverable
A scoped implementation and element-by-element comparison, including mapped tokens, rounding, missing states and unwired behavior.
Skill name
build-design

Start from the actual design decision

An underspecified request

Use the design as inspiration, add a new token scale and fix neighboring pages.

This handoff should preserve what the approved frames show and make material deviations a visible decision.

A result you can check

  1. Identify two widths for one owned panel.
  2. Reuse the existing components and settle visible rounding before editing.
  3. Use a concrete design-versus-built table.

Build Design operation manual

A scoped implementation and element-by-element comparison, including mapped tokens, rounding, missing states and unwired behavior.

An authorized Figma file with the two frame links or supplied screenshots, read access through a supported MCP for exact values, and the existing frontend tokens and components.

  1. Read exact values and hold the frame references

    Identify two widths for one owned panel.

    Prompt · Step 1
    Use Jakub Krehel’s installed build-design Skill and read its SKILL.md first.
    
    Get the desktop and phone frames for [inspection details panel] from the authorized Figma file using the documented MCP read workflow. Confirm file or branch key and node IDs, load the companion Figma guidance, and record rendered frames, exact values, bindings, instances and any authorized downloadable assets. If only images are supplied, label measurements as estimates based on a stated scale.
  2. Map to current tokens and build the shown states

    Reuse the existing components and settle visible rounding before editing.

    Prompt · Step 2
    Use Jakub Krehel’s installed build-design Skill and read its SKILL.md first.
    
    Map the observed values, bindings and instances to local tokens and components. When an unmatched spacing or size is more than 2 px off, or the closest color lands on another scale step, ask before implementing. Build only the intended panel and shown states, leaving missing backend pieces as explicitly labeled props where needed.
  3. Compare the rendered panel at matching widths

    Use a concrete design-versus-built table.

    • Both specified widths have a comparison or explicit blocker, and every material difference appears as a known rounding, approved exception or open decision.
    Prompt · Step 3
    Use Jakub Krehel’s installed build-design Skill and read its SKILL.md first.
    
    Render both frame widths locally and compare the images and measurements element by element. Correct deviations caused during implementation, confirm what is rounded and identify missing or unwired states. Deliver the local preview URL, checked widths and comparison table. Mark visual comparisons unverified if you could not render them.

Find the relevant source guidance

Read the cited section in your installed Skill.

Build an approved inspection details panel from two owned Figma framesSKILL.md
Command or reference
Read the design at its source and Compare against the design
Examples
Both specified widths have a comparison or explicit blocker, and every material difference appears as a known rounding, approved exception or open decision.

Troubleshooting

Can I derive exact values from an exported PNG?

A PNG supports scale-based estimates. Read the authorized Figma nodes through the supported MCP for exact bindings and measurements.