Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

audit-design-system审计设计系统

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

1,388

周安装

59

GitHub Stars

31

下载量

486
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:audit-design-system(审计设计系统)
来源仓库:https://github.com/edenspiekermann/skills
仓库路径:skills/audit-design-system
安装命令:
npx skills add https://github.com/edenspiekermann/skills --skill audit-design-system
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/edenspiekermann/skills --skill audit-design-system

简介

用于审查 Figma 设计节点是否与设计系统集成良好,检查视觉一致性、组件使用和规范遵循情况。

  • 适合评估设计稿的结构合理性、层级清晰度和交互逻辑,识别与现有设计系统的偏差。
  • 输出格式可选 JSON 或 Markdown,便于自动化处理或人工阅读,支持 Codex Desktop 等环境。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加,支持 Codex、Claude、Cursor 等宿主环境。
  • 该技能为只读模式,如需写入操作需配合 figma-use 类助手工具使用,确保变更可控可追溯。

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:

{
  "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

  1. Summary: 2-3 sentences explaining the overall state
  2. 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

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

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.9%
按下载量换算179

Claude

30.23%
按下载量换算147

Cursor

18.49%
按下载量换算90

Gemini CLI

9.4%
按下载量换算46

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills