apply-design-system

Connects existing Figma designs to published design system components section by section.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/yerzong/TEMP-LEAGUE --skill apply-design-system-yerzong
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: apply-design-system
Source: https://github.com/yerzong/TEMP-LEAGUE/tree/main/.claude/skills/apply-design-system
Command: npx skills add https://github.com/yerzong/TEMP-LEAGUE --skill apply-design-system-yerzong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Existing Figma designs often contain detached layers, local wrappers, and one-off components that drift from the published design system. This Skill reconciles those screens by auditing sections, mapping them to library components, and swapping or rebuilding them with verified library instances. ## Core Features & Use Cases - Section Classification: Sorts each screen section into already-connected, exact-swap, compose-from-primitives, or blocked buckets before editing. - Safe Incremental Editing: Backs up the target frame, updates one section at a time, preserves position and size in non-auto-layout parents, and validates each change with screenshots. - Import Failure Handling: Detects failed component imports, verifies exact component keys, and marks sections as blocked with concrete reasons instead of pretending they are connected. - Use Case: A designer has a mobile dashboard built from detached local layers. The Skill audits the screen, swaps matching sections for published library variants, rebuilds the header from library primitives, and reports exactly which sections were swapped, composed, or blocked. ## Quick Start Use apply-design-system to review this Figma screen and connect its sections to the published design system components.

Frequently Asked Questions about apply-design-system

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

FAQPage Schema
How do I connect an existing Figma design to a design system?▼

Audit the screen to identify drifting sections, classify each as exact-swap, compose-from-primitives, or blocked, then replace sections one at a time with library components. Back up the frame first and validate each change with a screenshot.

How do I replace local Figma components with library components?▼

Use swapComponent() when the existing node is already an instance of a compatible family, preserving overrides. For local wrappers around mixed content, rebuild the section beside the original from library primitives, then compare visually before replacing.

When should I use apply-design-system instead of fixing a single finding?▼

Use this Skill for multi-section reconciliation across a screen. If a review produced only one narrow finding on a specific node, use the narrower fix-design-system-finding workflow so the write scope stays small.

What happens when Figma component import fails?▼

The workflow stops, checks whether the exact component key exists in the target file, verifies the key in the library, and retries with the component key instead of the component-set key. If imports still fail, the section is marked blocked with the concrete reason.

Does swapping components work in non-auto-layout Figma frames?▼

Yes, but it is treated as a layout-risk operation. The workflow preserves x, y, width, and height explicitly because new instances do not inherit the old node's position or size, and it warns about drift in absolute-positioned parents.