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.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add jakubkrehel/skills --skill build-design --agent claude-code --yesCheck 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-designSelect 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 manualWhat 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- Repository
jakubkrehel/skills
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
- Identify two widths for one owned panel.
- Reuse the existing components and settle visible rounding before editing.
- 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.
Read exact values and hold the frame references
Identify two widths for one owned panel.
Prompt · Step 1Use 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.Map to current tokens and build the shown states
Reuse the existing components and settle visible rounding before editing.
Prompt · Step 2Use 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.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 3Use 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.