Logo Audit Design System

Audit Design System

Cộng đồng
schudarin
audit-design-system

Analyze, audit, inventory, and document an existing Figma design system through the Figma MCP server — components, variables, tokens, patterns, design debt, usage rules, causal relationships — and create design-system documentation pages in Figma on request. Use when the user asks to audit, inventory, map, document, or find debt in a Figma file, page, frame, component set, or selection. Read-only by default; modify Figma only when the user explicitly asks. Not for designing or building screens — that is design-screens; not for repairing broken variable bindings — that is figma-fix-variable-bindings.

Tổng quan

Nhà phát hànhschudarin
Kho mãchudarin-design-skills
Tên kỹ năngaudit-design-system
Sao
4
Bản fork
0
Tệp đi kèm
9
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được schudarin công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Audit Design System trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/schudarin/chudarin-design-skills/tree/main/skills/audit-design-system
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/schudarin/chudarin-design-skills.git /tmp/chudarin-design-skills
mkdir -p .claude/skills
cp -r /tmp/chudarin-design-skills/skills/audit-design-system .claude/skills/audit-design-system
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Audit Design System trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Audit Design System ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Audit Design System không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Figma Audit Design System

Use this skill to analyze real Figma files and help build a tokenized design system grounded in actual layouts, components, variables, and product flows.

Operating mode

Work read-only by default.

You may inspect Figma files, pages, frames, components, instances, variables, screenshots, libraries, styles, layout structure, and usage patterns.

A read-only use_figma script is inspection: run it without asking. Read-only means the script only returns data and sets nothing on any node, variable or style.

Do not create, edit, delete, rename, move, or reorganize Figma content unless the user explicitly asks to do so.

If the user asks to analyze, audit, find, compare, document, propose, or recommend, stay read-only.

If the user asks to create, add, insert, update, modify, rename, organize, or publish in Figma, you may use write-capable Figma MCP tools, but do not modify source product screens unless the user specifically asks.

Do not analyze the codebase or Code Connect mappings.

Primary objective

Build design-system knowledge from evidence, not assumptions.

For every important finding, connect:

  1. Product scenario
  2. User intent
  3. Interface decision
  4. Component or pattern
  5. Token dependency
  6. Design-system rule
  7. Evidence from Figma
  8. Confidence level

MCP workflow

When the user provides a Figma URL or selection:

Load references/analysis-framework.md at the start of any file audit — it carries the scope map, the file-map table, the inventory method and the P0–P3 prioritisation.

  1. Determine the scope: file, page, frame, selection, component set, or flow.
  2. Use Figma MCP tools to inspect metadata, design context, screenshots, variables, libraries, and existing components.
  3. Build a file map.
  4. Build a component inventory.
  5. Build a token inventory.
  6. Build a pattern inventory.
  7. Detect repeated UI decisions and infer causal relationships.
  8. Separate components, variants, states, patterns, templates, local exceptions, and design debt.
  9. Recommend tokenization only when a value has repeatable semantic meaning.
  10. Produce the requested output or prepare Figma documentation pages.

Use tools in this order when applicable:

  1. get_metadata
  2. get_design_context
  3. get_screenshot
  4. get_variable_defs
  5. get_libraries
  6. search_design_system
  7. use_figma: read-only scripts for what the tools above do not return — component description and componentPropertyDefinitions, collections, modes, scopes and code syntax of variables, variable bindings on text styles, unbound fills, unstyled text. Writes only after an explicit write instruction. Before the first call, read-only included, load your tool's own Figma API instructions (figma-use, or the MCP resource skill://figma/figma-use/SKILL.md) plus figma-plugin-api-rules

If a listed tool is unavailable in the current MCP server, use the closest available Figma MCP tool and state which expected data could not be inspected.

Evidence rules

For each important conclusion, include:

  • Figma page or frame
  • Node or component name when available
  • Observed value or variable
  • Repeated usage count when available
  • Screenshot reference when useful
  • Source: script or screenshot
  • Confidence: high, medium, or low

A screenshot shows what is drawn on the canvas. Descriptions, component properties, bindings, scopes, code syntax and modes live in the panel, so a finding about them rests on a script read. When no script could run, such a finding is low confidence and goes into the list of what could not be inspected.

Use confidence levels:

  • High: three or more examples, plus component or variable evidence.
  • Medium: two or three examples, with partial structure.
  • Low: one example or insufficient MCP structure.

Label recommendations clearly. Do not present recommendations as existing facts.

Classification rules

Classify every repeated UI element as one of:

  • Primitive token
  • Semantic token
  • Component token
  • Component
  • Component variant
  • Component state
  • Pattern
  • Template
  • Local exception
  • Design debt

A component candidate should be recommended only when it passes the new-component gate in references/governance-rules.md and meets at least one condition:

  • Appears in three or more places
  • Has multiple states
  • Has multiple variants
  • Supports a critical product flow
  • Is used across multiple product areas
  • Has accessibility implications
  • Should be governed centrally

Component analysis

For each component or component candidate, document:

  • Purpose
  • Product scenarios
  • User intent
  • Anatomy
  • Variants
  • States
  • Properties
  • Token dependencies
  • Accessibility requirements
  • Usage rules
  • Do and don't examples
  • Examples from Figma
  • Design debt
  • Recommendations

Load references/component-checklist.md when documenting or auditing components — the spec structure, the required checks per interactive component, and a coverage list of common component families.

Check states for all interactive components:

  • default
  • hover
  • pressed
  • focused
  • disabled
  • loading
  • selected
  • error
  • success
  • warning
  • empty
  • skeleton/loading where applicable

Pattern analysis

Separate components from patterns and templates.

Use this distinction:

  • Component: reusable UI unit with properties, variants, and states.
  • Pattern: reusable solution to a user or product problem, often composed of several components.
  • Template: page or layout structure for a type of screen.

Example:

  • Input = component
  • Search with filters = pattern
  • Catalog page = template

Load references/pattern-checklist.md when the user asks for pattern analysis, product-flow analysis, or template recommendations.

Tokenization methodology

Use three token layers:

  1. Primitive tokens
  2. Semantic tokens
  3. Component tokens

Primitive tokens represent raw values.

Examples:

  • color.blue.500
  • color.gray.900
  • space.4
  • space.8
  • radius.md
  • font.size.16
  • shadow.1
  • motion.duration.fast

Semantic tokens represent interface roles.

Examples:

  • color.bg.canvas
  • color.bg.surface
  • color.text.primary
  • color.text.secondary
  • color.border.default
  • color.border.focus
  • color.action.primary.bg.default
  • color.action.primary.bg.hover
  • color.feedback.danger.bg

Component tokens represent component-specific decisions.

Examples:

  • component.button.container.bg.primary.default
  • component.button.container.bg.primary.hover
  • component.button.label.color.primary.default
  • component.input.border.color.error
  • component.card.container.radius.default

Do not create a semantic token only because a raw value repeats.

Create a semantic token when the value:

  • Has a repeatable role
  • Needs centralized governance
  • Appears across multiple components or patterns
  • Needs mode, theme, or brand switching
  • Has accessibility implications
  • Is likely to change as a design decision

Create component tokens only when the component needs independent control over variants, states, modes, or theming.

Avoid token names based on appearance:

  • blueButton
  • grayText
  • primaryBlue
  • lightGray2

Prefer role-based names:

  • color.action.primary.bg.default
  • color.text.secondary
  • color.border.focus

Load references/token-taxonomy.md for detailed naming, variable structure, mode mapping, and token-decision rules.

Figma Variables structure

When proposing Figma Variables, use this collection structure unless the user provides another standard:

  • Primitive
  • Semantic
  • Component
  • Typography
  • Motion

Use modes when needed:

  • Light
  • Dark
  • High contrast, if required

Use slash-style Figma variable names when appropriate:

  • color/bg/canvas
  • color/text/primary
  • color/action/primary/bg/default
  • component/button/container/bg/primary/default

Causal relationship format

For repeated elements, and whenever the user asks why elements are used, how components relate to scenarios, or which rule should be documented, use the template in references/causal-map-template.md.

Figma documentation pages

When the user asks to create design-system documentation in Figma, create only the pages this run fills.

Do not modify product screens unless the user explicitly asks.

For documentation frames, use clear headings, tables, examples, and source references.

When the file already has documentation boards, they set the look of every new or rebuilt one. A board shows itself by its make-up: a header with a title, text blocks next to component samples, labelled rows of states or widths, a name or a page that marks it as documentation. Take their header, text styles, colours, spacing and board width in full. A reference library the user points to lends only the way of showing: which sections a board has, how states and widths sit side by side, where the grid is drawn. Its styling is never copied over boards the file already has; one board that looks different from its neighbours is a defect.

Load references/figma-documentation-structure.md before creating documentation pages in Figma: the page list, the build rules and the check that must pass before the boards are shown.

Default output

If the user does not specify a format, return:

  1. Short summary
  2. File map
  3. Component inventory
  4. Token inventory
  5. Pattern inventory
  6. Causal map
  7. Design debt
  8. Recommended Figma documentation structure
  9. Prioritized next actions

If the user explicitly asks to create documentation in Figma, create Figma pages and frames instead of only responding in chat.

Quality gates

Before finalizing recommendations, check:

  • Similar elements use the same tokens.
  • Component variants are not duplicates.
  • States are complete for interactive components.
  • Naming is consistent.
  • Raw values are not used where semantic tokens are needed.
  • Primitive, semantic, and component tokens are not mixed.
  • Accessibility states are documented.
  • Design debt is separated from intentional exceptions.
  • Every major conclusion has evidence and confidence.

Load references/accessibility-checklist.md when the user asks for component specs, interactive states, or accessibility review.

Load references/governance-rules.md when the user asks how to maintain, version, approve, or evolve the design system.

Do not

  • Do not modify Figma unless explicitly asked.
  • Do not analyze the codebase or Code Connect.
  • Do not invent components without labeling them as recommendations.
  • Do not treat every repeated value as a token.
  • Do not create components from one-off layout details.
  • Do not ignore existing variables, styles, libraries, or components.
  • Do not present guesses as facts.
  • Do not overwrite or restructure product screens without explicit permission.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Audit Design System làm được gì?

Analyze, audit, inventory, and document an existing Figma design system through the Figma MCP server — components, variables, tokens, patterns, design debt, usage rules, causal relationships — and create design-system documentation pages in Figma on request. Use when the user asks to audit, inventory, map, document, or find debt in a Figma file, page, frame, component set, or selection. Read-only by default; modify Figma only when the user explicitly asks. Not for designing or building screens — that is design-screens; not for repairing broken variable bindings — that is figma-fix-variable-...

Vì sao nên dùng Audit Design System trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Audit Design System là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Audit Design System trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/schudarin/chudarin-design-skills/tree/main/skills/audit-design-system. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Audit Design System?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Audit Design System với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Audit Design System với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Audit Design System có miễn phí không?

Có. Kỹ năng này được schudarin phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇