figma-build
Skill by awdr74100
Builds Figma designs from code or a written description in the connected Figma file. It reuses the file's existing components, variables and styles instead of drawing hardcoded primitives. Aimed at people who want code or specs turned into Figma designs.
Install figma-build
Built from the published package, never by AI.
git clone --depth 1 https://github.com/awdr74100/figwright /tmp/figwright && mkdir -p ~/.claude/skills && cp -r /tmp/figwright/skills/figma-build ~/.claude/skills/figma-buildRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/awdr74100/figwright /tmp/figwright && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/figwright/skills/figma-build ~/.gemini/antigravity-cli/skills/figma-buildAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
figma-build is an agent skill that turns code or a description into a Figma design. It works on the Figma file open in the plugin's current session, so the target file must be connected and open. The skill is described as the reverse of figma-codegen, which reads Figma designs into code.
Before building, the skill reads the file's variables, components and styles, along with the source's own stack and theme values. It binds colours and spacing to existing tokens and places component instances where a matching pattern exists. When nothing equivalent exists, it can author new design system assets. It also supports Motion animations drawn from CSS, Framer Motion or GSAP, and ends with screenshot checks. It suits full screens, sections, single components and design system assets.
Written from the project's SKILL.md and checked against it.
What it can do
- pingChecks that a Figma plugin is connected before building starts.
- list_filesLists the connected Figma files when more than one is open.
- use_fileClaims one connected file so later calls write to it, not the one in front.
- get_variable_defsReads the file's colour, spacing, radius and typography variables.
- scan_componentsFinds existing components to instance rather than rebuild them.
- get_stylesLists shared paint, text and effect styles that can be applied.
- create_instancePlaces matching components from the file into the new design.
- bind_variable_to_paintBinds a colour to an existing variable instead of a hardcoded value.
- create_frameCreates a styled frame with fills, strokes, auto layout and clipping in one call.
- get_screenshotRenders a built node so it can be checked against the source.
What you need
- A connected Figma plugin session
- The target Figma file open in that session
Try asking
- Build this React login card in my open Figma file using its components.
- Recreate this Vue settings page as a Figma design.
- Add a landing page section to Figma using the existing design system.
Good to know
- Works only on the Figma file open in the connected session. There is no fetch-by-URL.
- Motion animation is Figma Design only and is listed as beta.
- Tokens that live in a published library must be imported before they can be bound.
- Colours from code are treated as sRGB, which matters in Display P3 files.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/figma-build/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/assemble-screens.md5 KB -
references/author-design-system.md9 KB -
references/motion.md8 KB -
references/write-rules.md28 KB
Alternatives to figma-build
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
figma-build: common questions
What is the difference between figma-build and figma-codegen?
figma-build creates or updates designs in Figma from code or a description. figma-codegen goes the other way and reads Figma designs into code.
Does it reuse existing components or create new ones?
It reuses existing components, variables and styles first. It only builds new design system assets when the file has no equivalent.
Can it work with more than one Figma file open?
Yes. When several files are connected, it uses list_files and use_file to claim one before writing to it.
How do I install figma-build?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is figma-build free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is figma-build safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to figma-build?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
