refactoring-ui

Installation
Summary

Audit and fix visual hierarchy, spacing, color, and depth in web UIs using systematic design principles.

  • Seven core principles: visual hierarchy through size/weight/color, constrained spacing scales (4/8/16/24/32/48/64px), modular typography, systematic color palettes with 5-9 shades per color, shadow elevation scales, deliberate image/icon sizing, and intentional layout composition
  • Design in grayscale first, add color last; rate designs 0-10 against framework guidelines with specific improvement paths to reach 10/10
  • Covers form design, navigation patterns, card layouts, tables, dashboards, and responsive strategies with CSS patterns and ethical boundaries for each principle
  • Includes diagnostic checklist (blur test, grayscale validation, spacing consistency, contrast verification) and common mistakes with fixes
SKILL.md

Refactoring UI Design System

A practical, opinionated approach to UI design. Apply these principles when generating frontend code, reviewing designs, or advising on visual improvements.

Core Principle

Design in grayscale first. Add color last. This forces proper hierarchy through spacing, contrast, and typography before relying on color as a crutch.

The foundation: Great UI isn't about creativity or talent -- it's about systems. Constrained scales for spacing, type, color, and shadows produce consistently professional results. Start with too much white space, then remove. Details come later -- don't obsess over icons, shadows, or micro-interactions until the layout and hierarchy work.

Scoring

Goal: 10/10. When reviewing or creating UI designs or frontend code, rate it 0-10 based on adherence to the principles below. A 10/10 means full alignment with all guidelines; lower scores indicate gaps to address. Always provide the current score and specific improvements needed to reach 10/10.

The Refactoring UI Framework

Seven principles for building professional interfaces without a designer:

1. Visual Hierarchy

Related skills

More from wondelai/skills

Installs
2.8K
Repository
wondelai/skills
GitHub Stars
952
First Seen
Jan 29, 2026