NW

natdexterra/work-with-design-systems

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

53 stars 品質 64 トレンド 8MIT

Claude コードから Figma の設計システムを点検、造り、または拡張して下さい。 WCAGチェックとコンポーネントのスコーリング、可変バインディングとスロットを備えたビルドモード、オプションのフェーズ6はトークンに同期します.

概要

Figma デザイン システムで作業するためのクロードスキル — 2 つのモードを 1 つの場所で: (WCAG チェック、コンポーネントのスコーリング、ハンドオフの docs) と (コンポーネントの編集、基礎の修正、スロットの追加、記述の書き込み)。 必要に応じてモードをビルドする — は、コードベース用の tokens.css、監査スクリプト、AI ルールファイルを生成します。 クロードコード、カーソル、コーデックスで動作します。 メジャーリリースです。 以前は、Gene-design-system と呼ばれ、建物のみを処理します。 今、それは完全なライフサイクルをカバーします: 既存のファイルを検査し、ビルドするか、修正するかを決定し、オプションでコードにエクスポートします。 検査とビルドの間に、スキルは意思決定を常に一時停止します。 Phase 6 はデフォルトでオフで、明示的なリクエストでのみトリガーされます。 マイグレーションノートのCHANGELOGを参照してください。 URL が変更されましたが、古いリンクは自動的にリダイレクトされます。 Highlights: - — - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -.

概要(AI 翻訳)

Figma デザイン システムで作業するためのClaudeスキル — 1つの場所にある2つのモード:inspect (WCAGチェック、コンポーネントのスコーリング、ハンドオフのドキュメントを含む既読の監査)とビルド (コンポーネントの編集、基礎の修正、スロットの追加、記述の書き込み)。 モードをビルドするオプションは、Phase 6 (コードへの同期) — は、コードベース用の[tokens.css]、監査スクリプト、AIルールファイルを生成します。

クロードコード、カーソル、コーデックスで動作します。

v2.0 の新機能

メジャーリリースです。 以前は「generate-design-system」と呼ばれていました。 今、それは完全なライフサイクルをカバーします: 既存のファイルを検査し、ビルドするか、修正するかを決定し、オプションでコードにエクスポートします。 検査とビルドの間に、スキルは意思決定を常に一時停止します。 Phase 6 はデフォルトでオフで、明示的なリクエストでのみトリガーされます。

v1.xからの移行: 移行ノートのCHANGELOGを参照してください。 URL が変更されましたが、古いリンクは自動的にリダイレクトされます。

ハイライト:

  • 2つのモード — チェック(読み取り専用)とビルド(書き込み)、強制的な一時停止 -Phase 6 — コードへの同期(オプション、デフォルトでオフ) — トークンを生成します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

work-with-design-systems

A Claude skill for working with Figma design systems — two modes in one place: inspect (read-only audits with WCAG checks, component scoring, handoff docs) and build (creating components, fixing foundations, adding slots, writing descriptions). Build mode optionally extends to Phase 6 (sync to code) — generates tokens.css, an audit script, and AI rules file for your codebase.

Works with Claude Code, Cursor, and Codex.

What’s new in v2.0

This is a major release. The skill was previously called generate-design-system and only handled building. Now it covers the full lifecycle: inspect existing files, decide what to build or fix, optionally export to code. Between inspect and build, the skill always pauses for your decision. Phase 6 is OFF by default and only triggers on explicit request.

Migration from v1.x: see CHANGELOG for the migration note. Repo URL has changed but old links redirect automatically.

Highlights:

  • Two modes — inspect (read-only) and build (write), with mandatory pause between
  • Phase 6 — sync to code (optional, off by default) — generates tokens.css with three-layer indirection, AI rules file (Claude Code / Cursor / Codex), and CI-ready audit script. Closes the design-to-code loop.
  • Slots support for compound components (Card, Modal, Dialog) — replaces detach patterns
  • Mandatory structured component descriptions — Figma MCP passes them to agents as context
  • Six audit modules — token compliance (with severity tiers), interactive states, WCAG accessibility, detached instances, naming quality, component descriptions
  • Weighted readiness scoring — score each component 0–100 (errors weighted 1.0, warnings 0.3)
  • Three export formats — markdown, JSON, AI prompt for code generation
  • Patterns guide — how to document composition patterns in Figma (and optionally export them as spec files to repo)
  • Story-to-variant parity check when codebase has Storybook
  • Auto-rename suggestion when generic layer names exceed 20%

What it does

The skill auto-detects mode from your request (or asks if unclear).

Inspect mode — read-only. Runs audit modules:

  • Module 1 — Token compliance. Variable binding coverage. Errors: unbound fills, strokes, padding, gaps, corner radii. Warnings: raw opacity (naming the alias-with-opacity token that replaces it when the file holds one), blur radius, animation durations. Text nodes without text styles flagged separately.
  • Module 2 — Interactive states. Compares variants against expected state matrices per component type. Missing states (Pressed on Button, Error on Input) listed with full expected set.
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add natdexterra/work-with-design-systems
MCP 初心者?mcpskill.org のガイドから始めましょう →