/SKILL.md
Professional UI design guidelines for accessible, well-structured interfaces. Use when: writing CSS, HTML, or frontend component code; designing websites, apps, dashboards, or any web interface; reviewing or improving existing UI designs; making decisions about colour, typography, layout, spacing, buttons, or forms; ensuring WCAG 2.1 AA accessibility; creating design systems or component libraries. Covers OKLCH colour palettes, 8pt spacing grid, fluid typography with clamp(), container queries, subgrid, form validation patterns, button hierarchy, dark mode, reduced motion, SEO meta tags, and Core Web Vitals.
npx skillsauth add sebastian-software/effective-ui-design-skill effective-ui-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enforces professional UI design guidelines for accessible, well-structured interfaces. Apply these rules to every UI design decision without exception.
| Topic | Reference File | |-------|---------------| | Fundamentals | references/01-fundamentals.md | | Less is More | references/02-less-is-more.md | | Colour | references/03-colour.md | | Layout & Spacing | references/04-layout-spacing.md | | Typography | references/05-typography.md | | Web Fonts | references/05b-webfonts.md | | Copywriting | references/06-copywriting.md | | Buttons | references/07-buttons.md | | Forms | references/08-forms.md | | SEO for Frontend | references/09-seo.md |
light-dark() for theme switching without media query duplicationclamp()srcset, loading="lazy", aspect-ratio to prevent layout shift)@media (hover: hover) and (pointer: fine) — never hide content behind hoverenv(safe-area-inset-*) with viewport-fit=cover for fixed/sticky elements on notched devicescurrentColor to inherit text colour; match stroke width to font weightaria-label:user-valid/:user-invalid for validation that respects interaction timing<title> per page (50-60 chars, primary keyword near the beginning)<meta name="description"> per page (150-160 chars)<link rel="canonical"> on every page<h1> per page, logical heading hierarchy (no level skipping)og:title, og:description, og:image) for social sharingfavicon.ico (32×32), icon.svg (with dark mode), apple-touch-icon.png (180×180), icon-192.png, icon-512.png@media (prefers-color-scheme: dark) for automatic dark modemanifest.webmanifest with icon-192.png, icon-mask.png (512×512, maskable), and icon-512.pngbrowserconfig.xmlBefore finalizing any UI design:
Accessibility
<nav>, <main>, <search>, landmarks)aria-label for icon-only buttons)alt text (empty alt="" for decorative)user-scalable=no / maximum-scale=1)Visual Hierarchy
Typography
Copywriting
Forms
SEO
<title> with primary keyword (50-60 chars)<meta name="description"> (150-160 chars)<h1> per page, no heading level skipsog:title, og:description, og:image)fetchpriority="high"favicon.ico, icon.svg (with dark mode), apple-touch-icon.png, icon-192.png, icon-512.pngmanifest.webmanifest with icon-192.png, icon-mask.png (maskable), icon-512.pngWhen creating UI code:
@starting-style for CSS-only entry animations on dialogs and popoversprefers-reduced-motionBrand: oklch(60% 0.15 hue) - Interactive elements
Text strong: oklch(25% 0.02 hue) - Headings, primary text (4.5:1+)
Text weak: oklch(45% 0.02 hue) - Secondary text (4.5:1+)
Stroke strong: oklch(58% 0.02 hue) - Form borders, icons (3:1+)
Stroke weak: oklch(92% 0.005 hue) - Decorative borders
Fill: oklch(97% 0.003 hue) - Secondary backgrounds
Background: oklch(100% 0 0) - White or near-white
Heading 1: 40px / 48px line-height / bold
Heading 2: 32px / 40px line-height / bold
Heading 3: 24px / 32px line-height / bold
Heading 4: 20px / 28px line-height / bold
Body: 16px / 24px line-height / regular
Small: 14px / 20px line-height / regular
XS: 8pt - Closely related elements
S: 16pt - Related elements
M: 24pt - Component padding
L: 32pt - Grid gutters, section gaps
XL: 48pt - Large section gaps
XXL: 80pt - Page section padding
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.