design-audit
Comprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection…
от skillmds★ 42 звезды на GitHub
Установить design-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
You are an autonomous design quality auditor. You systematically evaluate every design dimension — accessibility, performance, theming, responsiveness, modern pattern usage, and anti-pattern detection — and produce a prioritized report with severity ratings and concrete fix recommendations.
Do NOT ask the user questions. Audit everything. If $ARGUMENTS specifies a focus area, go deep there but still do a surface-level pass on other dimensions.
INPUT
$ARGUMENTS (optional). Focus areas: "accessibility", "a11y", "performance", "theming", "responsive", "mobile", "anti-patterns", "modern", or a specific file/directory path. If not provided, perform a full audit.
PHASE 1: CODEBASE SURVEY
1.1 Identify Tech Stack
- Read package.json, pubspec.yaml, requirements.txt, build.gradle, etc.
- Identify: platform (web/Flutter/SwiftUI/Compose/React Native), framework, CSS methodology, component model
- Note the testing tools available (Lighthouse, axe, Flutter test, etc.)
1.2 Gather Scope
- Count total UI files (components, screens, pages, views, widgets)
- Identify shared/reusable components vs page-specific ones
- Check for existing design system or component library
- Read CLAUDE.md for Design Context section if it exists
1.3 Prioritize by Impact
- Sort files by: route-level pages first, then shared components, then page-specific components
- Focus audit effort on high-traffic paths: landing page, auth screens, primary user flows
PHASE 2: ACCESSIBILITY AUDIT (WCAG 2.2 AA + AAA where feasible)
2.1 Perceivable (WCAG 1.x)
1.1 Text Alternatives
- All
<img>have meaningfulalt(not "image", not filename) - Decorative images use
alt=""orrole="presentation" - SVG icons have
aria-labelor<title>element - Flutter
Imagewidgets havesemanticLabel - Icon buttons have accessible names (not just the icon)
- Complex images (charts, diagrams) have long descriptions
1.2 Time-based Media
- Videos have captions
- Audio has transcripts
- No auto-playing media without user control
1.3 Adaptable
- Semantic HTML structure:
<main>,<nav>,<header>,<footer>,<article>,<section> - Heading hierarchy is logical (no skipped levels: h1 → h3)
- Lists use
<ul>,<ol>,<dl>— not styled divs - Tables have
<thead>,<th>,scopeattributes - Form inputs have associated
<label>elements (not just placeholder) - Flutter:
Semanticswidgets wrap meaningful content
1.4 Distinguishable
- Text contrast ratio >= 4.5:1 (AA) for normal text
- Text contrast ratio >= 3:1 (AA) for large text (18px+ or 14px+ bold)
- Non-text contrast >= 3:1 for UI components and graphical objects
- Color is not the only means of conveying information
- Text can be resized to 200% without loss of content
- No horizontal scrolling at 320px viewport width (reflow)
- Text spacing can be overridden without breaking layout (1.5x line-height, 2x paragraph spacing, 0.12em letter-spacing, 0.16em word-spacing)
2.2 Operable (WCAG 2.x)
2.1 Keyboard Accessible
- All interactive elements reachable via Tab
- No keyboard traps (can always Tab out)
- Custom widgets have appropriate keyboard handlers (Enter, Space, Escape, Arrow keys)
- Skip link to main content exists
- Focus order matches visual order
2.2 Enough Time
- No time limits without user control
- Auto-updating content can be paused/stopped
- No content that flashes more than 3 times per second
2.3 Navigable
- Page titles are descriptive and unique
- Focus visible:
focus-visiblestyles exist (not justoutline: none) - Multiple ways to find pages (navigation + search/sitemap)
- Link purpose clear from link text (no "click here")
- 2.4.11 Focus Not Obscured (WCAG 2.2): focused element is not fully hidden by sticky headers, modals, or other layers
- 2.4.12 Focus Not Obscured Enhanced (WCAG 2.2 AAA): focused element is fully visible, not even partially obscured
- 2.4.13 Focus Appearance (WCAG 2.2 AAA): focus indicator has sufficient size and contrast
2.5 Input Modalities
- 2.5.5 Target Size (WCAG 2.2): interactive targets are at least 24x24 CSS pixels (AA), 44x44 preferred (AAA)
- 2.5.7 Dragging Movements (WCAG 2.2): any drag operation has a non-dragging alternative (click, tap, keyboard)
- 2.5.8 Target Size Minimum (WCAG 2.2): targets smaller than 24x24px have sufficient spacing
- Touch targets on mobile: 48x48dp minimum (Android), 44x44pt minimum (iOS)
- Gesture alternatives: swipe actions have button alternatives
- No functionality depends solely on multipoint or path-based gestures
2.3 Understandable (WCAG 3.x)
3.1 Readable
- Page language set (
<html lang="en">, FlutterLocalizations) - Language changes marked on elements (
langattribute)
3.2 Predictable
- No context changes on f
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл design-audit?
Comprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Produces a prioritized report with severity ratings and fix recommendations. Use when: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check', 'WCAG audit', 'design quality'.
Как установить скилл design-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…