UI Guidelines Auditor
Reviews UI code against web interface guidelines — accessibility, design quality, UX best practices, and compliance with modern standards.
Skill summary
Copy-ready skill file
Paste this into your assistant rules file
Recommended targets: CLAUDE.md, AGENTS.md, .clinerules
# UI Guidelines Auditor ## Purpose Reviews UI code against web interface guidelines — accessibility, design quality, UX best practices, and compliance with modern standards. ## When to Use - **"review my UI"** — Audit UI components and pages against web design guidelines covering accessibility, usability, and visual quality. - **"check accessibility"** — Covers review UI component design. - **"audit design"** — Covers check UX best practices. - **"review UX"** — Covers audit website accessibility. - **"UI best practices"** — Covers review UI component design. - **"design guidelines compliance"** — Covers check UX best practices. ### CLAUDE.md ```markdown # UI Guidelines Auditor — AI Assistant Rules # Place this file in your project root as CLAUDE.md Reviews UI code against web interface guidelines — accessibility, design quality, UX best practices, and compliance with modern standards. ``` ## Operating Instructions 1. Collect the existing system — type scale, spacing, colour roles, component states 2. State the job the screen does and who uses it before drawing anything 3. Lay out on the shared grid and spacing scale rather than freehand positions 4. Design the empty, loading, long-content and error states alongside the happy path 5. Check contrast against the real background and the real type size 6. Hand off with numbers: sizes, weights, line heights, spacing, and the full state list ## Example Prompts - "Audit our checkout flow for accessibility issues." - "Review our component library against WCAG 2.2 standards." ## Verification Checklist - [ ] Every value used exists on the scale, or there is a stated reason it does not - [ ] Empty, loading, error and overflow states are all specified - [ ] Contrast was measured on the actual background at the actual size - [ ] The handoff includes realistic content lengths, not lorem - [ ] The skill file is placed at `CLAUDE.md` in the project root - [ ] Tested with Claude to confirm the rules load and fire ## Integration Guide Use alongside **UI Guidelines Auditor** to validate designs against standards, or with **React Composer** to implement component patterns. ## Primary Use Cases - Audit website accessibility - Review UI component design - Check UX best practices ## Difficulty **Intermediate** — assumes you already work in this area; read the rules before pasting them in.
With the UI Guidelines Auditor rules in CLAUDE.md, ask:
“review my UI”
The assistant then takes on audit website accessibility — the approach, the checks and the shape of the answer are fixed by the file before the first token is written.
What it is for
- Audit website accessibility
- Review UI component design
- Check UX best practices
6 ways to trigger it
Skills in this category start from a system rather than a screen. Type scale, spacing rhythm, colour roles and component states are decided first, and the individual interface inherits them. That order matters: it is why the output tends to be a spec with numbers in it rather than a mood board described in adjectives.
Practices that matter in Design work
- Fix the spacing scale before you design the screen. Eight values used consistently beat twenty used arbitrarily.
- Design the empty, loading and error states. They are the ones users see first and the ones nobody demos.
- Test with realistic content lengths, including the longest string a real user could enter.
- Check contrast against the actual background, not the one in the mockup. Translucent layers change it.
- Hand off with numbers: sizes, weights, line heights, spacing, and the states that exist. Ambiguity becomes inconsistency later.
Start with CLAUDE.md.
| Assistant | Rules file |
|---|---|
| Claude | CLAUDE.md |
| Cursor | .cursorrules |
| OpenCode | AGENTS.md |
| Cline | .clinerules |
| GitHub Copilot | .github/copilot-instructions.md |
AGENTS.md.clinerules- What does the UI Guidelines Auditor skill do?
- Reviews UI code against web interface guidelines — accessibility, design quality, UX best practices, and compliance with modern standards. The copy-ready file above carries the full rule set, the trigger phrases and the checks the assistant runs before it hands work back.
- How do I trigger the UI Guidelines Auditor skill?
- Ask for the work using one of its trigger phrases — for example “review my UI”, “check accessibility”, “audit design”. Once the rules file is in place, assistants that read it also pick the skill up without the phrase.
- Which files should hold the UI Guidelines Auditor skill?
- CLAUDE.md, AGENTS.md, .clinerules. CLAUDE.md is the one to start with; the rest exist so the same rules load in whichever assistant your team uses.
- Which assistants support the UI Guidelines Auditor skill?
- Claude, Cursor, OpenCode, Cline, GitHub Copilot. Any assistant that reads a plain-text rules file can use it, so the format matters more than the product.
- Is the UI Guidelines Auditor skill hard to set up?
- It is rated intermediate. It assumes you already work in this area, so read the rule set once before pasting it in.
- What can I actually use the UI Guidelines Auditor skill for?
- The documented jobs are audit website accessibility, review ui component design, check ux best practices. Beyond those it still works — the rule set is instructions, and assistants follow it past the examples you give it.
- Does the UI Guidelines Auditor skill send my code anywhere?
- No. The file is static text in your repository. What happens to your code afterwards depends on the assistant you run it in and that provider's own data policy.
Related Skills
Frontend Designer
Creates distinctive, production-grade frontend interfaces — typography, color, motion, spatial composition, and backgrounds that avoid generic AI aesthetics.
View skillAccessibility Engineer
Audits and fixes accessibility issues for semantics, labels, focus, keyboard use, contrast, and screen readers.
View skillDesign System Maintainer
Creates and maintains tokens, components, variants, usage rules, and documentation for scalable UI systems.
View skillDashboard UX Designer
Designs dense, scannable dashboards for operational workflows, data comparison, filtering, and repeated action.
View skill