ui-design
UI design
Operational boundaries
Keep the scope, sandbox, credentials and approval settings supplied by the user or host. Obtain authorization before delegating, exposing project files to another provider, enabling connectors or hooks, using paid services or deploying. Use synthetic or redacted inputs for examples. Keep security reviews static and defensive, with findings and fixes grounded in source inspection.
When to Use
Mandatory for any product's screens, a builder's too, and any mock, prototype or artifact that shows them: its design system, colour, type, components; judging the look.
Load this skill for the whole of a product's look. It holds the rules, which outside skill leads when, and how to judge the result. Reading only part of the method leaves already documented mistakes open to repetition.
What binds, in order
- Keep taste and changes to written rules with the owner. Apply the
agent-instructionsskill to record choices and their precedence. Put each visual question to them as specimens built in the product's real tokens, side by side, never described in words.references/review.mdsays how to sort a fix from an owner's call. - Apply the method to every kit and every screen. Read
references/method.md. A mock, prototype or artifact of a screen is high fidelity too: read the method; where the product has a kit, load its CSS and compose it rather than imitate it (a new product's artifact keeps its values in tokens, and the design stage builds the kit); and check a screenshot against the method before the owner sees it. A product departs from a rule only by the owner's decision, recorded in its kit README with the reason. - Keep the product's kit in three files and compose every screen from it. Put them wherever the product keeps design, often a
design/folder:tokens.css, every raw value (colour, type, space, radius, duration);kit.css, the primitives, built from tokens only; and the kit README, the product's own design document: its direction, palette, type, layout and button roles, each with its reason, and every departure from the method. With no provided design system, start the kit at the design stage, before the first app screen (an artifact before it keeps its values in tokens); maintain it and extend its primitives for each later need so buttons, fields and dialogs remain one set. Screens compose the kit; a screen never invents a style. - Take collection suggestions only through the kit's tokens or primitives. Record them in the kit README; read
references/collections.md. Where a collection disagrees with the method, the method wins.