audit-design-system
БесплатноБез исполняемых скриптовНе проверенAudit a Figma screen or component for design-system integration drift, including missing shared components, local overrides, and unbound tokens.
от lightspeedwp★ 20 звёзд на GitHubОб этом скилле
Audit Design System
Review a Figma node for evidence that the design is not properly integrated with the design system.
This skill is read-only. When the user wants a write action afterward, downstream skills should use use_figma through a figma-use-style helper when the host environment requires one.
Output Format Selection
- Explicit user request wins:
- If the user asks for
--jsonor JSON, output raw JSON (no markdown fences, no prose). - If the user asks for
--markdown, markdown, or a specific human-readable format, output the human-readable markdown report.
- If the user asks for
- Codex Desktop app: Output raw JSON by default.
- Codex CLI and other chat-style environments: Output the human-readable markdown report by default.
- Machine-consumed review surfaces: Output raw JSON by default.
- Ambiguous environment: If the environment is unclear, output markdown by default.
Workflow
Parse the Figma input. Accept a full Figma URL, or a
fileKeyandnodeId. Normalize node IDs from72-293to72:293when needed.Pull the minimum required evidence with Figma MCP read tools. Call
get_design_contextfor the exact node under review. Callget_screenshotfor visual confirmation. Callget_variable_defsto see which variables are actually bound. Callget_code_connect_mapwhen relevant. Callget_metadatawhen the reviewed node is large, repeated, or board-like and you need to map nested instances before drilling in. Callsearch_design_systemwhen you have identified a likely non-systemized primitive and there is a realistic chance of suggesting a concrete replacement from the audited design system.Review for systemization failures, not visual taste. Look for places where the design should probably inherit from the design system but is locally constructed instead. Base every finding on structure visible in Figma: instances, duplicated frames, raw values, variant drift, or missing token bindings. Prefer omissions over weak findings.
When the evidence is strong enough, suggest a replacement candidate. After identifying a likely custom primitive, use
search_design_systemto find the closest matching component family from the audited design system. Include a candidate only when the match is credible from structure and naming, not just screenshot similarity. If search results are noisy or ambiguous, omit the candidate instead of guessing.Present findings in the appropriate format based on the environment. Use JSON for Codex Desktop and machine-consumed review surfaces, markdown for Claude Code CLI and other chat-style environments (see Output Format Selection above).
When the user wants a fix, route to the right downstream skill. Prefer fix-design-system-finding when one specific offending node should be repaired. Prefer apply-design-system when the user wants a broader screen-wide pass, multiple sections need coordinated remediation, or the review is being used to define scope before writing.
What To Flag
Shared UI primitives recreated as ad-hoc frames instead of component instances. Common targets: buttons, icon buttons, cards, alerts, pills, chips, avatars, stat tiles, tab bars, nav bars, FABs, list rows.
Repeated sibling structures that should clearly collapse into one reusable primitive. Example: three nearly identical stat tiles with different content.
Hard-coded visual values where the rest of the design system uses variables. Common targets: fills, strokes, text colors, radius, spacing, typography, shadows. Only flag this when the evidence is concrete, such as a raw hex value or bespoke geometry sitting beside tokenized peers.
Global navigation or other high-leverage patterns built from custom frames instead of system components. Flag these aggressively because drift there scales across many screens.
Variant drift inside a nominal component. Example: a local edit button with unusual size, stroke width, or radius that does not match the expected icon-button primitive.
What Not To Flag
- Purely aesthetic preferences.
- Copywriting or product decisions.
- Layout choices that can reasonably remain screen-specific.
- One-off compositions when the underlying primitives are already componentized and tokenized.
- Claims that require undocumented assumptions about a design library.
Evidence Standard
Every finding must answer both questions:
- What concrete Figma evidence shows this is not systemized correctly?
- Why does that matter for propagation, consistency, theming, or maintenance?
Good evidence includes:
- a node is a plain frame when it should be an instance
- several siblings duplicate the same structure
- raw color or geometry values appear where variables or standard primitives should apply
- a global pattern is custom-built
Weak evidence includes:
- "this looks custom"
- "I
Установить audit-design-system в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл audit-design-system?
Audit a Figma screen or component for design-system integration drift, including missing shared components, local overrides, and unbound tokens.
Как установить скилл audit-design-system?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audit-design-system запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic