Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

design-auditor设计审核员

Agent Skill

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

总安装

1,335

周安装

54

GitHub Stars

103

下载量

419
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/borghei/claude-skills --skill design-auditor

简介

执行十二维度 UI/UX 系统审核,输出设计质量、AI 生成痕迹与无障碍三项独立评分。

  • 可检测 AI 生成内容中的模式化缺陷,校验色彩对比度与设计系统令牌合规性。
  • 通过命令行脚本运行审计任务,支持批量处理与阈值设定以提升效率。
  • 安装需从 GitHub 仓库获取,依赖 npx skills add 命令完成集成。
  • design-auditor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design Auditor

The agent performs systematic 12-category UI/UX audits, detects AI-generated slop patterns, validates WCAG color contrast, and checks design system token compliance. Produces three independent grades: Design (A-F), AI Slop (A-F), and Accessibility (A-F).


Quick Start

# Score a full design audit (12 categories -> 3 grades)
python scripts/design_scorer.py --input findings.json --output report.json --verbose

# Detect AI-generated slop in HTML/CSS
python scripts/ai_slop_detector.py --input page.html --css styles.css --threshold 0.6

# Check color contrast (single pair or batch)
python scripts/color_contrast_checker.py --fg "#333" --bg "#fff" --level AA
python scripts/color_contrast_checker.py --input color-pairs.json --level AAA --suggest-fixes

# Validate design system token compliance
python scripts/design_system_validator.py --tokens tokens.json --input src/styles/

Tools Overview

ToolInputOutput
design_scorer.py12-category audit findings JSONThree grades, category breakdown, prioritized recommendations
ai_slop_detector.pyHTML + optional CSS fileFindings with confidence scores (0.0-1.0), slop grade
color_contrast_checker.pyColor pairs (hex/rgb/hsl/named)WCAG pass/fail, ratios, compliant color suggestions
design_system_validator.pyDesign tokens JSON + CSS filesCompliance percentage, violations with token suggestions

All tools support --format json|text and --output for file writing.


Workflow 1: Full Design Audit

The agent evaluates 12 weighted categories in five passes:

  1. Visual Pass -- Visual Hierarchy (10%), Typography (8%), Color & Contrast (8%), Spacing & Layout (8%)
  2. Interaction Pass -- Interaction States (10%), Navigation & IA (8%)
  3. Platform Pass -- Responsive Design (8%), Accessibility/WCAG (12%)
  4. Polish Pass -- Motion & Animation (5%), Content & Microcopy (5%)
  5. Integrity Pass -- AI Slop Indicators (8%), Performance as Design (5%), Coherence Bonus (5%)
python scripts/design_scorer.py --input audit_findings.json --baseline last_sprint.json --format text --verbose

Three independent grades:

GradeDesign (weighted aggregate)AI Slop (inverted)Accessibility (WCAG)
A+95-100Highly originalAAA compliant
A90-94No detectable patternsFull AA compliant
B80-891-2 minor patternsMostly AA, 1-3 minor violations
C70-79Several AI patternsPartial AA
D60-69Heavily templatedSignificant gaps
F0-59Pure AI-generated slopFundamental failures

Validation checkpoint: Release gate requires minimum B Design grade and A Accessibility grade.


Workflow 2: AI Slop Detection

python scripts/ai_slop_detector.py --input index.html --css styles.css --threshold 0.6 --format json

The agent detects patterns across three categories:

Visual slop (confidence 0.4-0.9):

  • Generic hero section (full-width, centered text, gradient)
  • Stock gradients (trending purple-blue, pink-orange)
  • 3-column feature grid (icon + heading + paragraph x3)
  • Shadow/blur overuse on >60% of containers

Copy slop (confidence 0.5-1.0):

  • Vague CTAs: "Get Started", "Learn More" without context
  • Buzzword clustering: "Seamless", "Powerful", "Revolutionary"
  • Lorem ipsum residue or uniform paragraph lengths

Structural slop (confidence 0.4-0.8):

  • Template ordering: Hero > Features > Social Proof > Pricing > CTA > Footer
  • Cookie-cutter pricing (3 tiers, middle highlighted)

Each finding includes a remediation suggestion for making the element more intentional.


Workflow 3: Accessibility & Design System Compliance

Color contrast audit:

python scripts/color_contrast_checker.py --input brand-colors.json --level AA --suggest-fixes --format text

Input format:

[
  {"foreground": "#666666", "background": "#ffffff", "label": "body text"},
  {"foreground": "#999999", "background": "#f5f5f5", "label": "muted text"}
]

The agent checks against WCAG thresholds (4.5:1 normal text, 3:1 large text) and suggests the closest compliant alternative for failing pairs.

Design system validation:

python scripts/design_system_validator.py --tokens design-tokens.json --input src/styles/ --glob "*.scss"

Token file format:

{
  "colors": {"primary": "#1a73e8", "secondary": "#5f6368", "error": "#d93025"},
  "spacing": [0, 4, 8, 12, 16, 24, 32, 48, 64],
  "typography": {"body": "16px", "h1": "32px", "h2": "24px"},
  "radii": [0, 4, 8, 16, 9999]
}

Detects hardcoded colors, spacing, fonts, radii, shadows, z-indices, and transitions that deviate from tokens. Reports compliance percentage and suggests nearest token for each violation.

Validation checkpoint: Token compliance >= 90%. Zero off-system colors in production CSS.


Design Principles (Audit Operating System)

These 10 principles drive every finding evaluation:

  1. Specificity over vibes -- "Clean UI" is banned. Name the font, spacing scale, color system.
  2. Empty states are features -- "No items found" is a bug. Guide users to first action.
  3. Subtraction default -- every element must earn its place. When in doubt, remove it.
  4. Edge cases are user experiences -- 47-character names, zero results, slow networks, stale state.
  5. Four shadow paths -- happy path, nil input, empty input, error upstream. Blank screen = Critical.
  6. Loading states earn trust -- skeleton screens > spinners > blank pages.
  7. Consistency compounds -- one off-system color erodes the entire design language. Tokens are contracts.
  8. Motion has meaning -- decorative animation without purpose is noise.
  9. Accessibility is baseline -- WCAG AA is the floor. Accessibility findings are never "Low" priority.
  10. Performance is perceived design -- 3-second load feels broken regardless of visual quality.

Fix Session Rules

  • One issue = one question -- never batch multiple findings.
  • AUTO-FIX: Cosmetic -- spacing token mismatches, off-system colors to nearest token.
  • ASK: Structural -- layout changes, component swaps, navigation restructuring.
  • Max 30 fixes per session. Hard stop, then generate report.
  • Risk accumulator: component (+5), global style (+8), layout (+10), revert (+15). Stop at 20% of budget.
  • Revert on regression -- if fix breaks visual tests or introduces Critical finding, git revert immediately.

CI/CD Integration

jobs:
  design-checks:
    steps:
      - run: python scripts/color_contrast_checker.py --input color-pairs.json --level AA
      - run: |
          python scripts/design_system_validator.py --tokens tokens.json --input src/styles/ --format json > compliance.json
          python -c "import json; exit(0 if json.load(open('compliance.json')).get('compliance_percentage',0)>=90 else 1)"
      - run: python scripts/ai_slop_detector.py --input dist/index.html --threshold 0.7 --format json

Anti-Patterns

  1. Scoring categories too high relative to findings -- if there are 4 accessibility findings, the score should not be 8/10.
  2. Ignoring interaction states -- every interactive element needs: default, hover, focus, active, disabled, loading, error, empty, success.
  3. Color as sole information carrier -- information must not be conveyed by color alone.
  4. Skipping edge cases -- test with long names, empty data, error states, not just the happy path.

Troubleshooting

ProblemCauseSolution
design_scorer.py exits "Missing category"Input JSON missing required keysEnsure all 12 keys present under categories
Color checker rejects valueUnsupported formatUse hex, rgb(), hsl(), or named colors
AI slop detector finds zero on templated pageThreshold too highLower --threshold to 0.3
Validator reports "No CSS files found"SCSS not matchedPass --glob "*.scss"
Scores seem inflatedAuthor-provided scores too generousRe-evaluate each 0-10 score against finding count and severity

References

GuidePath
Audit Methodologyreferences/design_audit_methodology.md
AI Slop Patterns Catalogreferences/ai_slop_patterns.md
WCAG 2.1 Checklistreferences/accessibility_checklist.md

Integration Points

SkillIntegration
senior-frontendDesign audit on component library after build
senior-qaAccessibility and design regression in QA pipelines
code-reviewerAttach audit findings to frontend PR reviews
senior-devopsGate deployments on minimum compliance scores
product-team/ux-researcherFeed findings into usability research prioritization

Last Updated: April 2026 Version: 2.1.0

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.54%
按下载量换算149

Claude

29.95%
按下载量换算125

Cursor

19.21%
按下载量换算80

Gemini CLI

9.92%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills