/web-skills:app-uifrom web-skills
Build the screens inside a web app or admin area as a clickable prototype (dashboard, table, list, record detail, multi-step form, long-job progress, preview to approve, settings, sign in, error pages) from a fixed HTML/CSS kit and screen recipes that follow real SaaS apps on Mobbin, so the look does not depend on the model. Use when the user asks for app screens, an admin dashboard, a prototype with many screens, màn hình app, giao diện quản trị, trang admin, form nhiều bước, dựng prototype, or to redo app screens that look AI-made. Not for landing pages (bpo-landing-builder) or online shops, their storefront or their store admin (ecommerce-builder).
Ships in web-skills. 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.
You do not design from a blank page. The kit (kit/) already fixes colour, type, spacing, shape and every
component; the recipes (recipes/) already fix the layout of each kind of screen with all its states. Your job
is to understand what each screen is for, pick the recipe, and rewrite it for the product: its words, its
columns, its sample data. Pages use kit classes only; lint_ui.py fails anything else.
SKILL below means the folder that holds this file. If you cannot run shell commands, stop and tell the user:
the scripts are required.
Read the request and take the first row that matches.
| The user | Path |
|---|---|
| asks to look at screens built with this kit ("xem giúp", "review", "chỗ nào chưa ổn", a screenshot) | Review. Run lint and QA with --sweep, open the screenshots, answer the five questions in references/rules.md, then send one table: each problem with its kind (Broken: fails for any brand, such as overflow, low contrast, clipped text; Off-system: differs from the rest of the product; Taste: a preference) and the fix. Change nothing until the user picks the rows |
| asks to change screens already built with this kit | Edit. Change only what was asked, keep frames and recipes, rerun lint and QA, report what changed |
| has an app in another stack (React, Vue, Tailwind, a CSS framework) and wants it changed in place | This version writes plain HTML, CSS and JavaScript. Say so in one line; offer a static prototype of the screens to agree on first, which their developers then port |
| anything else that is app screens | Build: Step 1 onwards |
kit/tokens.css; no <style> blocks; no inline style except a custom property or a width in percent. A need the kit does not cover goes in one project CSS file that reads tokens (lint checks it), or in the kit itself when it is general (see Maintaining).kit/app.css or kit/app.js. Brand changes go through scripts/theme.py.h1 and at most one primary button per view and per dialog, in every state.data-state, opened with ?state=): see "States every screen draws" in references/screens.md. No grey bars standing in for content.references/copy.md: action labels, errors that say what to do, no emoji, arrows, em or en dashes or stock phrases. Sample data is invented on purpose, covers edge cases and is called invented in the report.ui: events or link to the next screen.Read the project (README, spec, routes, data, existing screens), then send the brief from references/screens.md:
five lines (product, users, main jobs, device, what sets it apart) and one row per screen (what people come
to do, what they decide by, the final action, the recipe). Each line says where it came from. Ask at most five
questions, each with a guessed answer. Stop and wait for ok or corrections.
Skip the stop only when the request already settles it ("dựng luôn", a spec that answers it, or the user's reply to an earlier brief); then put the brief in three lines at the top of the report.
Each recipe already follows real apps (references/sources.md). Before rewriting a screen, look at what real
products of the same kind show on it. When the Mobbin tools are connected, search one screen at a time on the
web platform ("order list with status tabs and bulk actions", not a list of keywords) and open the results;
otherwise open the sources of the nearest recipe. Take from them what the screen shows and in what order
(columns, fields, actions, the empty state), never invent a layout the recipes and the references do not show,
and name the references you followed in the report. A screen no recipe fits is built only from such references.
python SKILL/scripts/new.py --list
python SKILL/scripts/new.py <out> --name "<Product>" --accent "#<logo colour>" --primary brand --screens list:projects,wizard:new,review,dashboard,table:requests
It also writes screens.html and adds the prototype navigator to every page: a "Xem prototype" button on the
right edge that opens every screen and state, with previous and next screen and Alt+M, Alt+arrow keys
(kit/proto-nav.js, filled in by scripts/protonav.py). People reviewing a prototype do not find an index
page; they find a button that is always on screen.
--accent is the logo colour; without one, keep the default and say where to change it. --primary is the
main button: brand paints it in the logo colour, ink near-black with the brand on the logo and links (real apps
split about evenly); ask in the brief when the user has not said, default brand. recipe:file names
the page. A product with an existing static site puts the prototype in its own folder (<project>/app/).
For each page, keep the frame and the recipe's structure, then:
aria-current on the right one)0, a big number, a missing value, a past-due item)data-statesreferences/components.md exactly; a screen no recipe fits borrows the nearest recipe and says so in the reportThen wire the navigator again, since pages and states changed:
python SKILL/scripts/protonav.py <out> every page that uses the kit, one list
python SKILL/scripts/protonav.py <out> --config nav.json groups by area, titles, state labels
Give it a config (<out>/proto-nav.json is read by default) as soon as the prototype has more than one area:
groups in the order a visitor meets them (visitor, signed-in user, admin), a title per page in the product's
words, a label for every state it reports as unlabelled. A page built by another skill (the landing page) goes in
the config with its path relative to <out>; the script adds the tag with the right relative path. When some
screens change with one choice (an industry, a plan), the config's select adds that parameter to their links.
The script prints pages the config forgot; list them or leave them in the last group on purpose.
python SKILL/scripts/lint_ui.py <out>
It must print LINT PASSED. Fix the page, not the rule: a colour error means use a token, a class error means
use a kit class, two primaries means decide which action matters.
python SKILL/scripts/qa.py <out> --sweep
If python cannot import Playwright, use a Python that has it (on Windows py -0 lists the installed versions, then for example py -3.11).
It opens every page in every state at 1440 and 390 px, then narrows each page from 1440 to 360 px. It fails JS
errors, sideways scrolling, broken images, missing icons, low contrast and header items that overlap; it warns on
cut text, small tap targets, wrapped labels, uneven rows and hover that moves the layout. It must print
QA PASSED. Then open the screenshots in <out>/qa/ (the 390 px shot and one desktop shot of each page at
least) and answer the five questions in references/rules.md. Fix and rerun; at most three rounds, then report
what is left.
In the language the user wrote in:
<out>/screens.html is the same list as a page; open the file or run python -m http.server in <out>)ui: events, nothing is saved; where to change the brand (kit/tokens.css through scripts/theme.py)references/screens.md: the brief, which recipe for which screen, the states every screen draws, hand-off notesreferences/components.md: every kit component with its markupreferences/charts.md: which chart for which data, what an overview must have, one date range for the page with comparison, grainsreferences/rules.md: what makes a screen look machine-made and the rule against each, twelve principles with tests, five questions for screenshots, how to add a rulereferences/copy.md: labels, messages, numbers and dates, sample datareferences/sources.md: the real screens (Mobbin) behind every kit choice and every recipereferences/flat-style.md: the look of generated sites and the flat colour, shadow and gradient rules the kit follows (shared by all skills)references/credits.md: sources of the kit, the MIT notice of the ui-ux skill whose ideas are adapted, Lucide iconsgallery/index.html: every component in its states, built from the kitkit/tokens.css is written by scripts/theme.py (edit the template there), kit/icons.js by
scripts/make_icons.py from data/icons.json. After any change to the kit, a recipe or the gallery:
python scripts/lint_ui.py recipes
python scripts/lint_ui.py gallery
python scripts/qa.py recipes --sweep
and look at the screenshots. A recipe starts with <!doctype html> and the one-line comment
<!-- recipe: <name> | <what it is> | states: <list> | use for: <when> --> that new.py --list reads.
A new component goes in app.css, references/components.md and the gallery together. The kit stays flat: python tools/check_flat_css.py in the plugin repository checks kit/ against references/flat-style.md.
kit/proto-nav.js is a template: keep its /*__DATA__*/ null marker, its own CSS (it also runs on pages
without the kit) and its first-visit hint switched off under navigator.webdriver, so QA screenshots stay clean. New rules follow
"Adding a rule" in references/rules.md.
README.md (opens in a new tab)data/icons.json (opens in a new tab)gallery/index.html (opens in a new tab)kit/app.css (opens in a new tab)kit/app.js (opens in a new tab)kit/icons.js (opens in a new tab)kit/img/google.svg (opens in a new tab)kit/proto-nav.js (opens in a new tab)kit/tokens.css (opens in a new tab)recipes/auth.html (opens in a new tab)recipes/dashboard.html (opens in a new tab)recipes/detail.html (opens in a new tab)recipes/error.html (opens in a new tab)recipes/img/shop-boutique.jpg (opens in a new tab)recipes/img/shop-premium.jpg (opens in a new tab)recipes/img/shop-retail.jpg (opens in a new tab)recipes/list.html (opens in a new tab)recipes/progress.html (opens in a new tab)recipes/review.html (opens in a new tab)recipes/settings.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub duchuyn04/web-skills --plugin web-skills4 skills in this plugin
/bpo-landing-builderBuild a production-quality landing page, or a whole website with inner pages, for a BPO, outsourcing, contact center, offshore staffing, AI data annotation or outbound sales company. The page is assembled by a script from pre-built, pre-animated sections, so layout and quality do not depend on the model. Use when the user asks for a BPO or outsourcing website, landing page, homepage or giao dien outsourcing, or wants to turn a company brief into such a page./ecommerce-builderBuild a complete online shop for consumer electronics (phones, laptops, tablets, watches, audio, TVs, appliances, accessories) with storefront, cart, checkout, order tracking, customer account and an admin dashboard (orders, products, inventory, customers, promotions, reports). The site is generated by a script from one shop.json, so layout and behaviour do not depend on the model. Use when the user asks for an e-commerce site, online store, web bán hàng, shop điện thoại, cửa hàng điện máy, trang thương mại điện tử or a store admin dashboard. Made for electronics catalogues (variants such as storage and colour, specs, installment); for an app's own admin screens use app-ui./nail-salon-builderBuild a complete website for a nail salon, nail bar or nail art studio (tiệm nail, tiệm làm móng, nail spa) with services and prices, nail look gallery, online booking with technician and time slots, booking lookup and cancel, branches, offers, and an admin for the salon (day calendar by technician, appointment list, customers, services and prices, technicians, reports). The site is generated by a script from one salon.json, so layout and behaviour do not depend on the model. Use when the user asks for a nail salon website, web tiệm nail, trang đặt lịch làm nail, website nail spa or a salon booking admin. For hair salons, spas or clinics it is not a fit (the menu, art levels and nail gallery are nail-specific).