Audit Design System 标志

Audit Design System

组织
edenspiekermann
audit-design-system

审核 Figma 屏幕或组件是否存在设计系统集成偏差,包括缺少共享组件、局部覆盖和未绑定的 Token。

Add to TypingMind

概览

发布者edenspiekermann
代码仓库Skills
技能名称audit-design-system
星标数
66
复刻数
7
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 edenspiekermann 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Audit Design System AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/edenspiekermann/Skills/tree/main/skills/audit-design-system
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/edenspiekermann/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/skills/audit-design-system .claude/skills/audit-design-system
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Audit Design System,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Audit Design System。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Audit Design System 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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 --json or 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.
  • 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

  1. Parse the Figma input. Accept a full Figma URL, or a fileKey and nodeId. Normalize node IDs from 72-293 to 72:293 when needed.

  2. Pull the minimum required evidence with Figma MCP read tools. Call get_design_context for the exact node under review. Call get_screenshot for visual confirmation. Call get_variable_defs to see which variables are actually bound. Call get_code_connect_map when relevant. Call get_metadata when the reviewed node is large, repeated, or board-like and you need to map nested instances before drilling in. Call search_design_system when you have identified a likely non-systemized primitive and there is a realistic chance of suggesting a concrete replacement from the audited design system.

  3. 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.

  4. When the evidence is strong enough, suggest a replacement candidate. After identifying a likely custom primitive, use search_design_system to 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.

  5. 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).

  6. 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:

  1. What concrete Figma evidence shows this is not systemized correctly?
  2. 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 would normally make this a component"
  • any statement based only on screenshot aesthetics without structural support

Replacement Suggestion Rule

When a finding is about a missing shared primitive, try to attach one likely replacement suggestion.

Use search_design_system after you already know what category of thing is missing, for example:

  • custom avatar cluster
  • bespoke stat tile
  • local alert card
  • hand-built navigation item

Only suggest a replacement when:

  • the node's role is clear
  • the search result belongs to the relevant library or audited file context
  • the candidate is structurally plausible for the finding

Good suggestion language:

  • This custom avatar frame could likely be replaced with Avatar from library X.
  • These repeated stat tiles appear to map to Metric item from library X.

Do not overstate:

  • do not claim the suggested component is definitely correct unless the evidence is explicit
  • do not force a replacement candidate into every finding
  • do not recommend a component from an unrelated library just because search returned it first

Output Format

JSON Output

When the selected output format is JSON, return this exact JSON shape with no markdown fences and no extra prose:

json
{
  "findings": [
    {
      "title": "<= 80 chars, imperative>",
      "body": "<valid Markdown explaining why this is a problem>",
      "confidence_score": 0.0,
      "priority": 0,
      "code_location": {
        "absolute_file_path": "/figma/<fileKey>/nodes/<nodeId>",
        "line_range": {
          "start": 1,
          "end": 1
        }
      }
    }
  ],
  "overall_correctness": "patch is correct" | "patch is incorrect",
  "overall_explanation": "<1-3 sentence summary>",
  "overall_confidence_score": 0.0
}

Schema notes:

  • Use overall_correctness: "patch is incorrect" whenever you found one or more design-system integration issues.
  • Use overall_correctness: "patch is correct" only when there are no findings.
  • For each finding, set code_location.absolute_file_path to /figma/<fileKey>/nodes/<nodeId> using the most specific offending node.
  • Always set line_range.start and line_range.end to 1.

Human-Readable Markdown Report

When the selected output format is markdown, present a formatted markdown report with:

  1. Header section:

    • File name and node being reviewed
    • Overall verdict: ✅ Passes / ⚠️ Needs Work / ❌ Significant Issues
    • Confidence percentage
  2. Summary: 2-3 sentences explaining the overall state

  3. Findings table: Quick overview with priority indicators

    • 🔴 Critical (priority 3): severe library-level or navigation-level issues
    • 🟠 High (priority 2): important reusable primitive or tokenization issues
    • 🟡 Medium (priority 1): moderate system drift
    • ⚪ Low (priority 0): nits or low-impact consistency issues
  4. Details section: Expand each finding with:

    • What's wrong (concrete evidence from Figma structure)
    • Why it matters (maintenance, consistency, theming impact)
    • Likely replacement, when supported by search_design_system
    • Affected node IDs for reference
  5. Recommendations: Prioritized action items

Output Rules

  • Keep findings focused on the highest-signal issues. Usually 0-6 findings.
  • Keep titles imperative and under 80 characters.
  • Always anchor each finding to a specific node ID so users can locate it in Figma.
  • For JSON output, do not invent filesystem paths. Use /figma/<fileKey>/nodes/<nodeId> exactly.
  • When a replacement suggestion is credible, include it in the finding body.

Review Heuristics

Use priority like this:

  • 0: nit or low-impact consistency issue
  • 1: moderate system drift
  • 2: important reusable primitive or tokenization issue
  • 3: severe library-level or navigation-level issue likely to propagate widely

Use confidence_score like this:

  • 0.9-1.0: direct structural evidence
  • 0.7-0.89: strong inference from repetition and nearby token usage
  • 0.5-0.69: plausible but incomplete evidence; prefer omitting instead

Board And Screen Scope

For a single screen:

  • inspect the root node
  • drill into repeated or high-leverage children
  • anchor findings to the most specific offending node

For a board or larger page:

  • use get_metadata first to identify candidate screens or repeated modules
  • review only the most relevant nodes instead of trying to audit everything
  • keep findings scoped and evidence-backed

Example Trigger Phrases

  • "Review this Figma screen for design-system integration"
  • "Audit this board for missing component usage"
  • "Check whether this design uses tokens correctly"
  • "/audit-design-system https://figma.com/design/..."
  • "/audit-design-system --json https://figma.com/design/..." (for JSON output)

Handoff Guidance

Use this routing rule after the review:

Do not force every review result through the single-finding fix skill. Some reviews are better used as scope discovery for a broader apply pass.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Audit Design System AI 技能有什么作用?

审核 Figma 屏幕或组件是否存在设计系统集成偏差,包括缺少共享组件、局部覆盖和未绑定的 Token。

为什么在 TypingMind 中使用 Audit Design System?

因为您只需安装一次,就能搭配任何模型使用。Audit Design System 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Audit Design System?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/edenspiekermann/Skills/tree/main/skills/audit-design-system。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Audit Design System?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Audit Design System 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Audit Design System 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Audit Design System AI 技能免费吗?

edenspiekermann 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇