wshobson avatar

Visual Design Foundations

This one's a solid reference for building design systems from scratch or fixing inconsistent visual hierarchies. It generates actual CSS custom properties, spacing scales, and color tokens you can drop into projects. The typography guidelines with specific line-height ratios and the 8-point grid system are especially practical. What I like is the accessibility focus with WCAG contrast checking and the dark mode implementation strategy. It's less about creative design decisions and more about the systematic foundation work that prevents your UI from looking like a patchwork of random spacing and colors.

skills.sh installs
14.1K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill visual-design-foundations --agent claude-code

Installs into .claude/skills of the current project.

Files

Visual Design Foundations

Build cohesive, accessible visual systems using typography, color, spacing, and iconography fundamentals.

When to Use This Skill

  • Establishing design tokens for a new project
  • Creating or refining a spacing and sizing system
  • Selecting and pairing typefaces
  • Building accessible color palettes
  • Designing icon systems and visual assets
  • Improving visual hierarchy and readability
  • Auditing designs for visual consistency
  • Implementing dark mode or theming

Core Systems

1. Typography Scale

Modular Scale (ratio-based sizing):

:root {
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */
}

Line Height Guidelines:

Text TypeLine Height
Headings1.1 - 1.3
Body text1.5 - 1.7
UI labels1.2 - 1.4

2. Spacing System

8-point grid (industry standard):

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Code Review & Quality, Design & UI/UX

More from wshobson/agents

All 174
1digitalsamba avatarffmpegdigitalsamba/claude-code-video-toolkitVideo and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include 13.7Kskills.sh installs
2github avatargame-enginegithub/awesome-copilotExpert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use when asked to create games, build game engines, imple13.4Kskills.sh installs
3wshobson avatarllm-evaluationwshobson/agentsImplement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, 13.3Kskills.sh installs
4googlechrome avatarchrome-extensionsgooglechrome/modern-web-guidanceBuild and publish Chrome Extensions using Manifest V3 best practices. Use this skill whenever the user asks to create, modify, debug, or understand Chrome brows12.8Kskills.sh installs
5sickn33 avatarnodejs-best-practicessickn33/antigravity-awesome-skillsNode.js architecture and framework selection guidance based on deployment context and project requirements.12.6Kskills.sh installs
6vuejs-ai avatarvue-options-api-best-practicesvuejs-ai/skillsVue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.12.4Kskills.sh installs