greglas75/zuvo/design-review

Claude Code and agent skill by greglas75/zuvo

Trust tier 1
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

UI/UX design consistency audit. Code-based DX1-DX20 checklist covering states, consistency, accessibility, responsive behavior, and interaction patterns. Optional visual audit via chrome-devtools screenshots and automated WCAG accessibility via axe-core. DAP1-DAP12 anti-pattern detection. Modes: [path], visual, --fix-critical, --dry-run, --max-files, --quick, loop. NOT for code quality (use zuvo:code-audit) or test quality (use zuvo:test-audit).

Install

npx vskill@latest install greglas75/zuvo/design-review

SKILL.md

The same SKILL.md was published earlier as greglas75/zuvo/design-review.

zuvo:design-review — UI/UX Design Consistency Audit

Audit frontend views for design consistency, state completeness, accessibility, and interaction patterns. Two modes: code-based (grep + read, fast) and visual (chrome-devtools screenshots + axe-core WCAG audit, slower).

Scope: Frontend view health, design system adoption, state coverage, a11y compliance, responsive behavior. Out of scope: Code quality (zuvo:code-audit), test quality (zuvo:test-audit), creating new designs (zuvo:design), qualitative multi-agent review (zuvo:ui-design-team).

Mandatory File Loading

Read these files before any work begins:

  1. ../../shared/includes/codesift-setup.md -- CodeSift discovery and tool selection
  2. ../../shared/includes/env-compat.md -- Agent dispatch and environment adaptation

Print the checklist:

CORE FILES LOADED:
1. codesift-setup.md -- [READ | MISSING -> STOP]
2. env-compat.md -- [READ | MISSING -> STOP]
3. ../../shared/includes/run-logger.md -- [READ | MISSING -> STOP]
4. ../../shared/includes/retrospective.md -- [READ | MISSING -> STOP]

If any file is missing, STOP.

Environment Compatibility

Read ../../shared/includes/env-compat.md for agent dispatch patterns, path resolution, and progress tracking across all supported platforms.

MANDATORY TOOL CALLS — Design Review Validity Gate

INVALID if any tool below is skipped. "DEFERRED", "N/A" NOT valid reasons.

ToolTriggerSkip allowed?
get_file_treeAlwaysNO — find component dirs, theme files
search_textAlwaysNO — className=, design tokens, CSS variables
search_symbolsAlwaysNO — component discovery
search_patternsAlwaysNO — DAP anti-patterns
scan_secretsAlwaysNO — env-var leaks in client code
audit_scanAlwaysNO — compound check
React tools (analyze_renders, analyze_hooks, trace_component_tree)React detectedNO when React

Forbidden: same (skipped/N/A/codesift unavailable when deferred — REJECTED).

POSTAMBLE: report on disk → retro appended → ~/.zuvo/append-runlog exit 0. Every DX/DAP finding needs path/to/file.ext:LINE (verify-audit gate).

Mandatory-tools-acknowledgment: I will run get_file_tree + search_text + search_symbols + search_patterns + scan_secrets + audit_scan + React tools (when React) for this design review. Every DX/DAP finding will cite a `path/to/file.ext:LINE` resolving in the current tree.

Use the deterministic preload helper FIRST. Run ~/.zuvo/compute-preload design-review "$PWD". Math gate enforced.


CodeSift Integration

Read ../../shared/includes/codesift-setup.md for the full initialization sequence.

Design-review CodeSift usage:

  • get_file_tree(repo, path_prefix="src/components/ui") -- UI component inventory with symbol counts
  • find_references(repo, symbol_name="Button") -- shared component adoption rate
  • search_text(repo, query="aria-|role=", regex=true, file_pattern="*.tsx") -- a11y attribute scan
  • search_text(repo, query="className=.*\\[", regex=true, file_pattern="*.tsx") -- Tailwind magic values

Step 0: Parse $ARGUMENTS

ArgumentBehavior
_(empty)_Audit all frontend views in src/ (auto-discover)
[path]Audit views in specific directory
[file]Audit single component (deep mode)
visualEnable visual audit via chrome-devtools (requires running dev server)
--quickDX checklist only, skip cross-view analysis
--fix-criticalAfter audit, auto-fix critical gate failures (DX6/DX7/DX10/DX20)
--dry-runWith --fix-critical: show planned edits without applying
--max-files [N]Cap audit to N files (default: 30)
--url [url]Dev server URL for visual audit (default: http://localhost:3000)
loopFull cycle: audit, fix critical, re-audit quick, print delta
--from-ui-teamSkip visual re-scan (already captured), focus on DX1-DX20 code scoring

Default: all views, code-only, with cross-view analysis.


Step 0.5: Prerequisites Check

Required (all modes)
CheckHowIf missing
Frontend files exist`find src -name ".tsx" -o -name ".jsx" -o -name "*.vue"head -1`STOP -- "No frontend files found."
Package.json existscat package.jsonWARN -- cannot detect design system
Required (visual mode only)
CheckHowIf missing
chrome-devtools MCPCheck whether chrome-devtools tooling is availableSkip visual, run code-only audit
Dev server running`curl -sI [url]head -1`STOP -- suggest: npm run dev
Optional
CheckHowIf missing
mcp-accessibility-scannerCheck whether accessibility-scanner tooling is availableDX15-DX17 use manual ARIA grep
Tailwind configcat tailwind.config.* 2>/dev/nullDX2-DX4 token checks adapt
Design system artifactscat .interface-design/system.json 2>/dev/nullStructural-only audit (no craft validation)

Phase 1: Discovery

Step 1: Detect Design System

Auto-detect from project signals:

SignalDesign System
@shadcn/ui or components/ui/ with shadcn patternshadcn/ui
@radix-ui/* in depsRadix UI
@mui/material in depsMaterial UI
@mantine/core in depsMantine
@chakra-ui/react in depsChakra UI
@headlessui/react in depsHeadless UI
None + components/ dirCustom components
None + no shared componentsNo design system -- flag as DX20

Also detect CSS framework (Tailwind, CSS Modules, CSS-in-JS, CSS Variables).

Next.js boundary detection: If Next.js App Router detected, scan for co-located loading.tsx/error.tsx files alongside page.tsx. Pages with boundaries score DX6/DX7=1 automatically. Track as BOUNDARY_MAP.

Report: DESIGN SYSTEM: [name] | CSS: [name] | SHARED: [path] ([N] components)

Step 2: Discover Frontend Views

Find page-level and feature-level components. Classify as PAGE (route-level), FEATURE (>100 lines with data/state), or SHARED (reusable).

If >30 views (or --max-files limit), audit top files by size, capped at limit.


Phase 2: Code Audit (DX1-DX20)

DX Checklist
#CheckCritical Gate
DX1Layout structure (flex/grid, no absolute hacks)No
DX2Color values from design tokensNo
DX3Spacing values from scaleNo
DX4Typography from type scaleNo
DX5Component composition (slots, not prop drilling)No
DX6Loading state present for async operationsYES
DX7Error state present with recovery actionYES
DX8Empty state present for collectionsNo
DX9Success/confirmation feedback for mutationsNo
DX10Destructive actions require confirmationYES
DX11Form validation with inline errorsNo
DX12Keyboard navigation for interactive elementsNo
DX13Responsive behavior (mobile breakpoints)No
DX14Focus management (visible focus rings)No
DX15ARIA roles on interactive elementsNo
DX16Color contrast (text: 4.5:1, UI: 3:1)No
DX17Screen reader announcements for dynamic contentNo
DX18Consistent interaction patterns across viewsNo
DX19Animation/transition timing consistentNo
DX20Uses shared component library (not one-off implementations)YES

Score: 1 = YES, 0 = NO, N/A with justification. N/A excludes from denominator.

Thresholds: PASS >= 80%, CONDITIONAL >= 70% and < 80%, FAIL < 70%. Inequalities, not 70-79%: the score is a percentage of applicable gates and can be fractional, so a hyphenated band leaves 79.5% ungraded.

Step 3: Batch Code Analysis

Run grep commands across the codebase for:

  • ARIA attributes and roles
  • Hardcoded color values (hex outside tokens)
  • Magic spacing values (arbitrary px/rem)
  • Loading/error/empty state patterns
  • Confirmation dialog usage
  • Focus ring styles

Store as PROJECT_CONTEXT for per-view scoring.

Step 4: Per-View Audit

For each view, read the full component and evaluate DX1-DX20.

Dispatch follows ../../shared/includes/execution-policy.md through env-compat. Reuse existing authorization within that policy; session restrictions take precedence. Run each required gate and report its actual independence or an unmet requirement.

If >8 views: Split into batches of 4 and dispatch background agents where possible. Each agent receives the PROJECT_CONTEXT and scores independently.

Output per view:

### [file path]
View type: [PAGE/FEATURE]
DX: DX1=[0/1/NA] ... DX20=[0/1/NA]
Applicable: [N]/20 | Passed: [N] | Score: [%]
Critical gate: DX6=[0/1/NA] DX7=[0/1/NA] DX10=[0/1/NA] DX20=[0/1/NA] -- [PASS/FAIL]
Evidence (critical gates = 1): [DX=evidence pairs]
Anti-patterns: [DAP IDs or "none"]
Tier: [A/B/C/D]
Top 3 issues: [description]
DAP Anti-Patterns

Check for these common UI anti-patterns during scoring:

IDAnti-PatternDetection
DAP1Prop drilling through 3+ levelsCount prop pass-through depth
DAP2Inline styles overriding design systemstyle={{ next to className
DAP3Inconsistent button hierarchy (multiple primary CTAs)Count primary-styled buttons per view
DAP4Missing disabled state on form submitButton without disabled prop during async
DAP5Toast/notification without timeout or dismissNotification without auto-dismiss logic
DAP6Modal without escape-to-closeDialog without onEscapeKeyDown or equivalent
DAP7Infinite scroll without loading indicatorScroll listener without skeleton
DAP8Hard-coded breakpoint valuespx media queries instead of theme tokens
DAP9Z-index wars (arbitrary values)z-index values not from a defined scale
DAP10Color used as sole differentiatorStatus/state communicated only by color
DAP11Duplicate component (same purpose, different implementation)Cross-view comparison
DAP12Missing reduced-motion supportAnimations without prefers-reduced-motion
Step 5: Cross-View Analysis

After per-view scoring, check cross-cutting concerns:

  1. Component consistency -- same purpose, different implementations?
  2. State coverage matrix -- view x state (loading/error/empty/success). Gaps?
  3. Off-scale values -- count from Step 3 greps
  4. Icon library inventory -- >1 library = flag
  5. Shared component adoption rate -- percentage using shared components
Step 5.5: Craft Validation (design system artifacts exist)

Read .interface-design/system.json (preferred) or .interface-design/system.md (fallback). Run 4 Craft Validation Tests:

  1. Swap Test: Replace tokens with neutrals. Does personality survive?
  2. Squint Test: Is hierarchy clear when blurred?
  3. Signature Test: Is the unique element present (5 touchpoints)?
  4. Token Test: Do actual values match declared tokens?

No system artifacts = skip.


Phase 3: Visual and Accessibility Audit (visual mode only)

Requires: dev server running, chrome-devtools MCP available.

3.1 Screenshots

Capture at 3 breakpoints (1440, 768, 375) via chrome-devtools.

3.2 WCAG Accessibility Scan

If mcp-accessibility-scanner available:

  • scan_page per route for axe-core violations
  • scan_page_matrix for variant testing (mobile, forced-colors, reduced-motion, zoom-200%)
  • audit_keyboard for tab order, focus visibility, keyboard traps

axe-core results override grep-based checks: DX15-DX17 scores come from axe-core when scanner ran.

3.3 Computed Styles

Color and font inventories, ARIA attribute verification.

3.4 Cross-View Visual Comparison

Consistency analysis across captured screenshots.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
7-day trend score
11

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/greglas75/zuvo/design-review/badge)](https://verified-skill.com/skills/greglas75/zuvo/design-review)

Something wrong with this skill or its page? Tell us.