/tempad-dev:figma-design-to-codefrom tempad-dev
Generates project-consistent UI code from visible Figma nodes using TemPad Dev MCP. Use when recreating, porting, or integrating Figma designs into the target project's framework, components, and styling.
Ships in tempad-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn visible Figma evidence into the smallest project-native implementation that preserves the intended result. Keep that result focal: project files, TemPad output, rules, and tool calls are evidence for the implementation, not deliverables to reproduce mechanically.
Require TemPad Dev MCP to provide trustworthy design evidence for the current
selection or exact node IDs inside the user's established scope. Never
reconstruct the design from memory, screenshots alone, or get_structure
metadata.
Use each source only for what it can establish:
Follow project instruction files for concerns outside Figma-to-code translation. Do not add policy for routing, analytics, i18n, CMS, or other orthogonal systems.
TemPad can establish visible hierarchy, layout, spacing, typography, color,
effects, token references, exported assets, and codegen unit context. It cannot
establish unevidenced states, responsive behavior, business logic, navigation,
validation, analytics, or project conventions. Treat get_structure as
hierarchy and geometry evidence only, never as missing style truth.
Read only local evidence that can change this implementation, in this order:
AGENTS.md or equivalent instructions;Determine the target file or component boundary, framework, styling method, token and asset paths, reuse candidates, dependency constraints, and narrowest relevant checks. Inspect Tailwind version and theme scales only when the project actually uses Tailwind-compatible tooling.
Do not inventory the repository broadly after the needed envelope is clear. If a missing project decision would materially change the result, ask before implementation.
Call TemPad Dev's get_code directly for the requested roots before implementing:
nodeId and nodeIds for the current selection, including multiple nodes;
use nodeId for one exact target or nodeIds for several. Use only IDs supplied
by the user or returned by TemPad inside the established scope;resolveTokens: false. Use true when literal output is requested
or a targeted read is needed to establish a consumer's actual value;preferredLang from the project target; treat returned lang as
authoritative because plugin configuration may override that preference;vectorMode: "snapshot"
when the active tool schema supports it.Keep each root's code, lang, warnings, assets, tokens, and codegen
together. In a batch, each results entry identifies its nodeId and carries
either a result payload or an error. Use that root's
codegen.config.{cssUnit,rootFontSize,scale} for exact unit conversion.
Preserve the requested composition within each root. Load only the guidance relevant to the returned evidence:
remainingNodeIds, errors, warnings,
wrong-file reads, or incomplete evidence.Before editing, distinguish:
Map by rendered value and semantics, not by a convenient name. A familiar component or token is a candidate, not proof of equivalence. If more than one material implementation path remains equally plausible, ask the user. Infer only low-consequence details and report any inference that affects the result.
rem output, convert with TemPad's actual
cssUnit, rootFontSize, and scale.data-hint-* attributes out of shipped code.Do not enter a visual tuning loop. Change the implementation again only when new project, design, tool, or verification evidence identifies a concrete defect.
Run the narrowest relevant checks defined by project instructions and scripts. Repair implementation failures and rerun the affected checks. Use an existing preview, screenshot, or comparison workflow when available; do not invent a universal verification matrix.
If no runnable check exists, report the implementation as unverified. Do not claim visual completion without a real project comparison path; ask the user to confirm the rendered result against Figma.
Pause the affected work and anything that depends on it when:
Continue independent work supported by sufficient evidence. Report any requested scope left incomplete and the concrete action needed to unblock it.
Report:
Keep absent concerns absent from the handoff. Do not produce a compliance checklist for branches the task never used.
If TemPad emits padding: 15px and the project has a space-4 token worth
16px, preserve 15px unless project evidence explicitly makes the token the
intended mapping. Project consistency selects the representation; it does not
authorize changing the visible design.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
figma-to-code, design-implementation, ui-codegen, tempad-dev
npx claudepluginhub ecomfe/tempad-dev --plugin tempad-dev2 skills in this plugin
Other plugins' skills for the same job