critique_ui
Deterministic critique for APPLICATION UI (dashboards, admin panels, SaaS views): runs the app-UI slop rulebook against React/JSX/HTML source (radius chaos, card-in-card, gray-on-gray text, raw palette classes, missing empty/loading/error states, clickable divs, killed focus rings) and, when a Standout app theme is installed, a theme-conformance pass (foreign colors, missing semantic token classes). Returns a 0-100 UI score with a ship verdict and a prioritized fix list. Use after building every view; re-run until the score clears 85. For marketing/landing PAGES use critique_design instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "critique_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | What this view is, e.g. 'invoices table', for context | |
| theme | No | Installed app theme id (e.g. graphite-ledger) to also check token-law conformance | |
| source | Yes | The component or screen source to critique (React/JSX/TSX/HTML/CSS) |