Stats
Actions
Tags
Implement all nodes from component spec with Figma design context
How this skill is triggered — by the user, by Claude, or both
Slash command
/figma-to-code-subagents:implement-componentsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Resolve Params**:
Resolve Params:
componentSpec: from $ARGUMENTSprojectContext: from prompt contextBootstrap:
projectContextImplementation
componentSpec, process ONE node at a time, never batch or parallelize across nodes:
get_design_context with nodeId to get design context (typically React + Tailwind code snippets)get_variable_defs with nodeId to get design tokens (e.g., primary-500, primary-hover)get_screenshot with nodeId to get visual referencehttp://localhost:3845/assets/...) with local imports{/* ✅ This structure is what Figma gives you, keep it */}
<div className="absolute inset-[X%_Y%]">
<img src={icon} className="absolute block max-w-none size-full" />
</div>
{/* ❌ DO NOT flatten into this */}
<img src={icon} className="absolute inset-[X%_Y%] size-full" />
data-node-id to the root element of every node, use nodeId by default, repeat.nodeIds for repeated nodesrepeat: implement once, render repeat.count timescomponentSpec hierarchyPrepare for User Review:
./examples directory that renders all implemented nodesdevServerURLprojectContext (tech stack, styling, component library, reference docs, etc.)npx claudepluginhub nonoroazoro/ai --plugin figma-to-code-subagentsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.