Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

design-review设计评审

Agent Skill

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

总安装

1,248

周安装

50

GitHub Stars

公开资料未说明

下载量

404
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/shiplightai/agent-skills --skill design-review

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。

  • 使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于研究检索类任务,通过 npx skills add 命令从指定 GitHub 仓库安装。
  • design-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design Review

Evaluate your application's visual quality and usability against established design standards. This review catches issues that typically require a trained designer's eye — responsive breakpoints, accessibility compliance, visual hierarchy, spacing consistency, and internationalization readiness.

When to use

Use /design-review when:

  • Shipping UI without a designer reviewing it
  • Before a launch or demo
  • After significant UI changes or redesigns
  • Checking accessibility compliance (WCAG 2.1 AA)
  • Validating responsive behavior across devices

Standards Referenced

  • WCAG 2.1 Level AA — Web Content Accessibility Guidelines
  • Material Design / Human Interface Guidelines — spacing, touch targets, typography scales
  • ISO 9241-110 — Interaction principles (suitability, self-descriptiveness, conformity)
  • APCA — Advanced Perceptual Contrast Algorithm (next-gen contrast)

Phase Overview

Phase 1: EDUCATE   → Brief context on what we check and why
Phase 2: SCOPE     → Identify pages, breakpoints, and focus areas
Phase 3: ANALYZE   → Browser-based checks with evidence capture
Phase 4: REPORT    → Findings with screenshots, scores, confidence
Phase 5: REMEDIATE → Fix guidance + YAML regression tests

Phase 1: Educate

Why this matters: 94% of first impressions are design-related. Poor visual quality erodes trust even when functionality is correct. Accessibility issues affect 15-20% of users and carry legal risk (ADA lawsuits increased 300% since 2018).

This review checks your app against objective, measurable design criteria — not subjective taste. Every finding references a specific standard.


Phase 2: Scope

Gather context

  1. Auto-detect — scan the project for:

- Framework (React, Vue, Next.js, etc.) - CSS approach (Tailwind, CSS modules, styled-components, etc.) - Design system in use (if any) - Route structure → list of pages - Existing a11y tooling (eslint-plugin-jsx-a11y, axe-core, etc.)

  1. Ask the user (one at a time, with auto-detected defaults):

- Target URL: Where is the app running? (auto-detect dev server) - Key pages: Which pages matter most? (recommend top 3-5 from routes) - Target devices: Desktop only? Mobile-first? Both? (default: both) - Brand guidelines: Any specific colors, fonts, or design system? (default: evaluate against general best practices) - Focus areas: Any known concerns? (optional)

  1. Define breakpoints to test:

- Mobile: 375px (iPhone SE), 390px (iPhone 14) - Tablet: 768px (iPad) - Desktop: 1280px, 1920px - (Adjust based on user's target audience)


Phase 3: Analyze

Open a browser session with new_session using record_evidence: true. For each page in scope, run the following check categories.

Category A: Responsive Design (RES)

Check IDCheckStandardMethod
RES-01Viewport meta tag presentMobile best practiceInspect <meta name="viewport">
RES-02No horizontal overflow at any breakpointResponsive designResize viewport, check for horizontal scrollbar
RES-03Touch targets ≥ 48x48px on mobileWCAG 2.5.8 / Material DesignMeasure interactive element sizes at mobile breakpoint
RES-04Text remains readable without zoom at 375pxWCAG 1.4.4Check font sizes ≥ 16px for body text on mobile
RES-05Navigation is accessible at all breakpointsUsabilityVerify nav collapses/adapts, hamburger menu works
RES-06Images scale appropriatelyResponsive imagesCheck for srcset/sizes or CSS containment
RES-07No content truncation without indicationUsabilityCheck text overflow, ellipsis with tooltip or expand
RES-08Form inputs are usable on mobileUsabilityCheck input sizes, proper input types (tel, email)

Browser validation: For each breakpoint, use act to resize the viewport, then inspect_page to capture DOM and screenshot. Check for overflow elements, measure sizes via JavaScript.

Category B: Accessibility (A11Y)

Check IDCheckStandardMethod
A11Y-01Color contrast ratio ≥ 4.5:1 (normal text)WCAG 1.4.3 AAExtract computed colors, calculate ratio
A11Y-02Color contrast ratio ≥ 3:1 (large text ≥ 18pt)WCAG 1.4.3 AASame as above for large text
A11Y-03All images have alt textWCAG 1.1.1Check <img> elements for alt attribute
A11Y-04Form inputs have associated labelsWCAG 1.3.1Check <label for=""> or aria-label
A11Y-05Heading hierarchy is logical (h1→h2→h3)WCAG 1.3.1Extract heading levels, check sequence
A11Y-06Focus is visible on all interactive elementsWCAG 2.4.7Tab through elements, check focus ring visibility
A11Y-07Keyboard navigation works (Tab, Enter, Escape)WCAG 2.1.1Navigate entire page via keyboard
A11Y-08Skip navigation link presentWCAG 2.4.1Check for skip-to-content link
A11Y-09ARIA roles used correctlyWCAG 4.1.2Check for misused/redundant ARIA
A11Y-10Page has lang attributeWCAG 3.1.1Check <html lang="">
A11Y-11Modal focus trapping worksWCAG 2.4.3Open modal, verify Tab stays within
A11Y-12Error messages are associated with inputsWCAG 3.3.1Check aria-describedby or aria-errormessage
A11Y-13Reduced motion respectedWCAG 2.3.3Check for prefers-reduced-motion media query
A11Y-14No seizure-inducing content (>3 flashes/sec)WCAG 2.3.1Visual inspection of animations

Browser validation: Use inspect_page to extract the DOM. Run JavaScript via act to compute contrast ratios, check ARIA attributes, extract heading hierarchy. Use keyboard navigation (Tab, Enter, Escape) to test focus management.

Category C: Visual Consistency (VIS)

Check IDCheckStandardMethod
VIS-01Consistent spacing scaleDesign systemsExtract margins/paddings, check for consistent scale (4px/8px grid)
VIS-02Typography scale is consistentTypographic hierarchyExtract font sizes, check for consistent ratio/scale
VIS-03Color palette is limited and intentionalDesign best practiceExtract all used colors, flag if >10 unique non-gray colors
VIS-04Interactive elements have consistent stylingConsistencyCompare button styles, link styles across pages
VIS-05Alignment grid is consistentLayoutCheck for misaligned elements that break the visual grid
VIS-06Loading states exist for async operationsUX best practiceTrigger async actions, verify loading indicators
VIS-07Empty states are handledUX best practiceNavigate to pages with no data, check for meaningful empty states
VIS-08Error states are styled consistentlyUX best practiceTrigger validation errors, check styling
VIS-09Dark mode consistency (if applicable)Design systemsToggle dark mode, check for un-themed elements

Browser validation: Use JavaScript to extract computed styles, compare across elements and pages. Screenshot comparison between pages for visual consistency.

Category D: Typography & Readability (TYP)

Check IDCheckStandardMethod
TYP-01Body text 16-20pxReadability researchExtract computed font-size
TYP-02Line height 1.4-1.6 for body textReadabilityExtract computed line-height
TYP-03Line length 45-75 charactersReadability (Bringhurst)Measure character count per line
TYP-04Font loading strategy (FOUT/FOIT prevention)Web performanceCheck font-display CSS, preload hints
TYP-05Sufficient hierarchy levels (≥3 distinct sizes)TypographyExtract and count distinct heading sizes
TYP-06Text is left-aligned (not justified) for bodyReadabilityCheck text-align for body paragraphs

Category E: Internationalization Readiness (I18N)

Check IDCheckStandardMethod
I18N-01No hardcoded strings in componentsi18n best practiceScan source code for string literals in JSX/templates
I18N-02Layout handles text expansion (+30%)i18n designInject longer text strings, check for overflow
I18N-03RTL layout support (if applicable)i18nToggle dir="rtl", check layout adaptation
I18N-04Date/number formatting uses localei18nCheck for hardcoded date/number formats
I18N-05Font stack includes CJK/Unicode fallbacksi18n typographyCheck font-family declarations
I18N-06Icons/images don't contain texti18nVisual inspection of image content

Browser validation: Use JavaScript to modify dir attribute, inject longer text, change locale settings. Screenshot at each state.


Phase 4: Report

Generate a structured report saved to shiplight/reports/design-review-{date}.md:

# Design Review Report
**Date:** {date}
**URL:** {url}
**Pages reviewed:** {list}
**Breakpoints tested:** {list}

## Overall Score: {X}/10 | Confidence: {X}%

## Score Breakdown
| Category | Score | Findings |
|----------|-------|----------|
| Responsive (RES) | 7/10 | 2 high, 1 medium |
| Accessibility (A11Y) | 5/10 | 1 critical, 3 high |
| Visual Consistency (VIS) | 8/10 | 1 medium |
| Typography (TYP) | 9/10 | 1 low |
| i18n Readiness (I18N) | 6/10 | 2 medium |

## Findings

### CRITICAL

#### A11Y-01: Insufficient color contrast on primary buttons
- **Standard:** WCAG 1.4.3 AA (minimum 4.5:1)
- **Finding:** Primary button (#4A90D2 on #FFFFFF) has contrast ratio 3.1:1
- **Evidence:** [screenshot with annotation]
- **Pages affected:** All pages with primary CTA
- **Confidence:** 97%

### HIGH
...

### MEDIUM
...

### LOW / INFO
...

Confidence Scoring

  • 90-100%: Browser-validated, measured programmatically (contrast ratio calculated, element size measured)
  • 70-89%: Strong evidence from DOM inspection, screenshot supports finding
  • 50-69%: Heuristic-based, may vary by context (e.g., "spacing looks inconsistent")
  • Below 50%: Don't report

Phase 5: Remediate

For each finding, provide:

1. Fix guidance

#### A11Y-01: Insufficient color contrast
**File:** src/components/Button.tsx:23
**Current:** `background: #4A90D2` (contrast 3.1:1 against white)
**Fix:** `background: #2563EB` (contrast 4.8:1 against white) — maintains blue hue, meets AA
**Alternative:** `background: #1D4ED8` (contrast 7.1:1) — meets AAA

2. YAML regression test

- name: a11y-01-button-contrast
  description: Verify primary button meets WCAG AA contrast ratio
  severity: critical
  standard: WCAG-1.4.3-AA
  steps:
    - URL: /
    - VERIFY: Primary action buttons have sufficient color contrast (minimum 4.5:1 ratio for normal text)
      timeout_seconds: 15

Save all YAML tests to shiplight/tests/design-review.test.yaml.


Tips

  • Use inspect_page to read the DOM first — it's cheaper than screenshots and provides element indices for act.
  • For contrast checking, use JavaScript via act with window.getComputedStyle() to extract actual rendered colors.
  • Test keyboard navigation by using act with keyboard actions (Tab, Enter, Escape, Arrow keys).
  • Run this review at multiple breakpoints — many issues only appear at specific viewport sizes.
  • For i18n text expansion testing, use act with JavaScript to modify textContent to longer strings.
  • Close the session with close_session and use generate_html_report for a shareable evidence report.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.46%
按下载量换算139

Claude

29.82%
按下载量换算120

Cursor

18.86%
按下载量换算76

Gemini CLI

9.51%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills