「Refactoring UI」書籍に基づくデザインスキル。定義済みスペーシングスケール、HSLベースカラーシステム、標準化シャドウレベル。/ui-refactorコマンド付き。
A Claude Code skill that teaches AI to build better UIs using tactical design principles from Refactoring UI.
Why this matters: AI can write functional code but often produces generic, poorly designed interfaces. This skill gives Claude Code a design system and tactical rules to follow, resulting in more professional UIs.
.claude/
├── skills/ui-refactor/
│ ├── SKILL.md # Main skill definition
│ └── references/
│ ├── hierarchy.md # Visual hierarchy tactics
│ ├── layout-spacing.md # Spacing systems & grids
│ ├── typography.md # Type scales & fonts
│ ├── color.md # HSL palettes & contrast
│ └── depth-and-polish.md # Shadows & finishing touches
│
└── commands/ # Slash commands for quick fixes
├── ui-refactor.md
├── fix-hierarchy.md
├── fix-typography.md
├── fix-layout.md
└── fix-colors.md
.claude folder to your project root/ui-refactor Create a dashboard with stats cards and a data table
Or just describe what you want:
"Build me a pricing page with three tiers"
"Make this form look more professional"
"Fix the visual hierarchy on this card component"
The skill enforces these tactical rules:
The /design folder contains an example dashboard built using this skill:
index.html - Dashboard with sidebar, stats, charts, and data tablestyles.css - Complete design system with CSS custom propertiesscript.js - Interactive functionalityDesign principles from Refactoring UI by Adam Wathan & Steve Schoger. This skill is a distillation of their book into actionable rules for AI code generation.
Built with Claude Code