From ui-refactor
A design review and UI improvement skill for frontend interfaces. This skill should be used when the user asks to "review a design", "review a screenshot", "improve the UI", "make this look better", "fix the design", "check spacing", "improve visual hierarchy", "choose colors", "pick fonts", "review my CSS", "review my Tailwind", "make this more professional", "design feedback", "fix the layout", "improve typography", "check contrast", "add depth", "polish the UI", or is working on frontend code (HTML, CSS, JSX, TSX, Svelte, Vue) where design quality matters.
npx claudepluginhub timbrinded/kiln --plugin ui-refactorThis skill uses the workspace's default tool permissions.
Design quality comes from specific, learnable decisions — not innate talent. Three principles underpin everything:
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Design quality comes from specific, learnable decisions — not innate talent. Three principles underpin everything:
When reviewing a design (screenshot, code, or description), evaluate across six dimensions in priority order:
Output format:
## Design Review
### What Works Well
- [Specific praise with why it works]
### Issues Found
1. **[Issue Name]** — [Dimension]
- What: [Observable problem]
- Why: [Principle being violated]
- Fix: [Concrete CSS/code change]
### Quick Wins
- [Highest-impact, lowest-effort changes]
When answering design questions during development (not reviewing existing work):
Route to the right reference based on the symptom:
| Symptom | Load |
|---|---|
| "Everything looks the same weight/importance" | references/hierarchy-and-emphasis.md |
| "It looks cramped" or "spacing feels off" | references/spacing-and-layout.md |
| "The fonts don't feel right" or "text is hard to read" | references/typography.md |
| "Colors feel random" or "it looks washed out" | references/color.md |
| "It feels flat" or "text on images is unreadable" | references/depth-and-images.md |
| "It looks amateur" or "needs more polish" | references/polish-and-finishing.md |
| "Where do I even start?" or general design process | references/design-process.md |
| Reviewing a full screenshot or page | Load references/hierarchy-and-emphasis.md first, then others as issues emerge |
Before loading any reference files, check for these 8 high-signal problems:
If any are detected, load the relevant reference for detailed fixes.
| File | Contents | Load When |
|---|---|---|
references/design-process.md | Start with features, work low-fidelity, constrain choices, define personality | Starting a new design or asking "where do I begin?" |
references/hierarchy-and-emphasis.md | Emphasize by de-emphasizing, weight + color + size for hierarchy, labels as last resort, semantic vs visual hierarchy | Hierarchy issues detected or reviewing any full interface |
references/spacing-and-layout.md | Non-linear spacing scale, start with too much whitespace, fixed sidebars, avoid ambiguous spacing | Spacing/layout issues or reviewing component/page structure |
references/typography.md | Hand-crafted type scale, proportional line-height, line length, letter-spacing, baseline alignment | Typography issues or text-heavy interfaces |
references/color.md | HSL workflow, 8-10 shades per color, hue rotation, warm/cool greys, accessible contrast | Color issues, palette creation, or contrast problems |
references/depth-and-images.md | 5-level shadow system, two-part shadows, flat depth, text on images, icon sizing | Depth/shadow issues or image-related problems |
references/polish-and-finishing.md | Supercharged defaults, accent borders, fewer borders, empty states, thinking outside the box | "It needs more polish" or finishing a nearly-complete design |