/loxihart-design:advanced-visual-designfrom loxihart-design
Advanced visual design techniques including typography systems, color theory, grid-based layouts, visual hierarchy, and composition principles. Use when creating high-quality visual designs, establishing design foundations, or implementing sophisticated design systems. Also triggers on type scale, font pairing, color palette, HSL color, 8-point grid, 12-column layout, visual hierarchy, whitespace, composition, rule of thirds, golden ratio, dark mode design, optical adjustments, or easing curves. Even if someone says "make this look professional" or "set up my design foundations" — use this skill.
Ships in loxihart-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
<essential_principles>
Typography scales use ratios (Major Third 1.250, Perfect Fourth 1.333). Spacing uses the 8-point grid. Layouts use 12-column grids. Color palettes use HSL with consistent lightness steps. Design decisions are systematic, not arbitrary.
Size, weight, color, spacing, and position — in that order of impact. Every element on the page should have a clear hierarchy level. If everything is bold, nothing is bold.
Macro whitespace (48–96px between sections) creates rhythm. Micro whitespace (16–32px between elements) creates grouping. Whitespace is not empty — it's the structural system that makes content readable.
Every color has a semantic role: surfaces, text levels, actions, feedback states. Dark mode swaps semantic values, not individual component colors. Accessibility contrast ratios are non-negotiable.
</essential_principles>
| User Says | Route To |
|---|---|
| "Typography" / "type scale" / "font pairing" / "font stack" | references/typography.md |
| "Color palette" / "HSL" / "color harmony" / "dark mode colors" | references/color-systems.md |
| "Grid" / "layout" / "spacing" / "visual hierarchy" / "composition" / "whitespace" | references/layout-composition.md |
| "Optical adjustments" / "animation easing" / "micro-interactions" | references/layout-composition.md → Advanced Techniques |
<quality_gates>
Before finalizing any visual design:
max-width: 65ch)prefers-reduced-motion</quality_gates>
<reference_index>
| Reference | Purpose | When to Read |
|---|---|---|
references/typography.md | Type scales (3 ratio options), line heights, font pairing, font stacks | Setting up or auditing typography |
references/color-systems.md | HSL palette building, semantic tokens, color harmony, dark mode strategy | Choosing or building color systems |
references/layout-composition.md | 8pt grid, 12-column layout, hierarchy principles, composition rules, optical adjustments, animation | Building layouts or refining visual polish |
| Script | Purpose | When to Run |
|---|---|---|
scripts/palette-generator.py | Generate a 9-step HSL color palette from a base hue (CSS + JSON output) | Creating a new color system |
scripts/type-scale.py | Calculate a typographic scale from any ratio (table, CSS, or JSON output) | Setting up or comparing type scales |
scripts/contrast-checker.py | Check WCAG 2.2 AA contrast ratio between any two colors (hex, HSL, RGB) | Validating color accessibility |
| Asset | Purpose | When to Use |
|---|---|---|
assets/color-palettes.json | 5 pre-built accessible color palettes (ocean, forest, sunset, royal, neutral) with semantic token template | Starting a new color system without building from scratch |
</reference_index>
<quick_reference>
Quick examples:
Generate a blue palette:
python scripts/palette-generator.py 240 --name blue --format css
Calculate a Major Third type scale:
python scripts/type-scale.py --ratio 1.250 --format css
Check contrast between two colors:
python scripts/contrast-checker.py "#3b82f6" "#ffffff"
Common ratios: 1.250 (Major Third, balanced), 1.333 (Perfect Fourth, more contrast), 1.618 (Golden Ratio, dramatic)
8-point spacing: 8, 16, 24, 32, 40, 48, 64, 80, 96, 128px
Environment note: When integrating design tokens into a build pipeline, configure token source paths via environment variables rather than hardcoding: DESIGN_TOKENS_PATH, THEME_OUTPUT_DIR.
</quick_reference>
rgba(0,0,0,X) on colored surfaces creates a visual disconnect that reads as unsophisticatedassets/color-palettes.json (opens in a new tab)references/color-systems.md (opens in a new tab)references/layout-composition.md (opens in a new tab)references/typography.md (opens in a new tab)scripts/contrast-checker.py (opens in a new tab)scripts/palette-generator.py (opens in a new tab)scripts/type-scale.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-design19 skills in this plugin
/advanced-ux-patternsComprehensive UX best practices including accessibility (WCAG 2.2), interaction patterns, user research methods, and usability principles. Use when designing user interfaces, conducting UX audits, or implementing accessible, user-centered designs. Also triggers on WCAG, ARIA, keyboard navigation, screen reader, focus trap, focus management, touch targets, usability testing, heuristic evaluation, card sorting, tree testing, NPS, SUS, form design, navigation patterns, mobile UX, design handoff, cognitive load, information architecture, dark patterns, skeleton screen, error states, reduced motion, dark mode accessibility, component states, error recovery, or any request to audit, improve, spec, or review a user interface — even casually. If UI is involved, use this skill./applying-web-design-standardsApplies web design standards covering typography systems, color theory, grid layouts, design tokens, component library architecture, responsive CSS, and performance optimization. Use when the user mentions: type scale, font pairing, color palette, HSL color, 8-point grid, design tokens, component API, Storybook, Style Dictionary, atomic design, responsive layout, mobile-first, Core Web Vitals, CSS Grid, Flexbox, container queries, pre-launch audit. Does NOT activate for Kyle-specific branded builds — use executing-branded-frontends or managing-design-briefs instead.Other plugins' skills for the same job