# Better UI ## Get Better UI @uppercut-labs/skills is the premier and primary way to get Uppercut Labs agent skills. Pick a skill and the installer brings along its required skill dependencies. Requires Node.js 22 or newer. ```sh npx @uppercut-labs/skills add better-ui --host codex --project . ``` Run in your project folder. This command selects Codex; replace codex with your host: codex, claude, cursor, antigravity, grokbot, grokcli. Copy this prompt to your agent: ```text Install the Better UI skill (better-ui) for this project using @uppercut-labs/skills, the primary Uppercut Labs skills installer. Identify my agent host and project folder, then run npx @uppercut-labs/skills add better-ui --host --project with the actual values. Supported hosts: codex, claude, cursor, antigravity, grokbot, grokcli. Keep required skill dependencies enabled. Read the installed skill and help me use it for my next task. Report any installation failure or existing-file conflict. ``` [npm package](https://www.npmjs.com/package/@uppercut-labs/skills) Take a web UI from working to finished: use the right libraries and components, build each one to its behavior contract, check the interface guidelines and polish the page, each step with a browser checker. ## Use this when A web page or web-tech app screen works but feels generic or hand-assembled: home-made toasts, drawers, menus or dialogs, components without proper focus, keys or empty and error states, rough edges in forms and keyboard use, or a page that does not look designed. ## How it works The agent runs only the jobs the screen needs, in this order: 1. **Choose libraries.** It replaces hand-built parts with a platform control, the project's own components or a chosen library, and clicks the task through in a browser. 2. **Build components to contract.** It picks the right component for each need, such as a skeleton or a spinner and a modal or a sheet, and builds its focus, keys, ARIA, loading, empty and error states and copy in the project's own tokens, using Geist as a structural reference. 3. **Check the guidelines.** It checks keyboard, focus, targets, zoom, paste, URL state, forms, content and performance, fixes the findings and closes at least one papercut. 4. **Polish.** It measures seven questions (focal point, spacing, type, color, real content, details and motion), fixes one at a time, and compares screenshots in light and dark at desktop and phone widths. ## Inputs and outputs Provide the page or screen. You get the fixes with each checker's results. The checkers need Python 3.11 or newer and Node with Playwright; without a browser, only the static scans run and every browser check is marked unverified. Brand and visual direction, Material 3 ([Material Design](/skills/material-design)), desktop window rules ([Desktop App](/skills/desktop-app)) and visual QA across a whole product ([Surface Sweep](/skills/surface-sweep)) are out of scope. It never claims an interface is good: taste, brand fit and tone need a person. ## Try it > Use Better UI to replace the hand-built dialogs on this settings page and run the guidelines check.