Agent skill

Work With Design Systems Skill: Audit and Build in Figma

The work-with-design-systems skill lets an AI coding agent audit a Figma design system read-only, score each component from 0 to 100, and then build or fix it.

Install
git clone https://github.com/natdexterra/work-with-design-systems.git .claude/skills/work-with-design-systems
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the work-with-design-systems skill?

The work-with-design-systems skill gives your AI coding agent two modes for Figma design systems. Inspect mode runs read-only audits with WCAG checks and component scoring. Build mode creates components with variable bindings and slots, and an optional Phase 6 syncs tokens.css to your code.

This skill gives your AI coding agent two modes for Figma design systems. Inspect mode runs read-only audits with WCAG checks, component scoring and handoff docs. Build mode creates components, fixes foundations, adds slots and writes descriptions.

The skill detects the mode from your request, or asks when it is unclear. After an inspect run it pauses with the report and waits for your decision before any change is made.

Six audit modules

  • Token compliance. Variable binding coverage, with unbound fills, strokes, padding, gaps and corner radii as errors.
  • Interactive states. Variants are compared against the expected state matrix for each component type.
  • Accessibility. Computed WCAG 2.1 AA checks for color contrast, touch target size, font size and focus indicators.
  • Detached instances. Frames that match component names but are not instances, reported with page, parent path and node ID.
  • Naming quality. Generic Figma auto-names such as Frame 47 or Rectangle 3 inside components.
  • Component descriptions. Structured documentation per component: PURPOSE, BEHAVIOR, COMPOSITION, USAGE and CODE NOTES.

Build mode and Phase 6

Build mode runs six phases: discovery, foundations, file structure, components, QA and an optional sync to code. The skill pauses between phases so you can review the work before it moves on.

Phase 6 is off by default and triggers only on an explicit request. It generates tokens.css with three-layer indirection, a CI-ready audit script and an AI rules file for Claude Code, Cursor or Codex.

Where it fits

Best for

  • Auditing a Figma file and getting a weighted readiness score from 0 to 100 for each component.
  • Adding slots to compound components such as Card, Modal and Dialog in place of detach patterns.
  • Generating component documentation for developer handoff as a markdown and JSON bundle.
  • Exporting tokens.css and an AI rules file from a Figma design system that is already solid.

Not for

  • Auditing a rendered page with Lighthouse and the accessibility tree, then fixing source code against WCAG 2.2, which the web accessibility skill covers.
  • Building Tailwind CSS v4 design systems with CSS-first theme tokens, OKLCH semantic colors and CVA components, which the tailwind design system skill covers.
  • Scoring a front end on three grades for design, AI slop and accessibility from static HTML and CSS, which the design auditor skill covers.
  • Scoring a screenshot for color, layout and type, which the design critique MCP covers.