Audits UI screens against hierarchy, type scale, spacing scale, color tokens, and component consistency. Introduces design tokens before restyling and verifies changes with before/after screenshots.
Ships in browser-extensions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Most "ugly" apps are not missing talent, they are missing constraints: twelve font sizes, spacing picked per element, a dozen near-identical greys, and buttons that each grew their own style. Good design here is mostly removing choices. Fix the system first (tokens, scales), then the screens fall into line.
Run the app with local data and screenshot the screens that matter at desktop and phone widths. Design judged from source code is guesswork.
uvx --from playwright playwright screenshot --viewport-size "1280,800" "http://127.0.0.1:$PORT/" before-home-desktop.png
uvx --from playwright playwright screenshot --viewport-size "390,844" "http://127.0.0.1:$PORT/" before-home-phone.png
Keep these "before" images; every design change is reviewed as a before/after pair.
Score each screen; the lowest scores are where the work is.
building-accessible-interfaces skill.Choose the intended feel before choosing tokens. A restrained utility palette is one starting point, not a universal definition of quality. Games should feel playable; consumer/social apps built around fun should carry that energy in their visual language.
For example, a game can give its board a saturated background, its main action a contrasting fill and offset shadow, and its score a reward accent while keeping instructions on a quiet, readable surface. Hierarchy still needs one obvious primary action. Expressiveness changes styling, not features or product scope.
Other audiences need their own register, not a default framework theme:
Before changing how any screen looks, introduce design tokens — named values for color, type, spacing, radius, shadow — in one place, and point existing styles at them. Then restyling becomes editing tokens, not hunting hex codes.
:root (works with any framework, including none).
If the app already uses Tailwind, put the scales in the Tailwind theme instead of
adding a parallel system.--color-text-muted, not --grey-500; --space-4,
not --sixteen.@media (prefers-color-scheme: dark), never by restyling components.A starter token set (CSS custom properties with scales, semantic colors, and a dark override) is in TOKENS.md. The order of operations for retrofitting an old app — and how to split it into reviewable PRs — is in MODERNIZING.md.
Build or fix the handful of primitives everything else uses: button (primary,
secondary, ghost, danger), input/select/textarea with label and help text, card,
table, badge, alert, modal, nav. Each needs every state, not just the resting one:
default, hover, focus-visible, active, disabled, loading — plus the screen-level
states (empty, loading, error, success) covered in the
designing-interaction-states skill.
A component library (shadcn/ui, Radix, Headless UI, a design-system package) is a good choice for a new app. For an old server-rendered app, a small set of hand-written classes on top of tokens is usually lighter than migrating frameworks.
Re-take the same screenshots after the change, at both widths, and compare side by side. Check: the hierarchy squint test, nothing overflowing at 390px, focus rings visible when tabbing, dark mode if supported. Attach the before/after pair to the PR — reviewers approve design changes by looking, not by reading CSS diffs.
Stacked restyles often leave the same selector defined several times. Editing the first block can have no visible effect because a later block wins. Before retinting or consolidating a component, inspect every definition and the winning declarations in browser DevTools.
getComputedStyle(element) for
matching elements, plus ::before and ::after when their content is present.
This catches a changed winning declaration even when a screenshot looks close.An empty duplicate-selector report proves only structural cleanup. Matching computed styles across the exercised states and matching layouts provide the evidence that the cleanup preserved the design.
The frame around the content is judged as hard as the content itself.
On iOS and macOS, follow the platform (Apple's Human Interface Guidelines) rather
than porting web conventions: system fonts and Dynamic Type text styles, semantic
system colors (.primary, .secondary, Color(.systemBackground)), SF Symbols,
standard navigation and list patterns, 44pt minimum touch targets. "Looks like a
good Apple app" beats "looks like our website". The fundamentals above still apply
— hierarchy, spacing rhythm, consistency — expressed through platform styles.
Cover every platform the product ships on. When a product runs on desktop and phone (or Mac and iPhone), a design target, mockup or restyle issue must include each one. A single-platform mock leaves the other to be improvised in code and drift from the intended language. Share the tokens and visual identity across platforms, but design each layout natively: a desktop sidebar and dense table do not shrink into a phone screen, they become a tab bar or stack and a card list.
Design improvements are legitimate, valuable issues — an app that looks abandoned loses users before they try a feature. Keep each one a single reviewable PR:
Each issue names the screens it touches and includes before screenshots; each PR includes after screenshots. Avoid "redesign the whole app" issues — they never finish and can't be reviewed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/browser-extensions:designing-interfacesfrom browser-extensions
npx claudepluginhub wdm0006/python-skills --plugin browser-extensions10 skills in this plugin
/building-accessible-interfacesMakes web and app UIs usable by keyboard, screen-reader, low-vision and motion-sensitive users — semantic HTML before ARIA, labelled controls, visible focus, WCAG AA contrast measured rather than eyeballed, touch targets, reduced motion, and automated axe checks plus a manual keyboard pass in CI or before every UI PR. Use when building or restyling a screen, adding a form, modal, menu or custom control, choosing colors, or reviewing a UI change./wiring-application-configLoad, merge, and validate layered application configuration (defaults plus a user YAML/TOML/JSON file or a stored settings object) so a mis-wired or misspelled key fails loudly instead of silently reverting to the default — sections the code reads that exist nowhere, sections that exist but nothing reads, unvalidated recursive merges, `bool`-passes-as-`int`, defaults aliased by a shallow merge, falsy-but-valid values killed by `or`/`||`, partial write-backs that are stickier than a missing file, and bootstrap ordering that swallows the loader's own warnings. Use when adding a config key, writing or reviewing a config loader/merge/schema, reading a setting in a new module, persisting user settings, wiring logging from config, or debugging a setting that "has no effect".Other plugins' skills for the same job