UI/UX Design Skill

SkillMedia

Use when creating or modifying any visible UI element, adjusting spacing or typography, reviewing visual consistency, or when Lighthouse Performance drops below 90.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the UI/UX Design Skill skill

What this skill tells your AI

The instructions your AI receives, as published by holger1411/astrodeck in .claude/skills/ui-design/SKILL.md and read by ahel’s review.

Canonical Sources

This skill references the following globals — read them BEFORE starting work:

  • system/globals/typography.md — Font stack, heading scale, weights
  • system/globals/spacing.md — Section padding, grids, container widths
  • system/globals/effects.md — Border radius, shadows, card pattern
  • system/globals/imagery.md — Image formats, alt text, optimization
  • system/globals/responsiveness.md — Breakpoints, mobile-first rules

Domain

Visual Hierarchy, Spacing, Typography, OKLCH Color Theory, Layout Patterns

KPIs

MetricTargetMeasurement
Lighthouse Performance>90Lighthouse JSON → categories.performance.score * 100
First Contentful Paint<1.8sLighthouse JSON → audits.first-contentful-paint
Largest Contentful Paint<2.5sLighthouse JSON → audits.largest-contentful-paint
Cumulative Layout Shift<0.1Lighthouse JSON → audits.cumulative-layout-shift
Total Blocking Time<200msLighthouse JSON → audits.total-blocking-time

Design Consistency Checklist

  • Heading hierarchy maintained (h1 → h2 → h3, no skipping)
  • Consistent section paddings (py-20 px-6)
  • Colors only via CSS variables (text-primary, not text-blue-500)
  • Consistent border radius (rounded-xl)
  • Mobile-first responsive (all breakpoints checked: 375px, 768px, 1024px, 1280px)
  • Mobile navigation present (no hidden lg:block without mobile alternative)
  • No horizontal overflow on mobile
  • Dark mode tested

Non-Negotiable

These rules always apply — even under time pressure, even for "just a quick prototype":

  • No commit without responsive check. "We'll make it responsive later" never works — it gets forgotten and users see a broken mobile version.
  • Section padding is py-20 px-6. "A bit more room with py-32" destroys visual consistency across sections.
  • Colors only via CSS variables. "Just bg-white here" breaks dark mode immediately — without anyone noticing until they toggle.
  • No rounded-lg or rounded-md. The design system uses rounded-xl. Inconsistency is noticeable, even if individual deviations "look better."
  • Mobile-first is mandatory. Desktop-first "and then adjust" produces overflow, undersized touch targets, and missing mobile navigation.

Before Applying

Read LEARNINGS.md in this directory to avoid known anti-patterns.

Signals

GitHub stars
75
Forks
15
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
ui-design-holger1411
Source
github.com/holger1411/astrodeck