Skip to main content
skill CX Codex

audit · educlopez — Claude Code skill: UI audit and how to install

Runs a technical UI audit across accessibility, performance and responsiveness, then hands back a prioritized findings table.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add educlopez/ui-craft --skill audit -a claude-code
Open on GitHub

What audit does

This skill reviews an interface along three lines: accessibility, performance and responsiveness. It starts by capturing the surface as a user sees it — first through the playwright MCP server, then DevTools or another browser automation tool. When none of those is around, it asks you for screenshots at 1280×800, 768×1024 and 375×812, plus dark mode where the app has one. Decline, and the report gets stamped [CODE-ONLY REVIEW — visual issues not assessed]; some problems will slip through.

The checks are fixed, not configurable. Every interactive element needs a visible :focus-visible, keyboard reach with no focus traps, touch targets of at least 44px on mobile, form labels tied to their errors, and prefers-reduced-motion respected. Performance looks at whether only transform and opacity are animated, whether transition: all crept in, whether images carry width/height or aspect-ratio. Responsive work covers mobile-first breakpoints, env(safe-area-inset-*) on fixed elements, and no horizontal scroll at 320px.

Findings land in a Before / After / Why table, sorted into Critical, High-impact and Quick wins. The skill won't touch your code until you approve — report first, edits after. It closes with a Craft Report naming the checked scope and the top priority.

What it helps with

  • spot interactive elements with no visible focus ring
  • check whether the layout breaks at 320px
  • catch animations that trigger repaints
  • collect accessibility issues into one prioritized report
  • verify touch target sizes on mobile

Example prompts for the agent

  • Audit the UI on the checkout page
  • Run a technical audit of accessibility and performance on the landing page
  • Audit responsiveness: check 320px and mobile touch zones

How to install audit

1Skills CLI (Vercel)

npx skills add educlopez/ui-craft --skill audit -a claude-code

2Manually: put the files in place

~/.claude/skills/audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about audit

How do I install audit in Claude Code?

Run npx skills add educlopez/ui-craft --skill audit -a claude-code; the skill file lands at ~/.claude/skills/audit/SKILL.md.

What does the audit skill do?

It checks an interface for accessibility, performance and responsiveness, and returns the findings as a prioritized table. It leaves your code alone unless you ask.

What does a full audit need?

A visual capture of the page. The skill tries the playwright MCP server, DevTools or another browser automation first, and asks you for screenshots if none is available. Without visuals the report is marked code-only.

Source text

SKILL.md · MIT
---
name: audit
description: "Technical UI audit — a11y, performance, responsive. Produces a prioritized findings table. Invoke when the user asks for audit on their UI, or mentions 'audit' alongside design / UI / frontend work."
---

<!-- HARNESS MIRROR — do not edit here. Canonical source: skills/ or commands/. After editing source, copy into cli/assets/<harness>/ and repo-root harness mirrors. -->

**Context:** this sub-skill is one lens of the broader `ui-craft` skill. If the `ui-craft` skill is also installed, read its SKILL.md first for Discovery + Anti-Slop + Craft Test, then apply the specific lens below.

Run a technical audit of the UI at `$ARGUMENTS`. Load the `ui-craft` skill and apply the audit lens.

## Step 0: Visual capture (mandatory)

Code-only review is insufficient. Every audit/critique starts with the surface as the user sees it. Try the following in order; use the first one available:

1. **Playwright MCP** — if `playwright` MCP server is available, use it. Capture full-page screenshots at three viewports: desktop (1280×800), tablet (768×1024), mobile (375×812). Capture dark mode if the app supports it.
2. **Browser DevTools / Chrome MCP** — second choice; same viewport set.
3. **Other browser automation** (`agent-browser`, `cursor-ide-browser`) — third choice.
4. **Ask the user** — last resort. If no automation is available, request screenshots from the user before proceeding. Be specific:
   - "Visual review needs screenshots. Please provide:
     - Full-page at 1280px (desktop)
     - Full-page at 768px (tablet)
     - Full-page at 375px (mobile)
     - Dark mode of each, if supported."

Do not begin the review until visuals are captured or provided. State this explicitly to the user when no automation succeeds — don't silently fall back to code-only review.

If the user declines to provide screenshots, run a code-only pass and clearly mark the report `[CODE-ONLY REVIEW — visual issues not assessed]` at the top so the limitation is explicit.

**Note:** audit is knob-agnostic — accessibility and performance are not tunable.

**Scope (non-negotiable checks):**

1. **Accessibility** — read `references/accessibility.md`:
   - Visible `:focus-visible` on every interactive element
   - Keyboard reachable, no focus traps
   - Touch targets ≥ 44px (mobile)
   - Color not the only signal for state
   - Form labels, error association, required indication
   - `prefers-reduced-motion` honored for all animations
2. **Performance** — read `references/motion.md` Rendering Performance section:
   - Only `transform` / `opacity` animated (no `width`/`top`/`height`)
   - No `transition: all`
   - `will-change` scoped to active interaction, removed after
   - Images have `width`/`height` or `aspect-ratio` (CLS)
   - No layout thrash in scroll/resize handlers
3. **Responsive** — read `references/responsive.md`:
   - Mobile-first breakpoints, no fixed-width components
   - `env(safe-area-inset-*)` respected on fixed elements
   - Touch zones don't overlap
   - No horizontal scroll at 320px

**Output format** — the Review Format table from SKILL.md:

| Before | After | Why |
| --- | --- | --- |

Group findings by priority: **Critical** (blocks usability/a11y) → **High-impact** (immediately noticeable) → **Quick wins** (polish).

Do NOT rewrite code unless asked. Report findings first; wait for approval before editing.

**Close with a Craft Report** (`references/review.md` → Craft Report), wrapping the findings table above — Checked states scope (a11y/perf/responsive, at which viewports), Passed carries anything inspected and found sound, Changed stays empty pre-approval, Verdict names the top priority. Produce it even on a clean audit — a11y/perf/responsive coming back clean is the finding.

**Next step:** `/harden` — turn the findings into real production coverage (rung 1).

© educlopez · MIT · educlopez/ui-craft

Similar skills

Everything for Frontend and UI →

audit by other authors comes first.

audit jsmastery-pro Scans codebases to generate and gap fill AGENTS.md context files. Helps bootstrap shared rules for AI assistants on greenfield or legacy repos. CX Codex +1 4,300installs audit calm-north This skill walks a site through five layers of SEO review: technical foundation, on-page work, content quality, link profile and competitive position. CX Codex +1 6,400installs audit official OpenAI Walks through product flows step by step, captures verified screenshots, and flags UX and accessibility issues in chat. CX Codex GP ChatGPT 10installs audit aladicf Runs code-level checks on accessibility, performance, theming, responsive design and anti-patterns. Returns a scored report with a fix plan. CX Codex +1 625installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. 1,025,790installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. CX Codex +1 678,700installs prototype Matt Pocock Creates throwaway prototypes for checking state logic or exploring UI before committing the decision to the main codebase. 986,201installs hyperframes heygen-com Instructs coding agents on creating, validating, and rendering HTML-based videos using the HyperFrames framework and CLI. CX Codex +1 1,200,000installs hyperframes-cli heygen-com Controls HyperFrames video workflows from the CLI: audits layouts and contrast, edits timeline clips, captures snapshots, and renders locally or in cloud runtimes. CX Codex +1 1,300,000installs webapp-testing official anthropics This skill tests local web apps with Playwright, helping agents debug UI behavior, capture screenshots, and inspect browser logs. 186,758installs

From the same set14

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor