label

Renames Figma frame layers to role-based PascalCase design-system names.

Updated Aug 10, 2026
One-click install
npx skills add https://github.com/ledtorch/coding-agent-workflow --skill label-ledtorch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: label
Source: https://github.com/ledtorch/coding-agent-workflow/tree/main/skills/label
Command: npx skills add https://github.com/ledtorch/coding-agent-workflow --skill label-ledtorch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Figma files accumulate default layer names like "Frame 13" or "Group 2" that make handoff and maintenance painful. This Skill renames a selected frame and all its descendants to clear, role-based names matching your design-system convention — without touching anything else. ## Core Features & Use Cases - Convention-driven renaming: Applies PascalCase Category + Qualifier names (e.g. ButtonPrimary, IconBadge) drawn from a fixed design-system vocabulary (Icon, Button, Nav, List, Form, Card, Sheet, Element, Banner, Illustration, Marker). - Safe, name-only writes: Never modifies design, layout, text content, or structure — only the name property. Instance-internal nodes (ids containing ;) are automatically skipped. - Figma MCP integration: Reads structure via get_metadata and get_design_context, then renames through use_figma, with a TalkToFigma fallback for live-selection work. - Use Case: Paste a Figma node URL for a messy screen and receive a before/after tree where every layer has a meaningful, library-consistent name, plus a list of skipped and already-correct nodes. ## Quick Start Run /label with a Figma node URL, such as "label this frame: https://figma.com/design/abc123/MyFile?node-id=13126-26561", to rename its layers to the design-system convention.

Frequently Asked Questions about label

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename Figma layers to match a design system convention?

Provide a Figma node URL to the label command, which reads the frame's subtree, classifies each node, and applies PascalCase Category + Qualifier names like ButtonPrimary or IconBadge. It reports a before/after tree when finished.

What naming convention does Figma layer labeling use?

Names follow PascalCase in a Category + Qualifier shape, using a fixed category vocabulary: Icon, Button, Nav, List, Form, Card, Sheet, Element, Banner, Illustration, and Marker. Existing peer naming patterns in the file take precedence over generic guesses.

Can I rename layers inside a Figma component instance?

No. Instance-internal nodes, identified by ids containing a semicolon, inherit their names from the source component and cannot be overridden. The Skill skips these nodes and lists them as skipped in its report.

Does renaming Figma layers change the design or layout?

No. The Skill enforces a hard name-only invariant: it writes only the node name property and never touches fills, size, layout, auto-layout, structure, or text content. If a step would affect anything else, it stops and reports.

What tools are needed to rename Figma layers from an AI agent?

The default path uses the official Figma MCP server with get_metadata, get_design_context, and use_figma. A TalkToFigma plugin fallback exists for live-selection work, requiring the plugin open and a joined channel.