Transforms Figma designs into production-ready UI code using TemPad Dev as the authoritative source of design evidence.
Install
mkdir -p .claude/skills/implementing-figma-ui-tempad-dev && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9412" && unzip -o skill.zip -d .claude/skills/implementing-figma-ui-tempad-dev && rm skill.zipInstalls to .claude/skills/implementing-figma-ui-tempad-dev
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Implement integration-ready UI code from a Figma selection or a provided nodeId using TemPad Dev MCP as the only source of design evidence (code snapshot, structure, screenshot, assets, tokens, codegen config). Detect the target repo stack and conventions first, then translate TemPad Dev’s Tailwind-like JSX/Vue IR into project-native code without adding new dependencies. Never guess key styles or measurements; avoid screenshot tuning loops. If required evidence is missing/contradictory or assets cannot be handled under repo policy, stop or ship a safe base with explicit warnings and omissions.Key capabilities
- →Interprets Figma design markup and CSS
- →Maps design tokens to project-specific variables
- →Syncs component hierarchy and geometry from design nodes
- →Detects asset and dependency requirements from design files
How it works
Uses TemPad Dev MCP to fetch design evidence which is then mapped against existing local project instructions and coding conventions.
Inputs & outputs
When to use implementing-figma-ui-tempad-dev
- →Convert Figma to React components
- →Implement design tokens
- →Sync UI code with Figma
- →Update UI based on design files
About this skill
TemPad Dev: Figma Design to Code
Use this skill to turn TemPad Dev design evidence into project-consistent UI code.
TemPad Dev MCP must be available and able to provide trustworthy design
evidence for the current selection or provided nodeId. If not, stop and tell
the user to enable or reconnect TemPad Dev MCP.
Within this skill, TemPad Dev MCP is the authoritative source of design evidence. Treat:
- project files and project instructions as implementation truth when available
- TemPad Dev output as design truth
- the user as the source of truth for missing product or implementation decisions
Do not infer project conventions before reading local evidence.
For concerns orthogonal to Figma-to-code translation, follow project
instruction files such as AGENTS.md and other project instructions instead of
defining new policy in this skill. If such a concern is unspecified there and
would materially change the implementation, ask the user or stop.
Evidence model
Use three evidence channels for different jobs:
- Project evidence:
AGENTS.mdor equivalent project instruction files, design-system docs, token/theme docs, component docs, existing primitives, nearby implementations, framework/styling config, asset rules, and project scripts - Design evidence:
tempad-dev:get_codefirst for markup, styles, tokens, assets, warnings, and codegen facts;tempad-dev:get_structureonly for hierarchy, geometry, overlap, and retry targeting - User input: missing behavioral intent, responsive intent, target file, acceptable tradeoffs, asset or dependency decisions, or other product or implementation decisions that cannot be recovered from project or design evidence
What TemPad Dev can and cannot prove
TemPad Dev can prove:
- the visible structure of the current selection or a provided
nodeId - explicit layout, spacing, typography, color, radius, borders, shadows, gradients, masks, filters, compositing, and other rendered visual details
- token references and values when present
- exported assets and whether an SVG may safely adopt one contextual color
channel via
themeable - codegen facts such as actual output language,
cssUnit,scale, androotFontSize
TemPad Dev cannot prove:
- hidden, hover, active, loading, error, empty, disabled, or responsive states unless separately evidenced
- non-visual product requirements such as behavior, business logic, validation, navigation, or analytics
- project conventions, file placement, component boundaries, primitive-reuse policy, token-mapping policy, or asset workflow beyond what the project already establishes
- missing style truth from
get_structure; it is only a structure aid
Default operating rules
Do not output data-hint-* attributes.
Never invent visual details or behavior not evidenced, including color, typography, spacing, radius, borders, shadows, gradients, opacity, overlays, blur, hidden states, responsive behavior, interactions, or asset semantics.
Treat advanced or uncommon style output from TemPad Dev as intentional unless project constraints force an adaptation.
Only ask the user when the answer would materially change the implementation and cannot be established from project or design evidence. Typical blockers:
- more than one plausible target file or component boundary
- more than one plausible existing primitive or abstraction to reuse
- missing behavior, state, or responsive intent
- asset, dependency, or token workflow requiring a product decision
If a gap is minor and non-blocking, proceed with a clearly stated inference.
Prefer the smallest safe change. Do not perform unrelated refactors or add new abstractions unless project patterns clearly call for them.
Do not enter open-ended visual tuning loops without new evidence. If remaining differences cannot be proved from project or design evidence, warn clearly and stop or hand off for user validation.
Workflow
1. Read local evidence first
Read local evidence before implementing. Prioritize, in order:
AGENTS.mdor equivalent project instruction files- relevant design-system, token, and component docs
- existing primitives/components and nearby implementations
- config files and scripts that constrain output
Establish at least:
- framework/runtime and file conventions
- styling rules, including whether utilities are used and how classes are ordered or formatted
- token/theme system and mode handling
- asset and icon pipeline
- reusable primitives/components, file placement, and import path conventions
- the narrowest established project checks for this change, if any
Only if the project actually uses Tailwind or Tailwind-compatible tooling, detect Tailwind version and config before changing class syntax or ordering.
For Tailwind projects, also inspect the local theme scales relevant to exact- value mapping, especially spacing, sizing, radius, and typography.
If a material implementation constraint is still missing after local evidence, ask the user instead of inferring it.
2. Fetch the top-level design snapshot
Call tempad-dev:get_code first.
Use these defaults:
resolveTokens: false- pass
nodeIdonly when the user provided one; otherwise use the current selection - set
preferredLangto match the project target, such asjsxorvue
Use TemPad's default vector behavior unless the user explicitly asks for asset-preserving vector fidelity and the current MCP version clearly supports it.
Use resolveTokens: true only when the user explicitly does not want
design-token usage.
Treat returned lang as authoritative because TemPad Dev plugin or config may
override preferredLang.
Record these as design facts:
codelangwarningsassets, if presenttokens, if presentcodegen
Use codegen.config.{cssUnit,rootFontSize,scale} as the authoritative unit
context for exact-value mapping.
Prefer fetching the full requested top-level selection first so parent composition and containment are not lost.
3. Resolve incomplete or conflicting evidence before implementing
If get_code warns or fails, narrow uncertainty instead of guessing.
depth-cap: keep the returned top-level result as the source of parent layout and composition, then use returneddata-hint-idvalues to choose narrowerget_codefollow-ups for the subtrees you still need.- budget overflow or shell response: keep the returned parent shell as the composition source of truth, then fetch omitted child subtrees separately and fill them into that known shell. Prefer the smallest parent container that still preserves the shared layout for the child subtrees you must assemble. Do not treat plain string truncation as usable evidence.
- layout, hierarchy, or overlap uncertainty: call
tempad-dev:get_structure, but use it only to resolve hierarchy or geometry, or to choose a narrower parent-shell retry target. Do not treat it as missing style truth. - remaining contradiction: if project evidence, design evidence, and structure evidence still conflict after narrowing, stop.
- untrustworthy parent recovery: if you still cannot obtain a trustworthy
parent shell or parent composition via
get_code, stop full implementation and ask the user to narrow scope or choose the highest-priority subtree.
Retry policy:
- retry once only for transient transport or connectivity failures
- do not blind-retry deterministic issues such as invalid selection, hidden
node, wrong file,
depth-cap, budget overflow, or unreadable target; change scope or inputs first
If TemPad MCP appears unavailable, inactive, or pointed at the wrong file, stop and tell the user to:
- enable MCP access in TemPad Dev Preferences > Agent integration
- keep the correct TemPad Dev / Figma tab active
- use the MCP badge in the TemPad Dev panel to activate the correct file if multiple Figma tabs are open
If asking the user to narrow scope because of budget overflow, report the current consumption, limit, and overage from the error text.
4. Implement code in the established project style
Translate TemPad Dev output into the implementation's established patterns.
- Reuse existing primitives and abstractions when they fit without guessing.
- Keep the established framework and styling system. Do not introduce a second one.
- Follow established file placement and import conventions.
- If the implementation is utility-first, keep utilities and match existing conventions. Otherwise translate generated utilities into the established styling approach while preserving values.
- Preserve exact values. Do not coarsen arbitrary values such as
py-[4px],text-[12px], orfont-[600]into named utilities unless local project evidence proves the same rendered value; forremoutput, usecodegen.config.{cssUnit,rootFontSize,scale}to convert exactly. Apply this to spacing, sizing, inset, gap, radius,font-size,line-height,letter-spacing, andfont-weight. - Implement the base state only unless variants, interactions, or responsive behavior are evidenced.
- Preserve emitted pseudo-elements. If TemPad output includes
before:,after:,content-*, or equivalent CSS, keep them or use an established equivalent with the same rendered result. - Preserve other high-fidelity details from
get_code, including pseudo- classes, filters, masks, blend or backdrop effects, and other non-default visual properties, unless implementation constraints require adaptation. - New runtime or build dependencies require user confirmation unless explicitly waived.
- Extract new abstractions only when repetition plus established patterns justify it.
- If multiple plausible primitives, layout abstractions, or delivery strategies fit and evidence does not decide, ask the user instead of guessing.
Assets
Follow the established asset policy first.
- Download
Content truncated.
When not to use it
- →Generating original product concepts or inventing features
- →Performing aesthetic design reviews or critiques
- →Inferring missing interaction states not explicitly modeled
Prerequisites
Limitations
- →Cannot deduce hidden responsive behaviors not in design
- →Requires explicit project instructions to define styling implementation
- →Fails if the TemPad Dev MCP connection is unavailable
How it compares
It relies exclusively on codified design evidence rather than heuristic visual guessing.
Compared to similar skills
implementing-figma-ui-tempad-dev side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| implementing-figma-ui-tempad-dev (this skill) | 0 | 5mo | No flags | Intermediate |
| prowler-ui | 1 | 2mo | Review | Intermediate |
| frontend-design-zh | 0 | 5mo | Review | Intermediate |
| shadcn | 0 | 1mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
prowler-ui
prowler-cloud
Prowler UI-specific patterns. For generic patterns, see: typescript, react-19, nextjs-15, tailwind-4. Trigger: When working inside ui/ on Prowler-specific conventions (shadcn vs HeroUI legacy, folder placement, actions/adapters, shared types/hooks/lib).
frontend-design-zh
L-LesterYu
使用 React、Tailwind CSS 和 shadcn/ui 创建独特、生产级的静态网站——无需设计稿。从纯文本需求生成大胆、令人难忘的设计,具备反AI套路美学、移动优先响应式模式和单文件打包功能。适用于构建落地页、营销网站、作品集、仪表盘或任何静态Web界面。支持 Vite(纯静态)和 Next.js(Vercel部署)两种工作流。
shadcn
Rain-kl
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also
landing-page-guide-v2
bear2u
Create distinctive, high-converting landing pages that combine proven conversion elements with exceptional design quality. Build beautiful, memorable landing pages using Next.js 14+ and ShadCN UI that avoid generic AI aesthetics while following the 11 essential elements framework.
frontend-prompt-generator
gharam1234
Generate structured prompts for frontend development tasks following established patterns. Use when the user requests prompts for wireframes, UI implementation, data binding, or routing functionality in React/Next.js projects with specific formatting requirements (Cursor rules, file paths, test-driven development).
figma-implement-design
openai
Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma specs. Requires a working Figma MCP server connection.