audit_ux_compliance
Audits React/Tailwind UI code or prompt specs against UX heuristics, accessibility standards, and design-system rules to identify compliance gaps and fix issues.
Instructions
Audits UI code or prompt specs against AI-slop prevention matrix, competing primary CTAs, TSOD levers, Design System 13-state matrix, Laws of UX, Apple HIG, Hook Model habit loops, IxDF principles, hardcoded hex colors, and icon accessibility.
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": {
"codeOrPrompt": "<codeOrPrompt>"
},
"name": "audit_ux_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codeOrPrompt | Yes | React/Tailwind snippet or prompt specification to audit | |
| componentType | No | Optional component category e.g. 'modal', 'card', 'form' |