Web design guidelines

From ComeOnOliver/skillshub · View interactive version

Web design guidelines is an AI agent skill from the GitHub repository ComeOnOliver/skillshub. Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", "check my site against best practices", or "web interface guidelines".

How to use this skill

Skill file

Web Interface Guidelines

When to Load

Self-contained guidelines for reviewing web interfaces. Apply these rules when auditing UI code.

Output Format

Report findings as: file:line — [RULE_ID] description

Example: src/Button.tsx:12 — [A11Y-01] Missing aria-label on icon button

1. Accessibility (A11Y)

A11Y-01: Semantic HTML

A11Y-02: ARIA Labels

A11Y-03: Keyboard Navigation

A11Y-04: Color & Contrast

A11Y-05: Screen Readers

2. Performance (PERF)

PERF-01: Image Optimization

PERF-02: Bundle Size

PERF-03: Rendering

PERF-04: Core Web Vitals

3. Responsive Design (RD)

RD-01: Mobile First

RD-02: Fluid Layout

RD-03: Breakpoints

4. Component Patterns (CP)

CP-01: Forms

CP-02: Loading States

CP-03: Error States

CP-04: Empty States

CP-05: Modals & Dialogs

5. CSS Practices (CSS)

CSS-01: Specificity

CSS-02: Layout

CSS-03: Dark Mode

6. Security (SEC)

SEC-01: Content Security

SEC-02: Forms & Input

7. Internationalization (I18N)

I18N-01: Text

Review Checklist

When auditing a file, check in this order (CRITICAL first):

  1. CRITICAL: A11Y-01, A11Y-02, SEC-01 — Semantic HTML, ARIA, XSS prevention
  2. HIGH: PERF-04, A11Y-03, CP-01 — Core Web Vitals, keyboard, forms
  3. MEDIUM: RD-01, CSS-02, CP-02, CP-03 — Responsive, layout, loading/errors
  4. LOW: CSS-03, I18N-01, CP-04 — Dark mode, i18n, empty states
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.