/cc-arsenal:review-design [url|pr_number|commit_sha|--all] [--scope dimension] [--mode live|static|both]from cc-arsenal
Audits UX/UI/design quality of a live URL or static codebase against WCAG 2.2 AA, Material Design 3, Apple HIG, and other standards. Covers visual hierarchy, typography, color, dark mode, shadows, buttons, feedback states, motion, and accessibility contrast.
Ships in cc-arsenal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive UX/UI/design quality analysis across 8 audit dimensions, each mapped to authoritative standards. This skill only analyzes: it identifies design issues, explains findings against a cited criterion, and suggests fix approaches without making code changes.
It supports two input modes:
agent-browser CLI (screenshots + DOM/accessibility snapshot).When both a URL and a codebase target are supplied, it runs both and emits two separate reports.
| # | Dimension | Key Standards |
|---|---|---|
| 1 | Visual Hierarchy & Layout | NN/g, Refactoring UI, Laws of UX, MD3 8pt grid |
| 2 | Typography | Butterick, Refactoring UI, MD3, Apple HIG |
| 3 | Color & Theming (incl. Dark Mode) | MD3 color roles, 60-30-10, WCAG 1.4.1/1.4.3 |
| 4 | Depth & Elevation (Shadows) | MD3 elevation, Refactoring UI, Josh Comeau |
| 5 | Components & Affordance (Buttons/Icons) | MD3 buttons/icons, Apple HIG, NN/g |
| 6 | Feedback & States | NN/g visibility-of-status, MD3 state layers |
| 7 | Motion & Microinteractions | NN/g animation, Laws of UX (Doherty), MD3 motion |
| 8 | Accessibility (cross-cutting) | WCAG 2.2 AA |
Measurable criteria for dimensions 1–4 are in references/criteria-foundations.md; dimensions 5–8 are in references/criteria-interaction.md.
Design reviews must be based on actual evidence, never assumptions. This is critical:
product-design-tokens skill's scripts/contrast.py --pair FG BG (otherwise a python3 one-liner of the WCAG relative-luminance formula, given in references/agent-prompts.md); never eyeball a ratioParse arguments to determine target and mode:
Arguments:
- <url>: A live URL to audit (http/https) → live mode
- <pr_number>: Files changed in a PR (e.g., "123", "#123") → static mode
- <commit_sha>: Files changed in a commit (e.g., "abc123") → static mode
- "--all" or a path or no args: Entire codebase → static mode
- "--mode [live|static|both]": Force a mode
- "--scope [dimension]": Focus on one dimension (e.g., typography, color, accessibility)
Mode resolution:
--mode live) → live audit.--all / path (or --mode static) → static audit.--mode both) → run both, emit two reports.For static PR/commit scope, get changed files:
# For PR
gh pr view <pr_number> --json files --jq '.files[].path'
# For commit
git diff-tree --no-commit-id --name-only -r <commit_sha>
Use an Explore agent (model: haiku) to detect the design system and tooling:
Use Task tool with Explore agent (model: haiku):
- prompt: "Discover the project's design system and front-end stack:
1. Detect CSS approach: Tailwind, CSS Modules, styled-components, vanilla CSS, Sass
2. Detect component/design system: Material UI, Chakra, Radix, shadcn/ui, Ant Design, custom
3. Find design tokens: tailwind.config.*, theme files, CSS custom properties (:root { --* }), tokens.json
4. Find existing a11y tooling: eslint-plugin-jsx-a11y, axe, pa11y, Storybook a11y addon
5. Detect dark-mode support: prefers-color-scheme, .dark class, data-theme
6. List the key UI directories (components/, styles/, app/, pages/)
Return: a stack + design-system summary with the token source of truth."
- subagent_type: "Explore"
Without a Task tool, run this discovery yourself inline using the same 6 steps before proceeding.
For live mode, confirm the URL is reachable and agent-browser is installed:
agent-browser --version || echo "agent-browser not installed (npm install -g agent-browser)"
If agent-browser is missing, tell the user how to install it (npm install -g agent-browser && agent-browser install) and offer to fall back to static mode.
Use TodoWrite to track progress across the 8 dimensions plus capture, consolidation, and report generation. One todo per dimension. Without TodoWrite, narrate phase/dimension transitions in your responses instead.
Live mode, capture first (the agents analyze these artifacts):
mkdir -p /tmp/review-design
agent-browser open <url>
agent-browser snapshot -i > /tmp/review-design/snapshot.txt # interactive elements + a11y tree
agent-browser screenshot /tmp/review-design/page.png --full # full-page screenshot
# Optional, for inspected elements:
# agent-browser get styles @<ref> # computed CSS
# agent-browser get box @<ref> # bounding box (for touch-target size)
Capture additional viewports/pages if the user names them. Always agent-browser close when done.
Then spawn 6 parallel Explore agents (model: sonnet) covering the 8 dimensions. For the full per-agent prompts (live screenshot/snapshot analysis AND static grep patterns), see references/agent-prompts.md. Without a Task tool, run the 6 dimension analyses sequentially inline yourself, one after another, using the same per-agent prompts and criteria references.
Agent assignments:
| Agent | Covers |
|---|---|
| Agent 1 | Visual Hierarchy + Layout & Spacing (Dimension 1) |
| Agent 2 | Typography (Dimension 2) |
| Agent 3 | Color + Dark Mode (Dimension 3) |
| Agent 4 | Depth/Shadows + Components/Affordance (Dimensions 4, 5) |
| Agent 5 | Feedback & States + Motion/Microinteractions (Dimensions 6, 7) |
| Agent 6 | Accessibility, WCAG 2.2 AA (Dimension 8, cross-cutting) |
Each agent must:
After all agents complete:
Collect findings from the 6 agents.
Deduplicate across agents (same element/criterion = one finding).
Prioritize by severity, using this table:
| Severity | Criteria |
|---|---|
| Critical | WCAG AA failure blocking use (contrast < 3:1 on text, no keyboard focus, missing form labels), unusable touch targets |
| High | WCAG AA contrast failures (< 4.5:1 body text), missing focus-visible, no reduced-motion support, broken hierarchy |
| Medium | Off-grid spacing, un-tinted shadows, weak typographic scale, missing hover/active states |
| Low | Polish: minor inconsistency, sub-optimal line length, icon-label spacing |
Map to dimension: group findings under the 8 dimensions.
Applicable-only score: for each dimension that applies, score = passed criteria / applicable criteria. Skip dimensions that cannot be observed and say so.
Statistics: total findings, by severity, by dimension; elements/files reviewed vs. those with issues.
Generate a markdown report per the template in references/report-template.md.
design-report-live.mddesign-report-static.mdBefore presenting, verify every finding has:
file:line (static) or screenshot region + DOM ref (live)# Live audit of a running site
review-design --url https://example.com
review-design https://example.com
# Static audit of the codebase
review-design --all --mode static
review-design 123 # PR #123 changed files
review-design abc123def # a commit
# Both: live + static (two reports)
review-design https://staging.example.com --all --mode both
# Focus a single dimension
review-design --url https://example.com --scope accessibility
review-design --all --scope typography
--scope focuses the audit on one dimension: hierarchy, layout, typography,
color, dark-mode, depth, components, feedback, motion, accessibility.
If omitted, all 8 dimensions are audited.
| Limitation | Detail |
|---|---|
| Heuristic + measured | Combines tool measurements with expert heuristics; some judgment calls remain |
| Live mode | Needs a reachable URL and the agent-browser CLI installed |
| Static mode | Pattern-based; dynamic/runtime states may be missed |
| Screenshot analysis | Depends on render fidelity at the captured viewport |
| Expert review | Recommended for high-stakes or regulated interfaces |
evals/evals.json (opens in a new tab)evals/fixtures/clean-fixture.css (opens in a new tab)evals/fixtures/clean-fixture.html (opens in a new tab)evals/fixtures/low-contrast-fixture.css (opens in a new tab)evals/fixtures/low-contrast-fixture.html (opens in a new tab)evals/trigger-eval.json (opens in a new tab)references/agent-prompts.md (opens in a new tab)references/criteria-foundations.md (opens in a new tab)references/criteria-interaction.md (opens in a new tab)references/report-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
general-purpose), in the backgroundThree short reads, in order
ux-audit, ui-review, accessibility-audit, design-quality, wcag
52 skills in this plugin
/agent-browserHeadless browser automation CLI optimized for AI agents: drives a real browser via accessibility-tree snapshots and @e1-style refs for ~93% less context than raw DOM tools. Use whenever a task needs to interact with a live web page: click, fill forms, log in, extract text or data, take screenshots, test a running web app, or scrape a site. Triggers on 'automate the browser', 'fill this form', 'click the button', 'take a screenshot of the page', 'log into', 'scrape this site', 'test my web app', 'headless browser'. Not for Playwright test-suite authoring or CDP/service-worker work needing the full JS API: use Playwright directly. Not for driving the user's own already-open, logged-in Chrome tab: use claude-in-chrome for that./anything-to-skillTurns a docs site, local folder, PDF or book, YouTube video, playlist or channel, or a topic into a source-grounded, token-efficient agent skill (hub SKILL.md, sectioned references, INDEX, evals), and can compact it into a lean expert skill. Use for "make a skill from these docs", "turn this channel into a skill". Not for a skill from your own description (use create-skill), improving one (use improve-skill) or finding third-party skills (use find-skills)./ci-generateGenerate a production-ready CI/CD pipeline config (GitHub Actions, GitLab CI, CircleCI, or Jenkins) by discovering the project's actual stack, test/build commands, and dependencies. Use when setting up CI for a new project, adding a missing workflow file, or asked to create/generate a pipeline, workflow, or `.gitlab-ci.yml`/`Jenkinsfile`. Not for writing a Dockerfile itself (see docker-init), this only wires CI stages around one. Not for running existing CI checks locally (use ci-local), this skill only authors the pipeline file itself.npx claudepluginhub mgiovani/ai-arsenal --plugin cc-arsenalOther plugins' skills for the same job