Figma design-to-code workflows, design token extraction, component inspection, and asset export. Use when translating Figma designs into code, extracting design tokens, or referencing component specs.
100
100%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
For project-specific design system details, see the frontend-design skill.
| Tool | Purpose |
|---|---|
figma/get_file | Retrieve full Figma file structure |
figma/get_file_nodes | Get specific nodes/frames |
figma/get_images | Export nodes as images |
figma/get_comments | Read design review comments |
figma/get_styles | Extract color/text/effect styles |
figma/get_components | List reusable components |
// figma/get_file — full file structure
{ "file_key": "a1b2C3d4E5", "depth": 2 }
// figma/get_file_nodes — specific frames
{ "file_key": "a1b2C3d4E5", "node_ids": ["123:45"] }
// figma/get_images — export as PNG at 2x
{ "file_key": "a1b2C3d4E5", "ids": ["123:45"], "format": "png", "scale": 2 }figma/get_file_nodes for the target node IDs and extract bounding boxes, fills, text styles, and auto-layout info.src/styles/tokens.css or a token JSON.data-testid for programmatic verification.// src/components/ui/Card.tsx — consumes tokens, matches Figma layout
import '../styles/tokens.css';
interface CardProps { title: string; description?: string }
export function Card({ title, description }: CardProps) {
return (
<div data-testid="card" className="card">
<span className="card-title">{title}</span>
{description && <p>{description}</p>}
</div>
);
}See REFERENCE.md for a verification script and Figma→CSS translation rules.
f5c8508
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.