agentleFS
jfkconstructjfkconstruct/claude-skills/skills/ui-audit/SKILL.md

ui-audit

Skill0 starsChanged 54 days agoMITView on GitHub

Comprehensive UI/UX audit with hard ship gates, scoring framework, and actionable recommendations.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use browse, ux-audit and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CodeWithBehnamSkill

    browse

    Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with elements, verify page state, diff before/after actions, take annotated screenshots, check responsive layouts, test forms and uploads, handle dialogs, and assert element states. ~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a user flow, or file a bug with evidence.

    Also in 4 projects that use this

  • shmehroSkill

    ux-audit

    Perform a heuristic UX audit on a UI screen, flow, or component description

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always load these skills before running an audit:

    line 12
  2. Distinctive:

    Load the pattern library: - Read ui-patterns.md before starting

    line 20
  3. Distinctive:

    Match screen type: - Use Pattern Selection table from ui-patterns to identify required patterns

    line 22
  4. Distinctive:

    Check pattern coverage: - Verify required patterns for the screen type are present

    line 24

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

UI/UX Audit

Perform a comprehensive UI/UX audit and generate actionable recommendations.

Required Skills

Always load these skills before running an audit:

  • ui-patterns.md - Pattern library and screen-type requirements
  • This file (heuristics, checklist, scoring)

The patterns skill provides the "what good looks like" reference. This skill provides the scoring framework. Both are needed for a complete audit.

Process

  1. Load the pattern library - Read ui-patterns.md before starting
  2. Explore UI codebase - Find the views or components and the style files (web, SwiftUI, or any other UI stack)
  3. Match screen type - Use Pattern Selection table from ui-patterns to identify required patterns
  4. Locate the failure, then score - Walk the causal chain BEFORE any number: outcome, user model, mental model, findability, comprehension, affordance, accessibility, feedback, recovery, real-world result, verification. Name the first link that breaks; that is the finding. Then rate each screen/component 0-5. A score with no located cause is unactionable.
  5. Check pattern coverage - Verify required patterns for the screen type are present
  6. Generate findings report - Prioritized recommendations
  7. Categorize by effort - Quick wins, medium effort, structural changes

Heuristics (Score 0-5)

Anchors: 0 absent or broken; 1 present but fails most users; 2 works for the happy path only; 3 works, with visible friction; 4 good, one minor gap; 5 nothing to fix. Overall score = weighted mean of the scored heuristics; N/A rows are excluded from the mean, never counted as 0. A claim you could not verify (no device, no user) scores no higher than 3 and says so.

HeuristicWeightQuestion
Clarity1.0Purpose obvious in 3 seconds?
Cognitive Load1.0How much mental effort required?
Visual Hierarchy1.0Important elements prominent?
Feedback0.8Confirms actions, communicates state?
Responsive Scaling1.1Feels native on all screen sizes without zoom?
Accessibility1.2Contrast, touch targets, usable by all?
Conversion Strength1.3How compelling is the CTA?
Mental Model1.0Can a first-time user predict what each thing does and where it lives, before clicking?
AI Interaction1.2For any AI capability: is the wrong-answer path designed (notice, inspect, correct, scope of correction, undo, human escalation)? Metric is appropriate reliance, never trust. Score N/A when the surface has no AI.
Regression1.0Does it hold up novice, expert, mobile, keyboard-only, screen reader, offline, interrupted mid-task, permission denied, and on a destructive action?

Ship gate (hard bounce)

Regardless of the weighted total, a critical flow scoring 0 or 1 on any of Accessibility, Feedback (state completeness), Clarity (action clarity), or Mental Model (problem fit) does not ship. Log the bounce with the failing heuristic and the causal-chain link from Process step 4.

Checklist

Clarity

  • Purpose obvious in 3 seconds
  • Single primary action clear
  • Labels unambiguous

Hierarchy

  • Most important element largest/highest contrast
  • Clear visual grouping
  • Whitespace creating breathing room

Feedback

  • Loading states for async
  • Success confirmation for actions
  • Error states with recovery path
  • Web: INP <=200ms at p75 (200-500 needs work, >500 poor)

State & Recovery

  • Input preserved on validation failure
  • Every reversible action has undo; confirm only when irreversible, expensive, or security-sensitive
  • Error copy says whether the user or system caused it and what to do next

Mental Model

  • First-time user can predict what each control does before clicking
  • Things live where a novice would look
  • Naming matches the user's words, not engine terms

AI Interaction (N/A if no AI)

  • Wrong answer is noticeable
  • Source and evidence inspectable
  • Correction possible
  • Scope of a correction is stated
  • Undo exists
  • Human escalation path exists

Regression

  • Novice, expert, mobile, keyboard-only, screen reader, offline, interrupted mid-task, permission denied, destructive action each walked once

Responsive Scaling (web; on native, substitute Dynamic Type or the platform's text scaling)

  • Root font-size uses clamp() or responsive scaling (not fixed 16px)
  • No text-xs (12px) for body content; minimum readable size is text-sm (14px)
  • Tailwind breakpoint prefixes (md:, lg:, xl:) used for text and spacing on key elements
  • Layout dimensions use viewport-relative units (vw, vh, dvh) or fluid values, not fixed px
  • clamp(), min(), or max() used for fluid spacing/sizing where appropriate
  • UI feels native at 1440px (laptop), 1920px (monitor), and 375px (mobile) without zoom

Mobile

  • Touch targets >=44px iOS, 48dp Android (~48px at 1x); WCAG 2.2 target size AA 24x24 CSS px minimum, AAA 44x44
  • Thumb-reachable primary actions
  • No horizontal scroll
  • Input font-size >=16px

Accessibility

  • Color contrast >=4.5:1
  • Doesn't rely on color alone
  • Proper heading structure
  • Text resizes to 200% without loss of content or function
  • Line length 45-75 characters for body text

Priority Ranking

  • P1: Highest visual impact, quick to implement
  • P2: Supporting elements, moderate effort
  • P3: Polish items, nice-to-have

Output Format

## UI/UX Audit Report

### Overall Score: X/5

### Findings by Component

| Component | Score | Issues | Recommendations |
|-----------|-------|--------|-----------------|
| MainView  | 3.5   | Labels ambiguous | Add value hints |

### Quick Wins
1. [ ] Issue → Fix

### Medium Effort
1. [ ] Issue → Fix

### Structural Changes
1. [ ] Issue → Fix

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.