figma-implement-design/SKILL.md
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.
npx skillsauth add lidge-jun/cli-jaw-skills figma-implement-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Translate Figma designs into production-ready code with pixel-perfect accuracy via the Figma MCP server. Supports read (design context, screenshots, assets) and write (create/update canvas nodes) workflows.
https://figma.com/design/:fileKey/:fileName?node-id=1-2
figma-desktop MCP: select a node directly in the Figma desktop app (no URL required)codex mcp add figma --url https://mcp.figma.com/mcp[features].rmcp_client = true in config.toml or run codex --enable rmcp_clientcodex mcp login figmaIf the design doesn't exist yet, use Figma Make (AI-powered design generation) as the upstream step:
Figma Make produces structured Figma nodes — the same workflow below applies to Make-generated designs.
From URL: Extract :fileKey (segment after /design/) and node ID (node-id query param).
https://figma.com/design/kL9xQn2VwM8pYrTb4ZcHjF/DesignSystem?node-id=42-15
kL9xQn2VwM8pYrTb4ZcHjF, nodeId: 42-15From desktop app (figma-desktop MCP only): tools auto-use the currently selected node; fileKey is not needed.
get_design_context(fileKey=":fileKey", nodeId="1-2")
Returns layout properties, typography, colors, component structure, spacing.
If response is truncated:
get_metadata(fileKey, nodeId) for the node mapget_design_contextget_screenshot(fileKey=":fileKey", nodeId="1-2")
Keep this screenshot accessible throughout implementation — it's the source of truth.
Download images, icons, SVGs returned by the MCP server.
localhost sources directly when providedUse Figma Variables (collections of color, spacing, typography, and sizing values) as the canonical design token source:
get_design_context response to identify which Variables are applied to each nodeCompare final UI against the Figma screenshot:
The Figma MCP server supports write-to-canvas — creating or updating Figma nodes programmatically:
create_node or update_node to push generated component variants back into FigmaLink production components to their Figma counterparts with Code Connect:
.figma.tsx (React) or .figma.swift (SwiftUI) files mapping Figma components to code// Button.figma.tsx
import figma from '@figma/code-connect'
import { Button } from './Button'
figma.connect(Button, 'https://figma.com/design/xyz/file?node-id=1-2', {
props: {
label: figma.string('Label'),
variant: figma.enum('Variant', { Primary: 'primary', Secondary: 'secondary' }),
},
example: ({ label, variant }) => <Button variant={variant}>{label}</Button>,
})
| Issue | Solution |
|-------|----------|
| Figma output truncated | Use get_metadata for node structure, then fetch specific nodes |
| Design doesn't match | Compare side-by-side with screenshot; check spacing, colors, typography in design context data |
| Assets not loading | Verify MCP server's assets endpoint accessible; use localhost URLs directly |
| Token values differ from Figma | Prefer project tokens for consistency; adjust spacing/sizing for visual fidelity |
tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.