Refactoring UI Skill
Agent skill for professional UI design based on Refactoring UI principles. Covers hierarchy, typography, color, spacing, dark mode, forms, accessibility, and animation.
Install: npx skills add jaywilburn/refactoring-ui-skill/refactoring-ui
Install
npx skills add jaywilburn/refactoring-ui-skill/refactoring-uiInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Refactoring UI Design Skill
An opinionated agent skill for building professional UI without a designer, based on Refactoring UI principles by Adam Wathan & Steve Schoger.
What This Skill Covers
Design Thinking
- Design Personality & Tone — Formal/casual, reserved/expressive framework with domain anchors
- Color Theory & Psychology — Color wheel, harmony schemes, hue psychology, saturation as a design lever
- Layout Decision Framework — Content-first layout selection, density spectrum, domain layout profiles
- Breaking AI Defaults — Named anti-patterns (purple gradients, SaaS templates) with concrete alternatives
- Component Variation — Same component, different design based on context
Execution
- Visual Hierarchy — Size, weight, and color as tools for emphasis
- Typography — Modular scales, line height, letter spacing, weight strategy
- Color — HSL palettes, UI states, warm/cool grays, accessibility
- Spacing — Consistent scales, proximity relationships
- Layout — Max-width constraints, breathing room, alignment
- Mobile-First — Breakpoint strategy, touch targets, responsive typography
- Depth & Shadows — Elevation systems, natural shadow direction
- Dark Mode — Systematic approach (not just inverted colors)
- Form Patterns — Input styling, labels, errors, field grouping
- Accessibility — Focus states, motion sensitivity, semantic HTML
- Animation — Timing, easing, what to animate
- Design Audit Checklist — Structured review framework
Installation
Claude Code / Warp / Cursor
# Clone to your skills directory
git clone https://github.com/jaywilburn/refactoring-ui-skill.git ~/.agents/skills/refactoring-ui
Or copy skills/refactoring-ui/SKILL.md to your preferred skills location:
- Claude Code:
~/.claude/skills/refactoring-ui/ - Codex CLI:
~/.codex/skills/refactoring-ui/ - Cursor:
.cursor/skills/refactoring-ui/
Via npx (once indexed)
npx skills add jaywilburn/refactoring-ui-skill/refactoring-ui
When It Triggers
The skill activates when you're:
- Creating new pages or components
- Making design additions or changes
- Asking about colors, fonts, spacing, layout
- Discussing "how should this look"
- Reviewing or critiquing existing interfaces
- Working on responsive/mobile design
Example Prompts
"How should I style this card component?"
"What colors should I use for this dashboard?"
"Make this form look more professional"
"Review this page layout"
"Help me set up a consistent spacing system"
Differentiators
Unlike other UI design skills, this one fights AI-generated sameness head-on:
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…