plugins/skills/figma-to-code-subagents/skills/implement-components/SKILL.md
Implement all nodes from component spec with Figma design context
npx skillsauth add nonoroazoro/ai implement-componentsInstall 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.
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.)testing
Optimize prompts for AI agents and skills. Use when refining SKILL.md files, agent definitions, or any AI instruction set. Focuses on token efficiency, clarity, and actionability.
development
Implement all nodes from component spec with Figma design context, fix code based on audit results
development
Convert Figma designs to frontend code by orchestrating an Agent Team
development
Architecture and component design expert, design the component spec based on Figma design data and frontend best practices.