agentleFS
jaysonventurajaysonventura/claude-dev-team/skills/web-design-guidelines/SKILL.md

web-design-guidelines

Skill19 starsChanged 6 months agoMITView on GitHub

Use when building or reviewing web UI for visual quality and usability - spacing, hierarchy, typography, color/contrast, responsiveness, accessibility, and performance. Pairs with frontend-design.

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

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

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 2

    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:

    Use a consistent spacing scale (4/8px rhythm).

    line 11
  2. Distinctive:

    Don't rely on color alone to convey meaning.

    line 21

“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

Foundations that separate polished UI from generic output.

Layout & spacing

  • Use a consistent spacing scale (4/8px rhythm); align to a grid. Whitespace is a feature — don't crowd.
  • Establish clear visual hierarchy: size, weight, color, and spacing guide the eye to what matters first. One primary action per view.

Typography

  • Limited type scale (a handful of sizes), generous line-height (~1.5 body), measure ~60–75 chars. Strong heading/body contrast. 1–2 families max.

Color & contrast

  • A small, intentional palette (neutrals + 1 accent). Meet WCAG AA contrast (4.5:1 text, 3:1 large). Don't rely on color alone to convey meaning. Support dark mode via tokens, not hardcoded hex.

Responsive

  • Mobile-first; fluid layouts; test real breakpoints. Tap targets >= 44px. Respect safe areas and prefers-reduced-motion.

Accessibility (non-negotiable)

  • Semantic HTML; labels for inputs; visible focus states; keyboard-operable; alt text; ARIA only when semantics fall short. Announce async state changes.

States & feedback

  • Design loading, empty, error, and success states — not just the happy path. Optimistic UI where safe.

Performance (UX is speed)

  • Minimize layout shift (CLS), lazy-load below the fold, optimize/responsive images, avoid blocking the main thread. Measure (see gauge-improvements).

Review checklist

Hierarchy clear? Spacing consistent? AA contrast? Keyboard + focus? All four states? Responsive at real breakpoints? No CLS jank?

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.