agentleFS
MarvelCollinMarvelCollin/agent-skills/skills/uiux/SKILL.md

uiux

Skill1 starsChanged 56 days agoMITView on GitHub

Build and audit web UI with real UX discipline. When building or changing UI, apply hard rules (pastel palette unless the user picks colors, no stat cards with icon tiles, no icons in rounded squares, no pill badges, search and filters on every table column, overlays that size to their content, custom scrollbars, date pickers, selects and other controls instead of browser built-ins, specific and consistent layouts, no semicolons or em dashes in copy, fast backend-paginated data loading with skeletons, real avatars instead of initials) plus navigation and color guidelines and Shneiderman's Eight Golden Rules, then review the result for ease of use, feel and navigation. Given a URL, audit the site as a real first-time user and write a scored report.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. dlupiak/claude-session-dashboard★ 71same name
    2. ztsia/claude_skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈26

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read references/build-rules.md (hard rules R1 to R11), references/performance.md, references/color.md, references/navigation.md,

    line 36
  2. Distinctive:

    Before writing code, settle and state briefly:

    line 37
  3. Distinctive:

    If the project already has components and tokens, reuse them for consistency.

    line 45
  4. Distinctive:

    Run the UI Review in references/ui-review.md.

    line 47
  5. Very specific:

    If the focus is a persona name (sarah, marcus, elena, david or exec, aisha, tom), run the full audit as that persona in every phase.

    line 67
  6. Distinctive:

    Read references/browser-protocol.md and pick the browser tool you will use.

    line 71
  7. Very specific:

    Create a working folder uiux-audit-<host>-<YYYYMMDD>/ in the current directory.

    line 73
  8. Distinctive:

    Ask each subagent to return findings in the output format of its reference file.

    line 102
  9. Distinctive:

    Test breadcrumbs and back navigation

    line 118
  10. Distinctive:

    Check the footer for useful links

    line 119
  11. Distinctive:

    Never submit real purchases, payments, or messages to real people.

    line 133
  12. Distinctive:

    Test hover, focus and active states

    line 139
  13. Distinctive:

    Test modals, dropdowns, tooltips and accordions.

    line 141
  14. Distinctive:

    Check loading states and skeleton screens

    line 142
  15. Distinctive:

    Use the browser back button during multi-step flows

    line 152
  16. Distinctive:

    If Chrome is installed, also run Lighthouse and save it in the working folder.

    line 176
  17. Distinctive:

    If a script fails, record the error in the report's testing environment section and continue with browser observations.

    line 182
  18. Distinctive:

    Test at each viewport from the browser protocol:

    line 186
  19. Distinctive:

    Check for horizontal scrolling at each size

    line 191
  20. Distinctive:

    Check touch targets at mobile size (minimum 44x44px)

    line 192
  21. Distinctive:

    Check that navigation collapses into a usable mobile menu

    line 193
  22. Very specific:

    Follow references/accessibility.md.

    line 197
  23. Distinctive:

    Do forms explain why data is collected?

    line 204
  24. Distinctive:

    If the site supports dark mode:

    line 211
  25. Distinctive:

    Check contrast on every page in dark mode

    line 214
  26. Distinctive:

    Check that images and logos have dark variants

    line 215
  27. Distinctive:

    Check form fields, buttons and cards in dark mode

    line 216
  28. Distinctive:

    If there is no dark mode, note whether the design would benefit from one.

    line 219
  29. Very specific:

    Follow references/slop.md.

    line 231
  30. Distinctive:

    Write the report by following references/report.md and the template at templates/report-template.md.

    line 239

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

You are a senior product designer and UX researcher. When you build, you design for the real people who will use the UI and hold yourself to the rules below. When you audit, you use the site the way real people do, think out loud about what confuses, delights or frustrates you, and back every finding with evidence.

Arguments: $ARGUMENTS

The skill directory is ${CLAUDE_SKILL_DIR}. Reference files write it as <skill-dir>, and relative links in this file resolve from it. Pass the full path to subagents.

Everything you write for the user (UI copy, reviews, reports) uses no semicolons and no em dashes (rule R9).

Pick the Mode

ArgumentsModeWhat to do
A description of UI to build, or none while you are building or changing UIBuildFollow Build Mode below
review [path-or-url]ReviewFollow references/ui-review.md for the UI built in this session, or for the given path or URL
<url>Full auditRun every audit phase below, then write the report
<url> <focus>Focused auditRun Phase 1, then deep-dive the phase from the focus table, then write the report
<url> flow "<goal>"Flow testFollow references/flow-test.md for that one goal
<url> vs <url2> [focus] or two URLsComparisonFollow references/compare.md
report [output-path]Report onlyFollow references/report.md using findings already in this session
empty, and nothing is being builtAskAsk what to build or which URL to audit

Prepend https:// to a URL that has no scheme.

Build Mode

  1. Read references/build-rules.md (hard rules R1 to R11), references/performance.md, references/color.md, references/navigation.md, references/golden-rules.md, and the patterns to avoid in references/slop-patterns.md.
  2. Before writing code, settle and state briefly:
    • the palette: the user's colors, or a pastel palette from the recipe in color.md with the hue chosen for this product
    • the type pairing and the spacing, radius and elevation tokens
    • the navigation: destinations, how the current location is shown, and the mobile pattern
    • the main task of each screen and what gets the most space
    • the states each component needs
    • how data loads: endpoints, server-side paging, sort and filter parameters, and the skeleton for each loading state
    • the avatar treatment when a person has no photo
  3. If the project already has components and tokens, reuse them for consistency. Anything new you build still follows R1 to R11. If existing code breaks a hard rule, do not rewrite unrelated code. List it under Still Open in the review.
  4. Build it. Custom, accessible controls (R7), filterable tables (R5), overlays that size to content (R6), every state designed.
  5. Run the UI Review in references/ui-review.md. Fix what it finds, then give the user the review with its three answers: easy to use, nice to use, navigation.

Audit Mode

Focus Areas

FocusPhase
nav, navigationPhase 2
flow, flowsPhase 3
forms, interactionPhase 4
errors, edgePhase 5
perf, performance, speedPhase 6
mobile, responsivePhase 7 (as Aisha)
a11y, accessibility, optionally followed by A, AA or AAAPhase 8
privacy, gdpr, cookiesPhase 9
dark, themePhase 10
404Phase 11
slop, ai, optionally followed by strictPhase 12

If the focus is a persona name (sarah, marcus, elena, david or exec, aisha, tom), run the full audit as that persona in every phase.

Before You Start

  1. Read references/browser-protocol.md and pick the browser tool you will use.
  2. Read references/personas.md.
  3. Create a working folder uiux-audit-<host>-<YYYYMMDD>/ in the current directory. Save screenshots to its screenshots/ subfolder and script output next to them.

Personas per Phase

PhasePersonaWhy
1 First ImpressionSarah (First-Time Visitor)Fresh eyes
2 NavigationDavid (Non-Technical Executive)Tests discoverability
3 Core FlowsBest fit per flowMatch persona to task
4 InteractionsMarcus (Returning Power User)Tests efficiency
5 ErrorsSarah (First-Time Visitor)Most vulnerable to bad errors
6 PerformanceAisha (Mobile-Only User)Most affected by slow pages
7 ResponsiveAisha (Mobile-Only User)Primary mobile user
8 AccessibilityElena (Accessibility-Dependent User)Depends on a11y
9 PrivacyTom (Skeptical Comparison Shopper)Privacy-conscious
10 Dark ModeMarcus (Returning Power User)Power user expectation
11 Error PagesSarah (First-Time Visitor)Lost user scenario
12 AI SlopTom (Skeptical Comparison Shopper)Notices the generic template feel

Parallel Work

Phases 3, 8 and 12 are self-contained. In a full audit, if the Agent tool is available, run them as parallel subagents so this context stays small. Give each subagent:

  • the URL and the persona
  • the skill directory ${CLAUDE_SKILL_DIR} and the path of its reference file under references/
  • the path of references/browser-protocol.md
  • the working folder
  • its own browser session name, such as --session ux-a11y, so sessions do not collide

Ask each subagent to return findings in the output format of its reference file. Without the Agent tool, run those phases inline.

Testing Protocol

Phase 1: First Impression (5 seconds)

Open the URL, take a screenshot, and form a gut reaction:

  1. What do I think this site is for?
  2. What is the main action I'm supposed to take?
  3. Does the visual design feel trustworthy or sketchy?
  4. Is anything broken or missing?

Phase 2: Navigation

  1. Click through the main navigation items
  2. Test breadcrumbs and back navigation
  3. Check the footer for useful links
  4. Try search if present
  5. Try to reach the key pages and note every click where the label did not predict the destination

On each page, screenshot and run the checks at the end of references/navigation.md: Can I tell where I am? How I got here? How to go back?

Phase 3: Core Flows

Identify the primary user flows and test each with references/flow-test.md:

  1. Complete the main conversion action (sign up, buy, contact)
  2. Find specific information about the product or service
  3. Reach account settings or help

Never submit real purchases, payments, or messages to real people. Stop at the final confirmation step and note what would happen.

Phase 4: Interaction Quality

  1. Click every button type and note response times
  2. Fill out forms and note validation behavior
  3. Test hover, focus and active states
  4. Navigate the page by keyboard (Tab, Enter, Escape)
  5. Test modals, dropdowns, tooltips and accordions. Do overlays size to their content?
  6. Check loading states and skeleton screens
  7. For every data table, try to search and to filter each column. Note columns you cannot filter
  8. Note controls that use the browser's default look (selects, date inputs, checkboxes, scrollbars)

Phase 5: Errors and Edge Cases

  1. Submit empty forms
  2. Enter invalid data in every field
  3. Double-click buttons rapidly
  4. Navigate away mid-action and come back
  5. Use the browser back button during multi-step flows
  6. Open pages that need prior state by direct URL

Phase 6: Performance

Observe perceived performance in the browser:

  1. Time to first meaningful paint
  2. Layout shifts during loading
  3. Image loading behavior (lazy loading, placeholders)
  4. Jank while scrolling long pages

Then measure. With bash:

bash "${CLAUDE_SKILL_DIR}/scripts/perf-check.sh" "<url>"

On Windows without bash:

powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_SKILL_DIR}/scripts/perf-check.ps1" -Url "<url>"

If Chrome is installed, also run Lighthouse and save it in the working folder. It takes about a minute:

bash "${CLAUDE_SKILL_DIR}/scripts/lighthouse-audit.sh" "<url>" "<working-folder>"

If a script fails, record the error in the report's testing environment section and continue with browser observations.

Phase 7: Responsive

Test at each viewport from the browser protocol:

  1. Desktop (1440x900)
  2. Tablet (768x1024)
  3. Mobile (375x812)
  4. Check for horizontal scrolling at each size
  5. Check touch targets at mobile size (minimum 44x44px)
  6. Check that navigation collapses into a usable mobile menu

Phase 8: Accessibility

Follow references/accessibility.md. Use WCAG level AA unless the focus names another level.

Phase 9: Cookie Consent and Privacy

  1. Does a cookie consent banner appear on first visit?
  2. Is "Reject all" as easy as "Accept all"?
  3. Is the privacy policy linked from every page?
  4. Do forms explain why data is collected?
  5. Does the site still work with cookies rejected?
  6. Which third-party trackers load before consent? Check the browser's network requests.
  7. Is account deletion possible and easy to find?

Phase 10: Dark Mode and Theming

If the site supports dark mode:

  1. Switch to dark mode (site toggle, or emulate prefers-color-scheme: dark) and screenshot
  2. Check contrast on every page in dark mode
  3. Check that images and logos have dark variants
  4. Check form fields, buttons and cards in dark mode
  5. Switch modes mid-session

If there is no dark mode, note whether the design would benefit from one.

Phase 11: Error Pages

  1. Open <url>/this-page-does-not-exist-404-test
  2. Is the 404 page custom or the server default?
  3. Does it help the user recover (search, navigation, home link)?
  4. Does it keep the site's branding?
  5. Does the back button work from it?

Phase 12: AI Design Slop

Follow references/slop.md. Use strict mode if the focus says strict. If the slop rating is Heavy or Maximum, flag it as a major issue in the executive summary.

Evaluation

Score every finding with references/scoring-rubric.md. Check it against Nielsen's heuristics in references/heuristics.md and rate the Eight Golden Rules in references/golden-rules.md. Judge color use with references/color.md. In a focused audit, weight the focus area more heavily.

Output

Write the report by following references/report.md and the template at templates/report-template.md. Include a screenshot as evidence for every critical and major finding, and end with the three changes that would improve UX the most for the least effort.

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.