
refactoring-ui
Audit and fix visual hierarchy, spacing, color, and depth in web UIs
by wondelaiFree
Description
refactoring-ui is an agent skill that audits and fixes the visual hierarchy, spacing, colour and depth of web interfaces, based on the principles of the Refactoring UI approach. It is for requests such as making a UI look less amateur, or fixing one that looks off. Its core principle is to design in greyscale first and add colour last, so hierarchy comes from spacing, contrast and typography rather than colour. It recommends constrained scales for spacing, type, colour and shadows, and it suggests starting with too much white space and removing it, leaving details such as icons and shadows until the layout works. The skill scores a design out of 10 by counting satisfied rows in an eight-point Quick Diagnostic, and it names the rows to fix. It works through seven principles, starting with visual hierarchy. The skill is aimed at developers who build interfaces without a designer, and it applies when generating frontend code, reviewing a design or advising on improvements. It is listed on skills.sh with about 9.0K installs.…
Highlights
- Audits hierarchy, spacing, colour and depth
- Greyscale first, colour last
- Scores a UI out of 10 with named fixes
- Seven principles for designers without a designer
Ratings & Reviews
No ratings yet
Be the first to rate refactoring-ui.
People also visit

make-interfaces-feel-better
Apply concrete design-engineering details that make interfaces feel polished

ui-design
Visual direction, interface hierarchy, layout decisions, design specifications

typeui-fundamentals
Universal UI/UX design principles covering visual hierarchy, interaction laws
refactoring-ui FAQ
What does the refactoring-ui skill do?
It audits a web interface for visual hierarchy, spacing, colour and depth, and it suggests fixes based on the Refactoring UI principles.
How do I install it?
Run npx skills add https://github.com/wondelai/skills --skill refactoring-ui in your project.
How is the score worked out?
The skill counts satisfied yes or no rows in an eight-row Quick Diagnostic and scores the result out of 10, then lists the rows that need work.
Why design in greyscale first?
The skill argues it forces proper hierarchy through spacing, contrast and typography before colour is used to carry meaning.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best refactoring-ui alternatives?
Popular alternatives to refactoring-ui include ui, make-interfaces-feel-better and improve-ui. See all refactoring-ui alternatives














