review-ui-codeFree
Find the UI problems worth fixing first
The ZIP adds the rules file the skill reads.

When to use it
Use when a page or component needs an accessibility or usability review.
How it works
SKILL.mdLoading the fileFull file when it shipsFull file with ProThe file didn’t load
SKILL.md
---
name: review-ui-code
description: "Use when the user asks to review my UI, check accessibility, audit the design or UX, or check a page or component against best practices before shipping. Delivers a ranked list of problems, each with file:line or a screenshot and the smallest fix, and changes nothing until asked. Not for designing or restyling a page (design-web-page)."
license: MIT (see LICENSE)
metadata:
marker: copybook-pro-marker-review-ui-code
---
# Review UI
## 1. Scope
Review the files or pattern the user gave. With none, review the UI files changed on this branch (`git diff --name-only $(git merge-base HEAD main)`); with no branch work either, ask which pages. Skip vendored code and component-library files nobody has edited.
## 2. Read
Read [references/rules.md](references/rules.md), then the files. Apply only the rules that fit the stack: React rules skip a plain HTML site, form rules skip a page with no form.
## 3. Look
If the app runs and a browser is available, open each page at 1280 and 390 wide and check what code cannot show: sideways scroll, clipped or overlapping text, focus visible when tabbing through, the sticky header covering a focused field, text at 200% zoom, hover stuck after a tap under touch emulation. Without a browser, say so in the report and mark these rows unchecked.
Report only what you can point at: a line or a screenshot. Personal taste is not a finding.
## 4. Report, change nothing
Rank by severity, then group by file:
```text
## block (someone cannot use it)
src/Modal.tsx:12 - focus not trapped; Tab leaves the open dialog → trap focus, return it on close
src/Login.tsx:40 - onPaste preventDefault blocks password managers → remove the handler
## fix (visibly wrong or fragile)
src/Card.tsx:55 - transition: all → transition: transform 150ms, opacity 150ms
seen 390px /pricing - table pushes the page sideways → overflow-x: auto on its wrapper
## nit
src/Hero.astro:8 - "Loading..." → "Loading…"
src/Footer.tsx ✓ pass
```
Each row: where (`file:line`, or `seen <width> <page>` for a browser finding), the problem in a few words, `→` the smallest fix. Quote the line only when the fix is not obvious. No preamble. End with one line: counts per severity and which checks were not run.
## 5. Fix only when asked
One finding at a time. After each fix, rerun the check that found it and recheck that nothing that passed broke.
## Done when
Every file in scope has rows or `✓ pass`, every block row has a fix, and the report says which checks were not run.
Based on vercel-labs/web-interface-guidelines and vercel-labs/agent-skills (MIT), rewritten by Copybook.