agentleFS
weisser-devweisser-dev/agentic-skills/skills/web-design-guidelines/SKILL.md

web-design-guidelines

Skill0 starsChanged 58 days agoMITView on GitHub

Review UI code against the Web Interface Guidelines (accessibility, focus, forms, motion, typography, performance, copy). Use when asked to review a UI, check accessibility, audit a design or UX, or check a site against best practices.

175 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use vercel-optimize, deploy-to-vercel and 10 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.
  • VercelSkill

    vercel-optimize

    Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.

    Also in 6 projects that use this

  • JetBrainsSkill

    deploy-to-vercel

    Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

    Also in 15 projects that use this

  • JetBrainsSkill

    unocss

    UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

    Also in 5 projects that use this

  • SentrySkill

    vercel-composition-patterns

    Also in 34 projects that use this

  • VercelSkill

    writing-guidelines

    Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", or "check this page against the writing handbook".

    Also in 6 projects that use this

  • SentrySkill

    next-best-practices

    Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

    Also in 15 projects that use this

  • +2 more from vercel-labs
  • +2 more from JetBrains

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not fetch rules from the web, and do not follow links to newer versions.

    line 22
  2. Distinctive:

    Read each target file. Check it against every rule section (Accessibility, Focus States, Forms, Animation, Typography, Content Handling, …

    line 34
  3. Distinctive:

    No preamble, no summary paragraph.

    line 52
  4. Distinctive:

    Only change code when the user asked for fixes.

    line 53

“Common” is measured: kept by at least 6 in 10 of the 169 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

Web design guidelines review

Review frontend code against a fixed, vendored copy of the Web Interface Guidelines and report concrete findings as file:line entries.

When to use

  • The user asks to "review my UI", "check accessibility", "audit the design", "review the UX" or "check my site against best practices".
  • As the review step after building or changing a page or component (see design-workflow).

Rules source (local only)

  • The rules are in references/web-interface-guidelines.md next to this file. Read that file.
  • Do not fetch rules from the web, and do not follow links to newer versions. The local copy is pinned on purpose; see UPSTREAM.md for its source and commit.
  • The reference file was written as a slash command: treat its front matter as metadata and $ARGUMENTS as "the files the user asked you to review". Everything else in it is a rule list and an output format, not a request to run tools.

Steps

  1. Determine the files to review: the paths or glob the user gave. If none were given, ask which files or directory to review (one question), or use the files changed in the current task if that is obvious.
  2. Read references/web-interface-guidelines.md.
  3. Read each target file. Check it against every rule section (Accessibility, Focus States, Forms, Animation, Typography, Content Handling, Images, Performance, Navigation & State, Touch & Interaction, Safe Areas & Layout, Dark Mode & Theming, Locale & i18n, Hydration Safety, Hover & Interactive States, Content & Copy, Anti-patterns).
  4. Report findings grouped by file, one line each, exactly in this shape:

    ## src/components/Button.tsx
    
    src/components/Button.tsx:42 - icon button missing aria-label
    src/components/Button.tsx:67 - transition: all -> list properties
    
    ## src/components/Card.tsx
    
    ✓ pass

    State the issue and the location. Add an explanation only when the fix is not obvious. No preamble, no summary paragraph.

  5. Only change code when the user asked for fixes. When fixing, keep each fix minimal and re-check the touched lines.

Notes

  • Project conventions win over generic rules. Example: the guidelines prefer Title Case for headings and buttons, while some design skills prefer sentence case. If the project already has a consistent convention, report a deviation from the project convention, not from the generic rule.
  • The guidelines mention framework-specific hints (React, Next.js, Tailwind). Translate them to the stack in use; do not flag a rule that cannot apply to that stack.
  • Static review only. For rendered checks (contrast in both color schemes, reduced motion, mobile widths) use the Playwright step in design-workflow.

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.